[gtk/matthiasc/for-master: 5/6] popover: Document signals
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/6] popover: Document signals
- Date: Tue, 17 Nov 2020 04:00:03 +0000 (UTC)
commit 2c1033c827067854c83dde7727d4dd11e6c85826
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 16 22:46:17 2020 -0500
popover: Document signals
gtk/gtkpopover.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 2a17b677da..240b9bb58b 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -1679,6 +1679,12 @@ gtk_popover_class_init (GtkPopoverClass *klass)
g_object_class_install_properties (object_class, NUM_PROPERTIES, properties);
+ /**
+ * GtkPopover::closed:
+ * @self: the #GtkPopover which received the signal
+ *
+ * The ::closed signal is emitted when the popover is closed.
+ */
signals[CLOSED] =
g_signal_new (I_("closed"),
G_TYPE_FROM_CLASS (object_class),
@@ -1689,6 +1695,15 @@ gtk_popover_class_init (GtkPopoverClass *klass)
G_TYPE_NONE,
0);
+ /**
+ * GtkPopover::activate-default:
+ * @self: the #GtkPopover which received the signal
+ *
+ * The ::activate-default signal is a
+ * [keybinding signal][GtkBindingSignal]
+ * which gets emitted when the user activates the default widget
+ * of @self.
+ */
signals[ACTIVATE_DEFAULT] =
g_signal_new (I_("activate-default"),
G_TYPE_FROM_CLASS (object_class),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]