[Tutor] Disable menubar

jfouhy@paradise.net.nz jfouhy at paradise.net.nz
Fri May 20 01:09:21 CEST 2005


Quoting Alberto Troiano <albertito_g at hotmail.com>:

> About disabling the button it would be nice to know if that can be done
> , although I made some work around and I managed to restrict the
> Toplevels.

You can disable buttons and menu items with the state option.  Setting
state=DISABLED will grey-out a Button or menu item. (you need to use the
entryconfig method of the menu)

You can reenable the object by setting state=NORMAL.

-- 
John.


More information about the Tutor mailing list