From: John L. <jla...@gm...> - 2013-10-23 04:11:38
|
On Tue, Oct 22, 2013 at 1:29 AM, Victor Bombi <so...@te...> wrote: > ** > Sorry, I dont understand!! :-( > Could you please explain it with code? > > Sorry I don't have time now, but I would try something like this: -- untested code notebook:AddPage(page1, "page1") notebook:AddPage(page2, "page2") notebook:AddPage(page3, "page3") notebook:Split(0, wx.wxRIGHT) -- now split in two, with one tab in left pane and two tabs in right pane notebook:Split(1, wx.wxBOTTOM) -- now split in 3, one tab on left pane and right has two panes, top and bottom notebook:InsertPage(0, page4, "page4") -- now have two tabs in left pane notebook:Split(0, wx.wxBOTTOM) -- now the left tabs are split vertically giving four panes with one tab in each pane. ------------- You might have to experiment with wxTOP vs. wxBOTTOM etc. Again, totally untested, but I played a little with the aui sample and got pretty close yesterday. John. |