Re: GTK drawing area cannot get keyboard events

2007-09-09 Thread Tom Trebisky
> g_signal_connect ( da, "focus_event", I change this to a pair of connects to "focus_in_event" and "focus_out_event" and Voila! I am getting keyboard events (not focus events mind you, but I am OK with not getting those at this point). My previous high level questions about

Re: GTK drawing area cannot get keyboard events

2007-09-09 Thread Tom Trebisky
> On Sat, Sep 08, 2007 at 02:21:11PM -0700, Tom Trebisky wrote: >> I have spent a couple of half-days trying to get keyboard events from a >> GTK drawing area with no luck, >> gtk_widget_add_events ( GTK_WIDGET(da), GDK_FOCUS_CHANGE ); On Sat, Sep 08, 2007 at 11:51:38PM +0200, David Ne?as (

Re: GTK drawing area cannot get keyboard events

2007-09-08 Thread Yeti
On Sat, Sep 08, 2007 at 02:21:11PM -0700, Tom Trebisky wrote: > I have spent a couple of half-days trying to get keyboard events from a > GTK drawing area with no luck, I suppose you have read thread http://mail.gnome.org/archives/gtk-list/2007-September/msg00015.html > I am getting mouse even

GTK drawing area cannot get keyboard events

2007-09-08 Thread Tom Trebisky
Hello, I have spent a couple of half-days trying to get keyboard events from a GTK drawing area with no luck, so I figure it is time to ask the experts here. My application has a very simple widget hierarchy, a main window holds a vbox which holds a drawing area. The vbox is there because someda