Re: glib main loop concept
- From: Tristan Van Berkom <tvb gnome org>
- To: Christian Buennig <masala web de>
- Cc: gtk-list gnome org
- Subject: Re: glib main loop concept
- Date: Thu, 04 Oct 2007 01:49:06 -0400
On Thu, 2007-10-04 at 00:12 +0200, Christian Buennig wrote:
[...]
> However, that does not matter any more. As suggested by you and jcupitt
> I'll avoid to autonomously run a main loop within the library.
Note that in some contexts it makes sense to run a nested mainloop from
a library if its safe to assume the app is already running a mainloop,
an example of this is gtk_dialog_run(), which will continue to process
events from the main context, but gtk_dialog_run() wont return until
the user has answered the dialog.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]