The key press events are handled by default I believe. I eventually get to
this point:
windows.c:
if (!core_window_filter( window, event ))
dfb_window_dispatch( window, event, dfb_window_globals );
Is this the point where the keypress would be dispatched and sent up? I
cannot find the definition of this function dfb_window_dispatch. And when
debugging, execution gets to this line and basically just steps past.
Where does this function come from?
On Wed, Mar 11, 2009 at 1:33 PM, Sven Neumann <[email protected]> wrote:
> Hi,
>
> On Wed, 2009-03-11 at 13:10 -0700, Ed Camacho wrote:
>
> > I created a very simple hello world with 1 button on it, and then
> > attached a callback to the window for any key press event:
> > g_signal_connect (G_OBJECT(window), "key-press-event",
> > G_CALLBACK(keypressCallback), NULL);
> >
> > The callback is never called.
>
> I don't think key press events are in the default event mask for GTK+
> windows. So it's not surprising that this test fails. But I really
> suggest that you insert some debug output in gdkkeys-directfb.c. That
> should answer your questions quickly.
>
>
> Sven
>
>
>
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users