[wxPython] Re: Splitter and Boa Constructor

Hi Jeff,

Jeff Kunce wrote:

Can anyone tell me the steps I need to follow in BoaConstructor
to set up a SplitterWindow? I'd like to end up with something like:

        splitter1 = wxSplitterWindow(self, ...)
        panel1 = wxPanel(splitter1, ...)
        panel2 = wxPanel(splitter2, ...)
        splitter1.SplitHorizontally(panel1, panel2)
        splitter1.SetSashPosition(180, true)
        splitter1.SetMinimumPaneSize(90)

Thanks

  --Jeff

Boa can do half the work for you. I've attached an example.

At the moment Boa still cannot set methods which need more than one
parameter at design-time. To Boa these aren't properties.

I intend to split up these methods into virtual properties,
e.g. splitter1.SplitHorizontally(panel1, panel2)

would be the following properties:
Window1: panel1
Window2: panel2
SplitMode: wxSPLIT_HORIZONTAL

FrameSplit.py (1.47 KB)

···

--
Riaan >>> a='a=%s;a%%`a`';a%`a`
___________________________________________________
Boa Constructor - RAD GUI building IDE for wxPython
     http://boa-constructor.sourceforge.net