Method

GtkMenuButtonget_menu_model

since: 3.6

Declaration [src]

GMenuModel*
gtk_menu_button_get_menu_model (
  GtkMenuButton* menu_button
)

Description [src]

Returns the GMenuModel used to generate the popup.

Available since: 3.6

Return value

Type: GMenuModel

A GMenuModel or NULL.

The returned data is owned by the instance.
The return value can be NULL.