GtkWidget* gtk_popover_menu_new_from_model ( GMenuModel* model )
GtkPopoverMenu and populates it according to
The created buttons are connected to actions found in the
GtkApplicationWindow to which the popover belongs - typically
by means of being attached to a widget that is contained within
GtkApplicationWindows widget hierarchy.
Actions can also be added using
on the menus attach widget or on any of its parent widgets.
This function creates menus with sliding submenus.
gtk_popover_menu_new_from_model_full() for a way
to control this.
The argument can be
The data is owned by the caller of the function.
|The data is owned by the called function.|