in reply to Tk vs Tkx for -validatecommand
Tk and Tkx are different, and the callbacks need to be set up differently. I don't have Tkx running on my Linux box, but from looking at the Tkx documentation for callbacks to Perl it shows this syntax for a validate command.
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
$entry->configure(-validatecommand => [ \&check, Tkx::Ev('%P'), $entry, ]);
I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Tk vs Tkx for -validatecommand
by shortyfw06 (Beadle) on Sep 19, 2012 at 17:32 UTC | |
by Anonymous Monk on Sep 19, 2012 at 18:42 UTC | |
by shortyfw06 (Beadle) on Sep 19, 2012 at 19:40 UTC | |
by Anonymous Monk on Sep 19, 2012 at 20:00 UTC | |
by shortyfw06 (Beadle) on Sep 20, 2012 at 18:50 UTC | |
|
In Section
Seekers of Perl Wisdom