#!/usr/bin/perl use Tk; $mw = MainWindow->new; $mw->bind("<Key>", [ sub { print "Key Press: $_[1] \n" } , Ev('K') ] + ); $mw->bind("<KeyRelease>", [ sub { print "Key Release: $_[1] \n" } , Ev +('K') ] ); MainLoop;
In reply to Re: TK:Message box
by zentara
in thread TK:Message box
by jonam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |