in reply to Perl Tk entry widget
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Tk entry widget
by Mj1234 (Sexton) on Feb 25, 2016 at 09:09 UTC | |
by beech (Parson) on Feb 25, 2016 at 23:32 UTC | |
by kcott (Archbishop) on Feb 26, 2016 at 04:17 UTC |