Basics
Guides
API Reference
Basics
Guides
API Reference
[15:7] extends: object
GtkVolumeButton is a GtkScaleButton subclass tailored for volume control.
GtkVolumeButton (Handle = null)
Creates a
GtkVolumeButton. The button has 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 [class@Gtk.ScaleButton].
Handle is an optional native handle or wrapper whose handle to adopt; when the native constructor is called.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asScaleButton ()
Wraps this handle as
GtkScaleButton.
A GtkScaleButton object.asAccessible ()
Wraps this handle as
GtkAccessible.
A GtkAccessible object.asAccessibleRange ()
Wraps this handle as
GtkAccessibleRange.
A GtkAccessibleRange object.asBuildable ()
Wraps this handle as
GtkBuildable.
A GtkBuildable object.asConstraintTarget ()
Wraps this handle as
GtkConstraintTarget.
A GtkConstraintTarget object.asOrientable ()
Wraps this handle as
GtkOrientable.
A GtkOrientable object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setUsesymbolic (bool Value)
Whether to use symbolic icons as the icons. Note that if the symbolic icons are not available in your installed theme, then the normal (potentially colorful) icons will be used.
Value is the new property value.None.[176:14] static extends: object
Generated metadata helpers for VolumeButton class surfaces.
properties ()
Returns property metadata for
VolumeButton.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.