projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903afcb
)
menutoolbutton: Add missing public API documentation.
author
Robert Ancell
<robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:17:55 +0000
(12:17 +1300)
committer
Robert Ancell
<robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:17:55 +0000
(12:17 +1300)
This API was added in
03e30431a8a
gtk/gtkmenutoolbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenutoolbutton.c
b/gtk/gtkmenutoolbutton.c
index d49e036734fb1f407cfd73bd245d9e75e114ec79..0a9e0e7c676d4f1a8af140ac7865a484b6ffaed0 100644
(file)
--- a/
gtk/gtkmenutoolbutton.c
+++ b/
gtk/gtkmenutoolbutton.c
@@
-377,6
+377,16
@@
gtk_menu_tool_button_set_popover (GtkMenuToolButton *button,
g_object_notify (G_OBJECT (button), "popover");
}
+/**
+ * gtk_menu_tool_button_get_popover:
+ * @menu_button: a #GtkMenuToolButton
+ *
+ * Returns the #GtkPopover that pops out of the button.
+ * If the button is not using a #GtkPopover, this function
+ * returns %NULL.
+ *
+ * Returns: (nullable) (transfer none): a #GtkPopover or %NULL
+ **/
GtkWidget *
gtk_menu_tool_button_get_popover (GtkMenuToolButton *button)
{