Method

Gtk.PopoverMenu.set_menu_model

Declaration [src]

void
gtk_popover_menu_set_menu_model (
  GtkPopoverMenu* popover,
  GMenuModel* model
)

Description [src]

Sets a new menu model on popover.

The existing contents of popover are removed, and the popover is populated with new contents according to model.

Parameters

model GMenuModel*
 

a GMenuModel, or NULL

 Can be NULL
 Ownership is not transferred to the callee