summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMikael Hallendal <micke@imendio.com>2007-08-08 19:59:42 +0000
committerMikael Hallendal <hallski@src.gnome.org>2007-08-08 19:59:42 +0000
commit9e9767401d6f22dce5cbac42cc73cbd8bdfd45c0 (patch)
tree9b5bd152cdceee5c73e18ed21e4acad2b90c74e3 /gtk/gtkcombobox.c
parent866f875cf73ba14f8b9727b57ca8e7fc71816aa2 (diff)
downloadgtk+-9e9767401d6f22dce5cbac42cc73cbd8bdfd45c0.tar.gz
Document the new signals popup, popdown and move-active.
2007-08-08 Mikael Hallendal <micke@imendio.com> * gtk/gtkcombobox.c (gtk_combo_box_class_init): Document the new signals popup, popdown and move-active. svn path=/trunk/; revision=18594
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c37
1 files changed, 35 insertions, 2 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 234c9b7b08..6a440ff161 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -526,7 +526,17 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
-
+ /**
+ * GtkComboBox::move-active:
+ * @widget: the object that received the signal
+ * @scroll_type: a #GtkScrollType
+ *
+ * The ::move-active signal is a
+ * <link linkend="keybinding-signals">keybinding signal</link>
+ * which gets emitted to move the active selection.
+ *
+ * Since: 2.12
+ */
combo_box_signals[MOVE_ACTIVE] =
_gtk_binding_signal_new (I_("move-active"),
G_OBJECT_CLASS_TYPE (klass),
@@ -537,6 +547,18 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
G_TYPE_NONE, 1,
GTK_TYPE_SCROLL_TYPE);
+ /**
+ * GtkComboBox::popup:
+ * @widget: the object that received the signal
+ *
+ * The ::popup signal is a
+ * <link linkend="keybinding-signals">keybinding signal</link>
+ * which gets emitted to popup the combo box list.
+ *
+ * The default binding for this signal is Alt+Down.
+ *
+ * Since: 2.12
+ */
combo_box_signals[POPUP] =
_gtk_binding_signal_new (I_("popup"),
G_OBJECT_CLASS_TYPE (klass),
@@ -545,7 +567,18 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
-
+ /**
+ * GtkComboBox::popdown:
+ * @button: the object which received the signal
+ *
+ * The ::popdown signal is a
+ * <link linkend="keybinding-signals">keybinding signal</link>
+ * which gets emitted to popdown the combo box list.
+ *
+ * The default bindings for this signal are Alt+Up and Escape.
+ *
+ * Since: 2.12
+ */
combo_box_signals[POPDOWN] =
_gtk_binding_signal_new (I_("popdown"),
G_OBJECT_CLASS_TYPE (klass),