MenuButton: doc :menu-model does set :pop[over|up]

GTK3 version of https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6408
This commit is contained in:
Daniel Boles
2023-09-19 10:54:20 +01:00
parent 236a6c79ac
commit 3acd4fcf4b

View File

@@ -804,9 +804,9 @@ gtk_menu_button_get_popup (GtkMenuButton *menu_button)
* #GtkPopover with gtk_popover_new_from_model(). In either case,
* actions will be connected as documented for these functions.
*
* If #GtkMenuButton:popup or #GtkMenuButton:popover are already set, those
* widgets are dissociated from the @menu_button, and those properties are set
* to %NULL.
* If #GtkMenuButton:popup or #GtkMenuButton:popover are already set, that
* widget is dissociated from the @menu_button, and the newly created menu or
* popover is set as the appropriate property.
*
* Since: 3.6
*/