Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-12 Thread Sreenivas Chowdary
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 B

Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-06 Thread Mike Emmel
On Dec 6, 2007 12:19 PM, Christopher Johnson <[EMAIL PROTECTED]> wrote: > Mike, even your flames are welcome. I know Mike personally and have > worked with him in the past, and have nothing but the highest respect. > So here's my semi-flame in return. > > I've been working with GTK+ and DirectFB f

Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-06 Thread Denis Oliver Kropp
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 c

Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Mike Emmel
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 gd

Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Mike Emmel
Semi Flame coming :) Gtk is not a cross platform widget library. Its been ported to some extent. The use of native windows for widgets for example is a design flaw. It also exposes a lot of concepts that make assumptions about the underlying system the ability to embed a widget from one process in

Re: [directfb-dev] [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Sreenivas Chowdary
Hi Denis, I am relatively new to Gtk and DirectFb. Can you give any idea how to implement raw events for child GdkWindow. Thanks, Sreenivas On Dec 5, 2007 9:07 PM, Denis Oliver Kropp <[EMAIL PROTECTED]> wrote: > Christopher Johnson wrote: > > Unless I am grossly mistake

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Denis Oliver Kropp
Mike Emmel wrote: > Problem solved the child gdk windows are not directfb windows and will > never get directfb events. > Only top levels. > > Not a bug. Shouldn't GdkDirectFB dispatch a GdkEvent to the child? Why not pass the originating DFBWindowEvent (reveived at top level) to the filters? --

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Denis Oliver Kropp
Sreenivas Chowdary wrote: > Yeah Even i am getting events on GtkWidget in half way like > expose-event, keypress-event and key-release event and remaining > events like button-press-event , button-release-event etc.. or not > getting. Either it has always been broken or something changed in Gdk or

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Denis Oliver Kropp
Sreenivas Chowdary wrote: > Hi Attilioa, > > As the sample program mentioned below I am creating a GdkWindow. > While porting Gtk for DirectFb, Is gdk_window_new() and > gdk_window_add_filter() are not proted to support DirectFb? > > The problem of Events not working on GdkWindow, is this issue

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-05 Thread Mike Emmel
Problem solved the child gdk windows are not directfb windows and will never get directfb events. Only top levels. Not a bug. On Dec 4, 2007 10:15 PM, Sreenivas Chowdary <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Below is the code snippet which i am trying. > In this code i am not getting events

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-04 Thread Sreenivas Chowdary
Hi Mike, Below is the code snippet which i am trying. In this code i am not getting events on child GdkWindow. #include #include #include GdkFilterReturn child_handle_event( void *event1, GdkEvent *event2, gpointer userdata ) { printf("child_handle_event\n"); DFBWindowEvent *

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-04 Thread Mike Emmel
Child windows are virtual DirectFB right now only supports top level windows as real DFB windows. Can you send the code snippet your using to create the child. I'd check to see if the window actually got focus. This looks like a focus problem to me. On Dec 4, 2007 6:23 AM, Sreenivas Chowdary <[E

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-12-04 Thread Sreenivas Chowdary
Hi Denis, Thank you for the patch which u sent. With this patch i can able to get events on GdkWindow which was created as GDK_WINDOW_TOPLEVEL. If i create a GdkWindow with GDK_WINDOW_CHILD then events are not coming. Do you have any idea about this? Thanks & Regards Sreenivas On Dec 3, 2007 11:

Re: [directfb-users] Problems in GdkWindow Events with Gtk - DirectFb backend

2007-11-28 Thread Sreenivas Chowdary
Yeah Even i am getting events on GtkWidget in half way like expose-event, keypress-event and key-release event and remaining events like button-press-event , button-release-event etc.. or not getting. How can we get all events on GtkWidget or GdkWindow with DirectFb backend? Thanks & Regards Sree