- gtkScaleButton
GtkScaleButton* gtkScaleButton;
- getScaleButtonStruct
GtkScaleButton* getScaleButtonStruct(bool transferOwnership)
- 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.
- getType
GType getType()
- getAdjustment
Adjustment getAdjustment()
Gets the #GtkAdjustment associated with the #GtkScaleButton’s scale.
See gtk_range_get_adjustment() for details.
- 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.
See gtk_range_set_adjustment() for details.
- setIcons
void setIcons(string[] icons)
Sets the icons to be used by the scale button.
For details, see the #GtkScaleButton:icons property.
- 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 #GtkScaleButton::value-changed
signal if the value changes.
- OnPopdownDelegateWrapper
class OnPopdownDelegateWrapper
Undocumented in source.
- onPopdownListeners
OnPopdownDelegateWrapper[] onPopdownListeners;
Undocumented in source.
- addOnPopdown
gulong addOnPopdown(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)
The ::popdown signal is a
[keybinding signal]GtkBindingSignal
which gets emitted to popdown the scale widget.
- callBackPopdown
void callBackPopdown(GtkScaleButton* scalebuttonStruct, OnPopdownDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackPopdownDestroy
void callBackPopdownDestroy(OnPopdownDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
- OnPopupDelegateWrapper
class OnPopupDelegateWrapper
Undocumented in source.
- onPopupListeners
OnPopupDelegateWrapper[] onPopupListeners;
Undocumented in source.
- addOnPopup
gulong addOnPopup(void delegate(ScaleButton) dlg, ConnectFlags connectFlags)
The ::popup signal is a
[keybinding signal]GtkBindingSignal
which gets emitted to popup the scale widget.
- callBackPopup
void callBackPopup(GtkScaleButton* scalebuttonStruct, OnPopupDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackPopupDestroy
void callBackPopupDestroy(OnPopupDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
- OnValueChangedDelegateWrapper
class OnValueChangedDelegateWrapper
Undocumented in source.
- onValueChangedListeners
OnValueChangedDelegateWrapper[] onValueChangedListeners;
Undocumented in source.
- addOnValueChanged
gulong addOnValueChanged(void delegate(double, ScaleButton) dlg, ConnectFlags connectFlags)
The ::value-changed signal is emitted when the value field has
changed.
- callBackValueChanged
void callBackValueChanged(GtkScaleButton* scalebuttonStruct, double value, OnValueChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
- callBackValueChangedDestroy
void callBackValueChangedDestroy(OnValueChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
#GtkVolumeButton is a subclass of #GtkScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.