in reply to Re: Tk bind mouse down question
in thread Tk bind mouse down question
my $root = "BLAHBLAHBLAH"; $can->CanvasBind( '<Button>', [ \&my_test, $root ] ); MainLoop; ... sub my_test { shift; # don't know why I have to do this, but ... my $msg = shift; print "[$msg]\n"; }
| Plankton: 1% Evil, 99% Hot Gas. |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Tk bind mouse down question
by graff (Chancellor) on Jun 02, 2004 at 01:58 UTC |