MenuButton.with_model


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public MenuButton.with_model (string icon_name, MenuModel? model)

Creates a new MenuButton with the icon icon_name and the menu contents of model.

Parameters:

icon_name

An icon-name for the button

model

A MenuModel or null

Returns:

A MenuButton