swe9 has asked for the wisdom of the Perl Monks concerning the following question:
I have a global mode for my program that may be on or off. I would like to manage and indicate the state from the top level of the (Tk 8.0 style) menubar. I tried putting a checkbutton into the menubar and it sets its variable appropriately. However, it does *not* show its state :-(
For the moment, I've used a cascade that then includes a checkbutton to show the state. Perhaps a checkbutton in the menubar is inelegant, but this seems even worse...
Is there a better or "right" way to handle a global state indicator like this? I would be happy enough if the menubar allowed the checkbox to show up to indicate the state.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Menubar checkbutton to show state?
by stefbv (Priest) on Aug 19, 2010 at 06:35 UTC | |
|
Re: Menubar checkbutton to show state?
by zentara (Cardinal) on Aug 19, 2010 at 13:14 UTC | |
by swe9 (Initiate) on Aug 19, 2010 at 19:58 UTC |