go ahead... be a heretic | |
PerlMonks |
Re: Tcl/Tk mouse eventsby vkon (Curate) |
on Mar 06, 2016 at 17:41 UTC ( [id://1156937]=note: print w/replies, xml ) | Need Help?? |
actually most "mouse events" are better done on pure-tcl level, only calling your perl calback when necessary - this is my approach.
but - yes, your approach is also possible, you only must give to tcl/tk an idea that you're waiting for '%x,%y' or '%X,%Y' event variables. you will have much quicker responces if you'll ask this question to devoted mailing list - tcltk at perl dot org. regards,
In Section
Seekers of Perl Wisdom
|
|