> From: Paul Davis <[EMAIL PROTECTED]>
>
> >     I'm trying to connect to the key-press-event of a wigdet
> >derived from GtkDrawingArea. It has a window, and I'm using
> >gtk_widget_add_events() to add GDK_KEY_PRESS_MASK to
> >the GdkEventMask for the widget. Nonetheless, the signal
> >isn't being emitted (it's not even showing up in the
> >default function for the event signal in the derived
> >widget). What am I forgetting? I'm using gtk 1.3, if
> >that matters.
>
> did you set the CAN_FOCUS flag? otherwise, the widget will never
> receive keyboard focus (i think) ...
>

I was missing that, so thanks. However, I changed that,
and it still doesn't work. What else is missing?

Ron Steinke

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

Reply via email to