HButtonBox

Constructors

this
this(GtkHButtonBox* gtkHButtonBox, bool ownedRef)

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

this
this()

Creates a new horizontal button box.

Members

Functions

getHButtonBoxStruct
GtkHButtonBox* getHButtonBoxStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

Static functions

createActionBox
HButtonBox createActionBox()

Creates a new HButtonBox and sets comon parameters

getType
GType getType()

Variables

gtkHButtonBox
GtkHButtonBox* gtkHButtonBox;

the main Gtk struct

Inherited Members

From ButtonBox

gtkButtonBox
GtkButtonBox* gtkButtonBox;

the main Gtk struct

getButtonBoxStruct
GtkButtonBox* getButtonBoxStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

createActionBox
ButtonBox createActionBox(void delegate(Button) onClicked, StockID[] stocks, string[] actions, bool vertical)
createOkBox
ButtonBox createOkBox(void delegate(Button) onClicked)
createOkCancelBox
ButtonBox createOkCancelBox(void delegate(Button) onClicked)
getType
GType getType()
getChildNonHomogeneous
bool getChildNonHomogeneous(Widget child)

Returns whether the child is exempted from homogenous sizing.

getChildSecondary
bool getChildSecondary(Widget child)

Returns whether child should appear in a secondary group of children.

getLayout
GtkButtonBoxStyle getLayout()

Retrieves the method being used to arrange the buttons in a button box.

setChildNonHomogeneous
void setChildNonHomogeneous(Widget child, bool nonHomogeneous)

Sets whether the child is exempted from homogeous sizing.

setChildSecondary
void setChildSecondary(Widget child, bool isSecondary)

Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.

setLayout
void setLayout(GtkButtonBoxStyle layoutStyle)

Changes the way buttons are arranged in their container.