Interface

Gtk-4.0GtkAccessibleRangeInterface

Interface for implementing AccessibleRange. Contains only the virtual methods that need to be implemented.

interface Interface {
    vfunc_get_accessible_id(): string | null;
    vfunc_get_accessible_parent(): Gtk.Accessible | null;
    vfunc_get_at_context(): Gtk.ATContext | null;
    vfunc_get_bounds(): [boolean, number, number, number, number];
    vfunc_get_first_accessible_child(): Gtk.Accessible | null;
    vfunc_get_next_accessible_sibling(): Gtk.Accessible | null;
    vfunc_get_platform_state(state: Gtk.AccessiblePlatformState): boolean;
    vfunc_set_current_value(value: number): boolean;
}

Hierarchy (View Summary)

Index

Methods

  • Sets the current value of the accessible range.

    This operation should behave similarly as if the user performed the action.

    Parameters

    • value: number

      the value to set

    Returns boolean

Methods - Inherited from Gtk.Accessible.Interface

  • Retrieves the accessible identifier for the accessible object.

    This functionality can be overridden by Gtk.Accessible implementations.

    It is left to the accessible implementation to define the scope and uniqueness of the identifier.

    Returns string | null

  • Queries the coordinates and dimensions of this accessible

    This functionality can be overridden by Gtk.Accessible implementations, e.g. to get the bounds from an ignored child widget.

    Returns [boolean, number, number, number, number]