From: Kevin A. <al...@se...> - 2004-09-29 19:43:04
|
Yesterday I checked in a new model.py that contains a very experimental SplitterBackground subclass of Background along with a testSplitter sample as a proof-of-concept of a 3 pane IDE-like window that contains three separate panes (left, right-top, right-bottom). All the work is done in the on_initialize method and was more or less stolen from the wxPython demo Main.py file but it does show that backgrounds of other samples can be used as panes in splitters similar to how pages in a Notebook currently work by changing the superclass from Background to PageBackground. If you have been waiting for splitter support, I would appreciate some feedback on the types of windows or apps you were looking forward to creating to get a better idea of whether we should just support a default set of the most common pane configurations or allow unlimited nesting. If there are particular samples or tools that you think would benefit from the use of splitters as opposed to a single pane static or sizer layout, etc. please say so, as those might make good tests of features and expose problems with my simple wrapper. There are other issues with regards to where event handlers should be located for common functionality, how user code should go about determining which pane has focus, etc. I need to get some input from the list so that I know whether I should be spending much time on splitters before doing release 0.8.1 later this month. ka |