Basics
Guides
API Reference
Basics
Guides
API Reference
[168:14] static extends: object
Generated metadata helpers for VolumeButton class surfaces.
properties ()
Returns property metadata for
VolumeButton.
A list.[15:7] extends: object
GtkVolumeButton is a GtkScaleButton subclass tailored for volume control.
VolumeButton ()
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].
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
ScaleButton.
A ScaleButton object.asAccessible ()
Wraps this handle as
Accessible.
A Accessible object.asAccessibleRange ()
Wraps this handle as
AccessibleRange.
A AccessibleRange object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.asConstraintTarget ()
Wraps this handle as
ConstraintTarget.
A ConstraintTarget object.asOrientable ()
Wraps this handle as
Orientable.
A Orientable 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.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.