VolumeButton

Description GtkVolumeButton is a subclass of GtkScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.

Constructors

this
this(GtkVolumeButton* gtkVolumeButton)

Sets our main struct and passes it to the parent class

this
this()

Creates a GtkVolumeButton, with a range between 0.0 and 1.0, with a stepping of 0.02. Volume values can be obtained and modified using the functions from GtkScaleButton. Since 2.12

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getVolumeButtonStruct
GtkVolumeButton* getVolumeButtonStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

gtkVolumeButton
GtkVolumeButton* gtkVolumeButton;

the main Gtk struct

Inherited Members

From ScaleButton

gtkScaleButton
GtkScaleButton* gtkScaleButton;

the main Gtk struct

getScaleButtonStruct
GtkScaleButton* getScaleButtonStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
__anonymous
mixin OrientableT!(GtkScaleButton)
Undocumented in source.
connectedSignals
int[string] connectedSignals;
onPopdownListeners
void delegate(ScaleButton)[] onPopdownListeners;
Undocumented in source.
addOnPopdown
void addOnPopdown(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)

The ::popdown signal is a keybinding signal which gets emitted to popdown the scale widget. The default binding for this signal is Escape. Since 2.12

callBackPopdown
void callBackPopdown(GtkScaleButton* buttonStruct, ScaleButton _scaleButton)
Undocumented in source. Be warned that the author may not have intended to support it.
onPopupListeners
void delegate(ScaleButton)[] onPopupListeners;
Undocumented in source.
addOnPopup
void addOnPopup(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)

The ::popup signal is a keybinding signal which gets emitted to popup the scale widget. The default bindings for this signal are Space, Enter and Return. Since 2.12

callBackPopup
void callBackPopup(GtkScaleButton* buttonStruct, ScaleButton _scaleButton)
Undocumented in source. Be warned that the author may not have intended to support it.
onValueChangedListeners
void delegate(gdouble, ScaleButton)[] onValueChangedListeners;
Undocumented in source.
addOnValueChanged
void addOnValueChanged(void delegate(gdouble, ScaleButton) dlg, ConnectFlags connectFlags)

The ::value-changed signal is emitted when the value field has changed. Since 2.12

callBackValueChanged
void callBackValueChanged(GtkScaleButton* buttonStruct, gdouble value, ScaleButton _scaleButton)
Undocumented in source. Be warned that the author may not have intended to support it.
setAdjustment
void setAdjustment(Adjustment adjustment)

Sets the GtkAdjustment to be used as a model for the GtkScaleButton's scale. See gtk_range_set_adjustment() for details. Since 2.12

setIcons
void setIcons(string[] icons)

Sets the icons to be used by the scale button. For details, see the "icons" property. Since 2.12

setValue
void setValue(double value)

Sets the current value of the scale; if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The scale button emits the "value-changed" signal if the value changes. Since 2.12

getAdjustment
Adjustment getAdjustment()

Gets the GtkAdjustment associated with the GtkScaleButton's scale. See gtk_range_get_adjustment() for details. Since 2.12

getValue
double getValue()

Gets the current value of the scale button. Since 2.12

getPopup
Widget getPopup()

Retrieves the popup of the GtkScaleButton. Since 2.14

getPlusButton
Widget getPlusButton()

Retrieves the plus button of the GtkScaleButton. Since 2.14

getMinusButton
Widget getMinusButton()

Retrieves the minus button of the GtkScaleButton. Since 2.14

Meta