Handling events for the root window



I am writing a window manager using gtk+ 2.0.

I am packaging the GDK_ROOT_WINDOW as a GdkRoot widget and setting the 
widget window as GDK_ROOT_WINDOW. However, I am unable to receive any
events although I have set the event mask explicitly using
gtk_widget_set_events().

I am using the example given in the tutorial for creating custom made
widgets. So, since the entire object-class code compiles, I am guessing, it is working ok.

Any suggestions or pointers.

Thanks.

-Ram



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]