Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend
- From: "Mike Emmel" <mike emmel gmail com>
- To: "Sreenivas Chowdary" <sreenivas pachva gmail com>
- Cc: gtk-devel-list gnome org, Christopher Johnson <cjohnson cswl com>, directfb-users directfb org, Denis Oliver Kropp <dok directfb org>, directfb-dev directfb org
- Subject: Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend
- Date: Wed, 5 Dec 2007 09:04:10 -0800
On Dec 5, 2007 8:52 AM, Sreenivas Chowdary <sreenivas pachva gmail com> 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 <dok directfb org> 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/ |
> > "------------------------------------------"
> >
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]