MenuButton

Constructors

this
this(DzlMenuButton* dzlMenuButton, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string iconName, MenuModel model)

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

Members

Functions

getDazzleMenuButtonStruct
DzlMenuButton* getDazzleMenuButtonStruct(bool transferOwnership = false)

Get the main Gtk struct

getModel
MenuModel getModel()
getShowAccels
bool getShowAccels()
getShowArrow
bool getShowArrow()
getShowIcons
bool getShowIcons()
getStruct
void* getStruct()

the main Gtk struct as a void*

setModel
void setModel(MenuModel model)
setShowAccels
void setShowAccels(bool showAccels)

Sets the #DzlMenuButton:show-accels property.

setShowArrow
void setShowArrow(bool showArrow)

Sets the #DzlMenuButton:show-arrow property.

setShowIcons
void setShowIcons(bool showIcons)

Sets the #DzlMenuButton:show-icons property.

Static functions

getType
GType getType()

Variables

dzlMenuButton
DzlMenuButton* dzlMenuButton;

the main Gtk struct

Meta