Re: GdkEvent & MapRequest




r.salmaso@flashnet.it (Salmaso Raffaele) writes:

> Hi,
> someone knows how to detect the MapRequest event?
> I can find nothing...

Since MapRequest (not MapNotify) is not a common thing to use in
programs (other than window managers), it is not translated into a GDK
event. You can, however, if you don't mind going to the Xlib level,
install an event filter to detect this.

There's an example of this in libgnomeui/gtk-socket.c in the
gnome-libs package. (the Socket widget is sort of a mini-WM).

(In fact, perhaps GtkSocket is useable for your purposes?)

Regards,
                                        Owen



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