Re: using own X11 event loop with Gtk+
- From: learfox furry ao net
- To: Robert & Jennifer Hartley <rehartley sympatico ca>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: using own X11 event loop with Gtk+
- Date: Wed, 7 Mar 2001 14:00:34 -0800 (PST)
Hi,
Please excuse my naivete. I am frssh on this list.
Is there an example of using the Gtk widgets with a non Gdk event loop?
I think you mean non GTK event loop? Since a Gdk event loop is the
solution to yer problem. :)
One way is to use gtk_timeout_add() to add a timeout which calls a
management function to simulate a Xlib style event loop.
When yer done with that loop call gtk_timeout_remove() and then
gtk_main_quit() to break out of that loop.
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
..__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]