I can't seem to bind key press events to the canvas widget.I used the wish shell for the simplest possible test and wrote the following code from the console.
(bin) 2 % canvas .can -bg black
.can
(bin) 3 % pack .can
(bin) 4 % bind .can <Button-1> {tk_messageBox -message "%W got button press"}...
Hey all,
I'm new to the forum but not new to tcl though I've been away from it for some years. I'm writing a control application that needs to send data to a remote embedded device and using the tkTable widget for the first time as an interface.
I started with a variation of the buttons.tcl...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.