ObjectWrap.connectFocusEvent

gulong connectFocusEvent(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == bool))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : atk.object.ObjectWrap))) && Parameters!T.length < 3)

Connect to FocusEvent signal.

The signal "focus-event" is emitted when an object gained or lost focus.

Parameters

callbacksignal callback delegate or function to connect void callback(bool arg1, atk.object.ObjectWrap objectWrap) arg1 a boolean value which indicates whether the object gained or lost focus. (optional) objectWrap the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID

Deprecated

Use the #AtkObject::state-change signal instead.