[wxPython-users] question/request re listbook stuff

Josiah Carlson jcarlson at uci.edu
Wed Jan 3 16:26:36 PST 2007


Richard Terry <rterry at internode.on.net> wrote:
> We now seem to have a plethora of "books" - great!.
> 
> One request - I'm in need of a another version essentially a 'hyperlink' 
> listbook - where instead of the space consuming icons on the side, one can 
> put straight text which responds to mouseover like a html control and then 
> when clicked switches the panels, same as clicking on the listbook icons 
> changes the panel.
> 
> Anyone else think this could be useful?

I already use such a thing with PyPE (pype.sf.net).  See
plugins/window_management.py and plugins/documents.py (DocumentPanel).

It isn't exactly what you are looking for, but it does show how one
can use sizers, obj1.Hide(), obj2.Show(), and obj1.GetParent().Layout()
to show and hide wxPython controls via mouse click.  That particular
piece of code handles the swapping of 4 different panels at the same
time.


 - Josiah





More information about the wxpython-users mailing list