Foreign events



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have created a program that, with the help of a GtkSocket, embedds a
window of another application into it. In this program, I would like to be
able to show a menu, if the user clicks with some button and some
modifiers somwhere in the embedded window. It is an easy task to set the
event mask for that window, but the Gtk main-loop will happily discard
that event, whilst it does not come from a widget, and is not a property
delete event. How do I work around this, or is it something I've overseen?

Anyway, why isn't there a way for the user program to collect all events
discarded by the gtk main loop with some type of general event-handler?
UIs this something that does exist, but I haven't figured out. If it
doesn't exist, is it planned for future gtk-releases?
W.b.r.,
Egil Möller

<A Href="http://www.tekmetrics.com/transcript.shtml?pid=29943">TekMetrics Online Public Transcript (e-certifications[tm])</A><Br>
<A Href="http://mini.dhs.org/PGP%20Public%20key.asc">PGP Public key</A><Br>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.9 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4CkghHeQ6HSAJlUwRAvuFAJ0YhMzhsAmwJKRzhawwscpt0zMWPQCfS8gd
jvErzzZ+5D3k75YBBIXq5WQ=
=DCx4
-----END PGP SIGNATURE-----



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