ctkMenubutton - Enhanced version of Tk::Menubutton for project clickTk.
use ctkMenubutton;
$widget = $parent->ctkMenubutton(<args for Menubutton>, -activeOnState => <programstate>);
This class expands Tk::Menubutton with the ability to define an arguments that
controls its state. The value of this argument controls the state of the mennuitem itself.
This arguments is saved in the Menu structure and is checked by ctkMenu::updateMenu, which
usually get called when the mainloop is idle.
| Back to index |