VolumeButton

GtkVolumeButton is a GtkScaleButton subclass tailored for volume control.

An example GtkVolumeButton

Constructors

this
this(GtkVolumeButton* gtkVolumeButton, bool ownedRef)

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

this
this()

Creates a GtkVolumeButton.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getVolumeButtonStruct
GtkVolumeButton* getVolumeButtonStruct(bool transferOwnership)

Get the main Gtk struct

Static functions

getType
GType getType()

Variables

gtkVolumeButton
GtkVolumeButton* gtkVolumeButton;

the main Gtk struct

Inherited Members

From ScaleButton

gtkScaleButton
GtkScaleButton* gtkScaleButton;

the main Gtk struct

getScaleButtonStruct
GtkScaleButton* getScaleButtonStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin OrientableT!(GtkScaleButton)
Undocumented in source.
getType
GType getType()
getAdjustment
Adjustment getAdjustment()

Gets the GtkAdjustment associated with the GtkScaleButton’s scale.

getMinusButton
Button getMinusButton()

Retrieves the minus button of the GtkScaleButton.

getPlusButton
Button getPlusButton()

Retrieves the plus button of the GtkScaleButton.

getPopup
Widget getPopup()

Retrieves the popup of the GtkScaleButton.

getValue
double getValue()

Gets the current value of the scale button.

setAdjustment
void setAdjustment(Adjustment adjustment)

Sets the GtkAdjustment to be used as a model for the GtkScaleButton’s scale.

setIcons
void setIcons(string[] icons)

Sets the icons to be used by the scale button.

setValue
void setValue(double value)

Sets the current value of the scale.

addOnPopdown
gulong addOnPopdown(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)

Emitted to dismiss the popup.

addOnPopup
gulong addOnPopup(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)

Emitted to popup the scale widget.

addOnValueChanged
gulong addOnValueChanged(void delegate(double, ScaleButton) dlg, ConnectFlags connectFlags)

Emitted when the value field has changed.

Meta