Re: key-release-event not detected



Already been there, done that. The handler never gets called. :-(

Cheers,
Loban

On Sat, 2003-06-14 at 11:30, Ian Bell wrote:
On Saturday 14 Jun 2003 7:39 pm, Loban A Rahman wrote:
I already did. I have the following call, but it does nothing:

gtk_widget_add_events(GTK_WIDGET(applet), GDK_KEY_RELEASE_MASK);

Any other ideas? :-)

Cheers,
Loban

Try connecting a handler to the key release event, and in it gprint some text.  
Run the app from a terminal and press keys to see if callback is invoked.

Ian

/-------------------------------------------------------------------\
|   Loban Amaan Rahman  <-- anagram of -->  Aha! An Abnormal Man!   |
| loban earthling net, loban caltech edu,  http://loban.caltech.edu |
\-------------------------------------------------------------------/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]