Re: key_press_event for drawing area.

2005-07-04 Thread Carsten Burstedde
> Yes, but it's more complicated than you think :-( > > You need to arrange for your drawing area to be "focusable", and it > has to be able to indicate to the user that it has the keyboard focus. > You need to subclass drawingarea and implement > size_request/size_allocate (allow space for the fo

Re: key_press_event for drawing area.

2005-07-04 Thread John Cupitt
On 7/4/05, Deekshit M <[EMAIL PROTECTED]> wrote: >Is it possible to attach key_press_event for > drawing_rea. That is the key pressed when the > drawing_area has the focus. Yes, but it's more complicated than you think :-( You need to arrange for your drawing area to be "focusable", and it ha

key_press_event for drawing area.

2005-07-04 Thread Deekshit M
Hi all, Is it possible to attach key_press_event for drawing_rea. That is the key pressed when the drawing_area has the focus. I am asking the same question in this URL http://mail.gnome.org/archives/gtk-app-devel-list/2001-July/msg00180.html Thanks Deekshit M __