Do you know how to to do to bind two keys to the same event? So that I forexample have to press Crtl+A for the event to happen. I also wonder if you know were to find a complete list of keysyms. Thank you for any help.#!/usr/bin/perl use warnings; use strict; use Tk; my $mw = Tk::MainWindow->new( -title => "TEST"); $mw->bind( '<KeyPress-a>', [sub {print "Button a has been pressed\n"}] + ); $mw->bind( '<KeyRelease-a>', [sub {print "Button a has been released\n +"}] ); MainLoop;
In reply to Tk: Binding Keys to events by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |