On Dec 5, 2007 8:52 AM, Sreenivas Chowdary <[EMAIL PROTECTED]> wrote: > Hi Denis, > > I am relatively new to Gtk and DirectFb. > Can you give any idea how to implement raw events for > child GdkWindow. >
Listen to the top level window. You can get the currently focused gdk child but note I think you actually want the gtk widget which is different. In any case you can get the events off the top level and easily track the gtk/gdk widget that currently has focus. Your approach would not even work under X11 for gtk widgets that are not backed by a gdk widget. > Thanks, > Sreenivas > > > On Dec 5, 2007 9:07 PM, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: > > Christopher Johnson wrote: > > > Unless I am grossly mistaken, any other behavior will create a serious > > > incompatibility between GTK+ backends. I am currently struggling with > > > code that isn't getting events it expects (DirectFB 1.0.0 and GTK+ > > > 2.10.13). Sounds like maybe Mike's explanation might cover my problems > > > and incompatibilities with GTK/X. > > > > If you're not interested in raw X11 events, but only GdkEvents, your code > > should work with GDKDirectFB, otherwise it's a bug and needs to be fixed. > > > > > > -- > > Best regards, > > Denis Oliver Kropp > > > > .------------------------------------------. > > | DirectFB - Hardware accelerated graphics | > > | http://www.directfb.org/ | > > "------------------------------------------" > > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
