Re: gobject singal firing order
- From: Tristan Van Berkom <tvb gnome org>
- To: Stefan Kost <ensonic hora-obscura de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gobject singal firing order
- Date: Wed, 27 Jul 2005 10:44:14 -0400
Stefan Kost wrote:
hi,
when I do an g_object_set() while having a handler connected to the
notify:: signal. Is the notify handler triggered before the
g_object_set() returns or just soon afterwards?
Is this deterministic?
When g_signal_emit() returns, all handlers have been called.
It may look weird in the source in regards with g_object_set()
because in g_object_set(), all the properties in the va_list
are set first, and a list of "notify" signals are "accumulated",
they are emitted after applying the properties but before
returning from g_object_set().
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]