Hi Mike, I could not find any function to get focussed child gdkwindow. How to get currently focused gdk child. I created a Gdk Window using GDK_WINDOW_CHILD attribute. I gone through functionality of gdk_directfb_window_new(). For child GdkWindow, there is no Event Buffer creation. When gdk_event_translate() fnction called it could not call apply_filters() function because child GdkWindow did not have IdirectFbWindow.
I can able to listen Events on Top level GdkWindow but how to track to child gdkwindow inorder to invoke child gdkwindow event call back handlers? Please suggest.... Thanks & Regards Sreenivas On Dec 5, 2007 10:34 PM, Mike Emmel <[EMAIL PROTECTED]> wrote: > 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 directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev