Re: main loop & main context difference (follow up plz ?)
- From: Havoc Pennington <hp redhat com>
- To: Tristan Van Berkom <vantr touchtunes com>
- Cc: Axel Bock <news-and-lists the-me de>, GTK App devel list <gtk-app-devel-list gnome org>
- Subject: Re: main loop & main context difference (follow up plz ?)
- Date: Wed, 22 Jan 2003 15:21:44 -0500
Hi,
There are docs in the reference manual you know. ;-)
http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html
Scroll down and read the part labeled "Description"
As I understand it:
GMainContext is a collection of GSource that have been added
GMainLoop is a sort of "thing you can run and quit",
you can have any number of these per context
The functions with no context arg, such as g_timeout_add(),
add the source to the default context.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]