gtk & main loop
- From: bajcik kolos math uni lodz pl
- To: gtk-list gnome org
- Subject: gtk & main loop
- Date: Thu, 15 May 2003 15:20:47 +0200
hi,
My program uses Glib and glib's main loop. Gtk will be only in a plugin.
I want to run gtk+ by nonblocking variant of gtk_main(), and then run
g_main_loop_run()
calling
gdk_threads_leave()
g_main_loop_run()
gdk_threads_enter()
INSTEAD of gtk_main() works, but is it a proper way?
bajcik
PS forgive me my pooor English :)
--
.----- Krzysztof Garus ----- http://kolos.math.uni.lodz.pl/~bajcik/ --.
| Projekcik: http://kolos.math.uni.lodz.pl/~bajcik/duskc.html |
| Projekcik: http://kolos.math.uni.lodz.pl/~bajcik/vmsymulator.html |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]