Boa MultiSplitterWindows

Help
deejay
2009-07-03
2013-05-01
  • deejay

    deejay - 2009-07-03

    Have no problem with normalSplitter but need to se an example of the MultiSplitterWindows.
    Can anyone help please?
    deejay

     
    • Werner F. Bruhin

      Hi Deejay,

      I believe that with the multisplitter you need to add some code after having created the widgets.

      I created the multisplitter and then dropped three panel containers onto splitter (i.e. made them children of the splitter) and then added the following manually after saving the designer changes:
      import wx.lib.splitter # the companion for multisplitter is not writing this line

              self._init_ctrls(parent) # after this call add the following
              self.multiSplitterWindow1.AppendWindow(self.panel1, 60)
              self.multiSplitterWindow1.AppendWindow(self.panel2, 60)
              self.multiSplitterWindow1.AppendWindow(self.panel3, 60)
             
              self.multiSplitterWindow1.SetOrientation(wx.VERTICAL)
              self.multiSplitterWindow1.SizeWindows()

      Hope this helps
      Werner

       
      • deejay

        deejay - 2009-07-04

        Hi Werner,
        TYVM for prompt reply. Will give your solution a go over the week-end.
        deejay

         

Log in to post a comment.