[wxPython-users] Toolbook tabs go off the screen
Robin Dunn
robin at alldunn.com
Fri Nov 2 14:50:54 PDT 2007
Craig Douglas wrote:
> If the Toolbook contains more pages than it can display across the top
> no scroll bar appears like it would with the Listbook. Is there an
> option I'm missing or is the functionality simply not there?
It's not there. Toolbook uses a wx.ToolBar and so it can only do what
wx.Toolbar can do.
>
> If the latter is true, how could I go about implementing this? I was
> using a Listbook but I need a way of knowing which page is currently
> selected easily and the Toolbook does this excellently.
book.GetSelection() should work correctly for any of the book classes.
If not then it is a bug that needs to be filed at SourceForge.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list