"greyed"/disabled menu item

Hello wxPython users,

Something missing from the Menu.py demo code:
How do you define, in wxPython, a greyed/disabled menu item?

thanks!

···

--
Philippe Strauss
av. de Beaulieu 25
1004 Lausanne
http://www.maitre-toilier.ch/

menu.Enable(id, False)
or
    menuitem.Enable(False)

Should work for you, as per the documentation.

- Josiah

···

Philippe Strauss <philou@philou.ch> wrote:

Hello wxPython users,

Something missing from the Menu.py demo code:
How do you define, in wxPython, a greyed/disabled menu item?

thanks!