summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 6a7269f5ef..d543e36088 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -316,6 +316,15 @@ gtk_button_class_init (GtkButtonClass *klass)
NULL, NULL,
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+
+ /**
+ * GtkButton::activate:
+ *
+ * The "activate" signal on GtkButton is an action signal and
+ * emitting it causes the button to animate press then release.
+ * Applications should never connect to this signal, but use the
+ * "clicked" signal.
+ */
button_signals[ACTIVATE] =
g_signal_new ("activate",
G_OBJECT_CLASS_TYPE (object_class),