Hi,
is it possible to enable/disable a menubutton?
My code is like this:
menuBar = Pmw.MenuBar(roo t, hull_relief = 'ridge', hull_borderwidt h = 1)
menuBar.pack(si de=TOP, fill = 'x')
menuBar.addmenu ('Help', 'help')
menuBar.addmenu item('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(roo t, hull_relief = 'ridge', hull_borderwidt h = 1)
menuBar.pack(si de=TOP, fill = 'x')
menuBar.addmenu ('Help', 'help')
menuBar.addmenu item('Help', 'command', 'Help About', command =
self.About, label = 'About', state=DISABLED)
now my menubutton is disabled.
Anyone knows how to enable it?
Thanks,
Markus
Comment