[wxPython-users] Hide/Show wxMenu items...

Werner F. Bruhin werner.bruhin at free.fr
Mon Feb 12 02:53:19 PST 2007


Hi Stefan,

Stefan Holmgren wrote:
> Hi...
> Is there a simple way to hide/show menu items like using 
> enable(True/False)....
>   
wxMenu::Enable
void Enable(int id, const bool enable)
Enables or disables (greys out) a menu item.
> .. or do I have to use "Remove" and then "Insert" when I want them to be 
> visible again?
>   
Removing/hiding and inserting is in my view confusing to the user.

Werner




More information about the wxpython-users mailing list