Text.connectTextChanged

Connect to TextChanged signal.

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.

More...
interface Text
ulong
connectTextChanged
(
T
)
(
string detail = null
,,
Flag!"After" after = No.After
)

Parameters

detail string

Signal detail or null (default)

callback T

signal callback delegate or function to connect

void callback(int arg1, int arg2, atk.text.Text text)

arg1 The position (character offset) of the insertion or deletion. (optional)

arg2 The length (in characters) of text inserted or deleted. (optional)

text the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID

Detailed Description

Deprecated: Use #AtkObject::text-insert or #AtkObject::text-remove instead.