Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: AccessibleRange

[23:7] extends: object

An interface for accessible objects containing a numeric value. GtkAccessibleRange describes ranged controls for Assistive Technologies. Ranged controls have a single value within an allowed range that can optionally be changed by the user. This interface is expected to be implemented by controls using the following roles: - GTK_ACCESSIBLE_ROLE_METER - GTK_ACCESSIBLE_ROLE_PROGRESS_BAR - GTK_ACCESSIBLE_ROLE_SCROLLBAR - GTK_ACCESSIBLE_ROLE_SLIDER - GTK_ACCESSIBLE_ROLE_SPIN_BUTTON If that is not the case, a warning will be issued at run time. In addition to this interface, its implementers are expected to provide the correct values for the following properties: - GTK_ACCESSIBLE_PROPERTY_VALUE_MAX - GTK_ACCESSIBLE_PROPERTY_VALUE_MIN - GTK_ACCESSIBLE_PROPERTY_VALUE_NOW - GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • AccessibleRange (Handle = null)

    Creates a new AccessibleRange by wrapping a native handle or another wrapper.

    • @p Handle is the native handle or another wrapper whose handle to adopt.
  • 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.