[wxPython] How to add a menu item?

How can I add a menu item to the menu bar?
I don't want to add a menu but only a menu item (like the '?' for help)
which is direct clickable and don't open a pulldown menu.

This isn't supported in wxWindows. Not sure why...

···

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

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

Hi,

Robin Dunn wrote:

> How can I add a menu item to the menu bar?
> I don't want to add a menu but only a menu item (like the '?' for
> help) which is direct clickable and don't open a pulldown menu.

This isn't supported in wxWindows. Not sure why...

Maybe Motif and/or GTK doesn't support it? Anyway, it is a canonical
example of Bad UI Design(tm) (a user clicks on "Format disk" entry
just to see what is in the pulldown menu and oops, no menu, it
formats his disk instead :).

bye,
Vaclav

···

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users