Re: [gtk-list] Re: plugsocket



> > On a different note, how can I capture key press events over a drawing
> > area. I tried using:
> 
> [...]
> 
> > but the events do not seem to happen when keys are pressed. Am I missing
> > something?
> 
> As others have pointed out, you need gtk_widget_set_events().

Sorry for forgeting to mention it but I have used
gtk_widget_set_events() and it doesn't seem to work. Is there anything
else that might cause the problem?

--------------------------------------
http://www-students.doc.ic.ac.uk/~gz4/
--------------------------------------



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