Interface

Atk-1.0AtkTextSignalSignatures

interface SignalSignatures {
    "text-attributes-changed": () => void;
    "text-caret-moved": (arg1: number) => void;
    "text-changed": (arg1: number, arg2: number) => void;
    "text-insert": (arg1: number, arg2: number, arg3: string) => void;
    "text-remove": (arg1: number, arg2: number, arg3: string) => void;
    "text-selection-changed": () => void;
    [key: `text-changed::${string}`]: (arg1: number, arg2: number) => void;
    [key: `text-insert::${string}`]: (
        arg1: number,
        arg2: number,
        arg3: string,
    ) => void;
    [key: `text-remove::${string}`]: (
        arg1: number,
        arg2: number,
        arg3: string,
    ) => void;
}

Hierarchy (View Summary)

Indexable

  • [key: `text-changed::${string}`]: (arg1: number, arg2: number) => void
  • [key: `text-insert::${string}`]: (arg1: number, arg2: number, arg3: string) => void
  • [key: `text-remove::${string}`]: (arg1: number, arg2: number, arg3: string) => void
Index
"text-attributes-changed": () => void

The "text-attributes-changed" signal is emitted when the text attributes of the text of an object which implements AtkText changes.

"text-caret-moved": (arg1: number) => void

The "text-caret-moved" signal is emitted when the caret position of the text of an object which implements AtkText changes.

"text-changed": (arg1: number, arg2: number) => void

The "text-changed" signal is emitted when the text of the object which implements the AtkText interface changes, This signal will have a detail which is either "insert" or "delete" which identifies whether the text change was an insertion or a deletion.

since 2.9.4: Use Atk.Object.SignalSignatures.text_insert | Atk.Object::text-insert or Atk.Object.SignalSignatures.text_remove | Atk.Object::text-remove instead.

"text-insert": (arg1: number, arg2: number, arg3: string) => void

The "text-insert" signal is emitted when a new text is inserted. If the signal was not triggered by the user (e.g. typing or pasting text), the "system" detail should be included.

"text-remove": (arg1: number, arg2: number, arg3: string) => void

The "text-remove" signal is emitted when a new text is removed. If the signal was not triggered by the user (e.g. typing or pasting text), the "system" detail should be included.

"text-selection-changed": () => void

The "text-selection-changed" signal is emitted when the selected text of an object which implements AtkText changes.