forked from AuroraMiddleware/gtk
Merge branch 'menutoolbutton-missing-api-docs' into 'master'
menutoolbutton: Add missing public API documentation. See merge request GNOME/gtk!1303
This commit is contained in:
commit
de5fde1e12
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user