[wxPython-users] Splitting a splitter

Robin Dunn robin at alldunn.com
Mon Sep 18 11:21:27 PDT 2006


Donn Ingle wrote:
> Hi all, I have looked on the wiki and have done my best to figure this out,
> but I can't get it right and I am running out of fistfuls of hair :)
> 
> I want to have a splitter inside a splitter - I need an app split into there
> vertical panels that can resize.
> 
> So, I have been working along this line (see below), can you help?

If you decide to not go with the MultiSplitterWindow Andrea mentioned 
you can still do it with a nested SplitterWindow, you just need to 
organize things a little differently.  The key is that one splitter 
needs to be the child of the other one, and is one side of that 
spltter's splt.  For example:

parent
    |
splitter
  |    \
  |     \
  |    splitter
  |      |    \
  |      |     \
panel  panel  panel


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list