Re: GDK key Code

From: Date: Thu, 03 May 2001 03:11:20 +0000
Subject: Re: GDK key Code
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1606@lists.php.net to get a copy of this message
At 09:05 PM 5/2/01 -0600, Geoff A. Virgo wrote:
Ok, one more quick question regarding keystrokes. To catch a button_press_event you would use:
        if ($event->button == x)
where x is the button you're interested in. What is the equivalent syntax for catching key_press_event?
$event->keyval -Andrei

« previous php.gtk (#1606) next »