Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: VolumeButtonMeta

[168:14] static extends: object

Generated metadata helpers for VolumeButton class surfaces.

Methods

  • properties ()

    Returns property metadata for VolumeButton.

    • @r A list.

class: VolumeButton

[15:7] extends: object

GtkVolumeButton is a GtkScaleButton subclass tailored for volume control. An example GtkVolumeButton

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • 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 exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asScaleButton ()

    Wraps this handle as ScaleButton.

    • @r A ScaleButton object.
  • asAccessible ()

    Wraps this handle as Accessible.

    • @r A Accessible object.
  • asAccessibleRange ()

    Wraps this handle as AccessibleRange.

    • @r A AccessibleRange object.
  • asBuildable ()

    Wraps this handle as Buildable.

    • @r A Buildable object.
  • asConstraintTarget ()

    Wraps this handle as ConstraintTarget.

    • @r A ConstraintTarget object.
  • asOrientable ()

    Wraps this handle as Orientable.

    • @r 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.

    • @p Value is the new property value.
    • @r None.