|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^2: optionmenu configure problem in perl tkby kcott (Archbishop) |
| on Nov 08, 2010 at 13:21 UTC ( [id://870105]=note: print w/replies, xml ) | Need Help?? |
|
Tk::Optionmenu is derived from Tk::Menubutton and probably has support for configuring most, if not all, of its options. The documentation is somewhat brief and possibly ambiguous in terms of making a clear distinction between options of the widget (e.g. $w->configure($option => $val); and options of the menu (e.g. $w->addOptions([@new_options]);). Try this example code:
-- Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||