summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-28 22:52:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-29 07:04:07 -0400
commit4a2c817690fc2c91fd16ff8515df4d501e119b3f (patch)
tree67c2b44cdca5cad11695d6752b66963bd5279f0a /gtk/gtkentry.c
parentaac94141170e57fb2f4d1575aaf0b3c4e131da01 (diff)
downloadgtk+-4a2c817690fc2c91fd16ff8515df4d501e119b3f.tar.gz
docs: Document various entry ::activate signals
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 4c41a3e34e..3d058bad27 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -941,6 +941,14 @@ gtk_entry_class_init (GtkEntryClass *class)
g_object_class_override_property (gobject_class, PROP_EDITING_CANCELED, "editing-canceled");
gtk_editable_install_properties (gobject_class, PROP_EDITING_CANCELED + 1);
+ /**
+ * GtkEntry:activate:
+ * @self: The widget on which the signal is emitted
+ *
+ * The ::activate signal is forwarded from the
+ * #GtkText::activated signal, which is a keybinding
+ * signal for all forms of the Enter key.
+ */
signals[ACTIVATE] =
g_signal_new (I_("activate"),
G_OBJECT_CLASS_TYPE (gobject_class),