Subsribing to unknown events

Hash: SHA1

I asked a similar question some days ago to the gtk-list. No answer. In
the hope that I'l get an answer here, where people are a bit more in-deph
in th code, I resend it, a bit reformatted and reaimed, to fit this list a
bit better, to this list.

The question:

Is it possible for an application to be noticed about X-events for windows
that are not widgets?

 From what I can see, reading the source of the main-loop, all events
coming from a non-widget window, are sent to the selection-code. If it
finds it's not a dlete-property event, it discards it.

 Is this true? Is there a possibility to hook in somewhere, getting those

 I need this, while I have an application that gtk_socket_steal():s other
application's main windows into it. And if those applications dies (Their
windows are destroyed), I want to be notified, so that my application can
remove some widgets, create some widgets or possibly exit...
With best regards,
Egil Möller

<A Href="">TekMetrics Online Public Transcript (e-certifications[tm])</A><Br>
<A Href="">PGP Public key</A><Br>
Version: GnuPG v0.9.9 (GNU/Linux)
Comment: For info see


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