continuing/stopping signal emission
- From: Skip Montanaro <skip pobox com>
- To: gtk-list gnome org
- Subject: continuing/stopping signal emission
- Date: Tue, 31 Jul 2001 14:15:54 -0500
When writing a new signal handler, I *always* have to go back and find an
example piece of code to remind myself whether I stop signal propagation
with FALSE or TRUE, because neither one has any mnemonic significance for me
in this context. How difficult would it be to add a new enum to gtk that
defines symbols that are more suggestive of the author's intended action?
Something like:
typedef enum
{
GTK_CONTINUE_PROPAGATION = FALSE,
GTK_STOP_PROPAGATION = TRUE
} GtkSignalPropagationChoices;
I write this not being certain I have the values correct, but I know the
names will mean something to me if I see them. ;-)
--
Skip Montanaro (skip pobox com)
http://www.mojam.com/
http://www.musi-cal.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]