Re: order of GSignal callbacks
- From: vishnu pobox com
- To: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: order of GSignal callbacks
- Date: Fri, 5 Oct 2001 23:41:47 -0700
On Fri, Oct 05, 2001 at 06:21:13PM -0700, vishnu pobox com wrote:
> i'm already using all of the signal execution stages (before, during,
> after) for ordering. i'm asking about checking ordering within a stage.
> Something like:
>
> g_assert (g_signal_handler_order_by_func
> (instance, "set-span", 0 /*detail*/, cb1, cb2) < 0);
>
> Could i write such a function using the current API?
Is it crazy to rely on the empirical callback order?
Separately, i think it would be worthwhile to add a method
for this idiom:
g_signal_handlers_disconnect_matched
(instance, G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, object);
Perhaps:
g_signal_handlers_disconnect_object (instance, object);
?
--
Victory to the Divine Mother!!
http://sahajayoga.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]