Detecting if the main loop is running
- From: Malcolm Tredinnick <malcolm commsecure com au>
- To: bonobo <gnome-components-list gnome org>
- Subject: Detecting if the main loop is running
- Date: Wed, 05 Nov 2003 10:34:53 +1100
Is there a way to detect if my code is running as a result of
bonobo_main() having been called. I am thinking about an equivalent of
gtk_main_level() in GTK+.
Looking at the code, bonobo_main() uses the g_main_loop_* functions and
does not expose the GMainLoop structure (not unreasonable) or depth
count (possibly less reasonable) at all. So I am guessing the answer is
"no", but maybe I am overlooking something.
Cheers,
Malcolm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]