Interface

Atk-1.0AtkSelectionInterface

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

interface Interface {
    vfunc_add_selection(i: number): boolean;
    vfunc_clear_selection(): boolean;
    vfunc_get_selection_count(): number;
    vfunc_is_child_selected(i: number): boolean;
    vfunc_ref_selection(i: number): Atk.Object;
    vfunc_remove_selection(i: number): boolean;
    vfunc_select_all_selection(): boolean;
    vfunc_selection_changed(): void;
}

Hierarchy (View Summary)

Index

Methods

  • Adds the specified accessible child of the object to the object's selection.

    Parameters

    • i: number

      a gint specifying the child index.

    Returns boolean

  • Clears the selection in the object so that no children in the object are selected.

    Returns boolean

  • Gets the number of accessible children currently selected. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

    Returns number

  • Determines if the current child of this object is selected Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

    Parameters

    • i: number

      a gint specifying the child index.

    Returns boolean

  • Gets a reference to the accessible object representing the specified selected child of the object. Note: callers should not rely on null or on a zero value for indication of whether AtkSelectionIface is implemented, they should use type checking/interface checking macros or the atk_get_accessible_value() convenience method.

    Parameters

    • i: number

      a gint specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).

    Returns Atk.Object

  • Removes the specified child of the object from the object's selection.

    Parameters

    • i: number

      a gint specifying the index in the selection set. (e.g. the ith selection as opposed to the ith child).

    Returns boolean

  • Causes every child of the object to be selected if the object supports multiple selections.

    Returns boolean