MenuButton.this

Creates a new #DzlMenuButton with the icon @icon_name and the menu contents of @model.

  1. this(DzlMenuButton* dzlMenuButton, bool ownedRef = false)
  2. this(string iconName, MenuModel model)
    class MenuButton
    this
    (
    string iconName
    ,
    MenuModel model
    )

Parameters

iconName
Type: string

An icon-name for the button

model
Type: MenuModel

A #GMenuModel or %NULL

Return Value

A #DzlMenuButton

Throws

ConstructionException GTK+ fails to create the object.

Meta