summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-11-30 07:09:36 +0000
committerTim Janik <timj@src.gnome.org>1998-11-30 07:09:36 +0000
commit2c0fc39e626e93225e8d15ae8c1a51c1e6be79f0 (patch)
tree2d89e5a8abdaa694ecd320e617808f7732077d53 /gtk/gtkenums.h
parent140c26afbc334a8c24f2f721597d6aa7d39d8827 (diff)
downloadgtk+-2c0fc39e626e93225e8d15ae8c1a51c1e6be79f0.tar.gz
added an event watcher for enter/leave based on signal emission hooks.
Mon Nov 30 06:20:36 1998 Tim Janik <timj@gtk.org> * gtk/testgtk.c: added an event watcher for enter/leave based on signal emission hooks. * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a GTK_RUN_NO_HOOKS signal. * gtk/gtksignal.h: * gtk/gtksignal.c: implemented emission hooks, new hooks can be added to a signal with gtk_signal_add_emission_hook or gtk_signal_add_emission_hook_full, and can be removed again with gtk_signal_remove_emission_hook. * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent an appropriate mask for signal runtypes for a long time now. added GTK_RUN_NO_HOOKS value, which is used to flag signals that do not allow the running of signal hooks.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index d03eddd12b..3dd9a8aa77 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -194,12 +194,12 @@ typedef enum
/* signal run types */
typedef enum /*< flags >*/
{
- GTK_RUN_FIRST = 0x1,
- GTK_RUN_LAST = 0x2,
- GTK_RUN_BOTH = 0x3,
- GTK_RUN_MASK = 0xF,
+ GTK_RUN_FIRST = 0x01,
+ GTK_RUN_LAST = 0x02,
+ GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST),
GTK_RUN_NO_RECURSE = 0x10,
- GTK_RUN_ACTION = 0x20
+ GTK_RUN_ACTION = 0x20,
+ GTK_RUN_NO_HOOKS = 0x30
} GtkSignalRunType;
/* scrolling types */