VolumeButton

gtk.volume_button.VolumeButton is a gtk.scale_button.ScaleButton subclass tailored for volume control.

An example GtkVolumeButton

More...

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Creates a gtk.volume_button.VolumeButton.

Members

Functions

self
VolumeButton self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From ScaleButton

getGType
GType getGType()
gType
GType gType [@property getter]
self
ScaleButton self()

Returns this, for use in with statements.

getActive
bool getActive()

Queries a gtk.scale_button.ScaleButton and returns its current state.

getAdjustment
gtk.adjustment.Adjustment getAdjustment()

Gets the gtk.adjustment.Adjustment associated with the gtk.scale_button.ScaleButton’s scale.

getHasFrame
bool getHasFrame()

Returns whether the button has a frame.

getMinusButton
gtk.button.Button getMinusButton()

Retrieves the minus button of the gtk.scale_button.ScaleButton.

getPlusButton
gtk.button.Button getPlusButton()

Retrieves the plus button of the GtkScaleButton.

getPopup
gtk.widget.Widget getPopup()

Retrieves the popup of the gtk.scale_button.ScaleButton.

getValue
double getValue()

Gets the current value of the scale button.

setAdjustment
void setAdjustment(gtk.adjustment.Adjustment adjustment)

Sets the gtk.adjustment.Adjustment to be used as a model for the gtk.scale_button.ScaleButton’s scale.

setHasFrame
void setHasFrame(bool hasFrame)

Sets the style of the button.

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.

connectPopdown
ulong connectPopdown(T callback, Flag!"After" after)

Connect to Popdown signal.

connectPopup
ulong connectPopup(T callback, Flag!"After" after)

Connect to Popup signal.

connectValueChanged
ulong connectValueChanged(T callback, Flag!"After" after)

Connect to ValueChanged signal.

Detailed Description

Deprecated: This widget will be removed in GTK 5