Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: GtkVolumeButton

[15:7] extends: object

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

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • 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].

    • @p 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 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 GtkScaleButton.

    • @r A GtkScaleButton object.
  • asAccessible ()

    Wraps this handle as GtkAccessible.

    • @r A GtkAccessible object.
  • asAccessibleRange ()

    Wraps this handle as GtkAccessibleRange.

    • @r A GtkAccessibleRange object.
  • asBuildable ()

    Wraps this handle as GtkBuildable.

    • @r A GtkBuildable object.
  • asConstraintTarget ()

    Wraps this handle as GtkConstraintTarget.

    • @r A GtkConstraintTarget object.
  • asOrientable ()

    Wraps this handle as GtkOrientable.

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

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

class: GtkVolumeButtonMeta

[176:14] static extends: object

Generated metadata helpers for VolumeButton class surfaces.

Methods

  • properties ()

    Returns property metadata for VolumeButton.

    • @r A list.