wx.MenuButton?

Hello,

i searched a while but found nothing really usefull.
Is there an implementation of a widget which can be called wx.MenuButton?
This should implement the functionality like in a browsers back button. Short klick enables an event, long click opens a pulldown menu with alternative events.

I know there is one in
TK (http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_menubutton.htm),
QT (http://doc.trolltech.com/main-snapshot/qpushbutton.html#menu)
and a "homebrew" C++ Implementation (http://www.pnelsoncomposer.com/software/wxMenuToolBar/) for wxWidgets.

I'm correct that there is nothing similiar in wxPython? That would be pity :-/

Thanks a lot!
cu alex

Hello,

See my PlateButton control (wx.lib.platebtn (wxpython 2.8.8+)). It has an option for setting a dropdown menu associated with it. Its also in the wxpython demo so you can see it there.

cody

···

On Fri, Sep 19, 2008 at 12:54 PM, Alexander Fischer alexanderfischer@o2online.de wrote:

Hello,

i searched a while but found nothing really usefull.
Is there an implementation of a widget which can be called wx.MenuButton?

This should implement the functionality like in a browsers back button. Short klick enables an event, long click opens a pulldown menu with alternative events.

I know there is one in
TK (http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_menubutton.htm),

QT (http://doc.trolltech.com/main-snapshot/qpushbutton.html#menu)
and a “homebrew” C++ Implementation (http://www.pnelsoncomposer.com/software/wxMenuToolBar/) for wxWidgets.

I’m correct that there is nothing similiar in wxPython? That would be pity :-/

Thanks a lot!
cu alex


wxpython-users mailing list
wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users