On Wed, 2001-12-12 at 00:53, Norman Black wrote:
> > >does anyone know how to make an drawing area to recieve the key events?
> > 
> > gtk_widget_set_events(area, GDK_KEY_PRESS_MASK|GDK_KEY_RELEASE_MASK)
> 
> You also need to make sure it has the GTK_CAN_FOCUS flags.

i tried this but it didn't work, the parent widget is the one that gets
the keyboard inputs.

Nuno Afonso

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to