I had a little problem when trying to implement the FlatMenu module in
an own application. Apparently, the problem appears when I try to
connect an event (using Bind) to a RadioItem. None of the events
(EVT_FLAT_MENU_SELECTED, EVT_FLAT_MENU_ITEM_MOUSE_OUT,
EVT_FLAT_MENU_ITEM_MOUSE_OVER) turns out to be binded and it seems to
be a problem only for the items added to the flatmenu thru the method
AddRadioTool. Is that possible?
Below, an illustrative example of the problem that I'm facing. The
"OnToggle" method apparently is not called and it didn't print
anything.
I had a little problem when trying to implement the FlatMenu module in
an own application. Apparently, the problem appears when I try to
connect an event (using Bind) to a RadioItem. None of the events
(EVT_FLAT_MENU_SELECTED, EVT_FLAT_MENU_ITEM_MOUSE_OUT,
EVT_FLAT_MENU_ITEM_MOUSE_OVER) turns out to be binded and it seems to
be a problem only for the items added to the flatmenu thru the method
AddRadioTool. Is that possible?
Below, an illustrative example of the problem that I'm facing. The
"OnToggle" method apparently is not called and it didn't print
anything.
Thanks beforehand for any suggestion somebody can give me.
You should tell us your platform, wxPython version and whether you are
using FlatMenu from AGW SVN or the standard one shipped with wxPython.
Secondly, do radio tools work in the FlatMenu demo? Thirdly, it would
be extremely helpful if you posted a small, self-contained runnable
sample app as per these directions: