M
Markus von Ehr
Hi,
is it possible to enable/disable a menubutton?
My code is like this:
menuBar = Pmw.MenuBar(root, hull_relief = 'ridge', hull_borderwidth = 1)
menuBar.pack(side=TOP, fill = 'x')
menuBar.addmenu('Help', 'help')
menuBar.addmenuitem('Help', 'command', 'Help About', command =
self.About, label = 'About', state=DISABLED)
now my menubutton is disabled.
Anyone knows how to enable it?
Thanks,
Markus
is it possible to enable/disable a menubutton?
My code is like this:
menuBar = Pmw.MenuBar(root, hull_relief = 'ridge', hull_borderwidth = 1)
menuBar.pack(side=TOP, fill = 'x')
menuBar.addmenu('Help', 'help')
menuBar.addmenuitem('Help', 'command', 'Help About', command =
self.About, label = 'About', state=DISABLED)
now my menubutton is disabled.
Anyone knows how to enable it?
Thanks,
Markus