Syntactic Confectionery Delight | |
PerlMonks |
Re: Perl Tk entry widgetby kcott (Archbishop) |
on Feb 24, 2016 at 07:22 UTC ( [id://1155984]=note: print w/replies, xml ) | Need Help?? |
G'day Mj1234, "Is there any option similar to command option for buttons which can be used if an entry is done to entry widget?" Tk::Entry's -validatecommand option seems closest to what you want: it can specify a callback to use when the Tk::Entry widget receives input. In that same documentation, also see the -validate and -invalidcommand options; the validate() method; and the VALIDATION section. — Ken
In Section
Seekers of Perl Wisdom
|
|