MenuButton.this

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

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

Parameters

iconName string

An icon-name for the button

model MenuModel

A #GMenuModel or %NULL

Return Value

A #DzlMenuButton

Throws

ConstructionException GTK+ fails to create the object.

Meta