When the main window of some applications becomes too small to show
the full toolbar, a small arrow or menu button appears on the toolbar.
When the user clicks this they are shown a dropdown list of tools
which have been bumped off the end of the toolbar. MS Office does
this, as does Firefox and other programs. Is there a way to do this
in wx?
Thanks,
Isaac
Hi Isaac,
When the main window of some applications becomes too small to show
the full toolbar, a small arrow or menu button appears on the toolbar.
When the user clicks this they are shown a dropdown list of tools
which have been bumped off the end of the toolbar. MS Office does
this, as does Firefox and other programs. Is there a way to do this
in wx?
There is, but not directly using wx.Menu and wx.ToolBar. Robin
answered few days ago about this issue, that wxWidgets API does not
support it yet.
However, there is a owner-drawn menu-toolbar implementation on my web site:
http://xoomer.alice.it/infinity77/eng/freeware.html#flatmenu
That handles this situation nicely (in my opinion). It is not a
standard wx control (it is not in the official wxPython distribution),
it is very Windows-style so it may not agree with Linux/Mac themes.
But it's worth a try. I develop only on Windows, and I almost always
use it, as the look and feel of FlatMenu is more modern (always in my
eyes) that the default one.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
ยทยทยท
On 2/9/07, Isaac Wagner wrote: