ObjectWrap.connectNotification
gulong connectNotification(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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int)))
&& (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : atk.object.ObjectWrap)))
&& Parameters!T.length < 4)Connect to Notification signal.
The "notification" signal can be emitted to pass an announcement on to be read by a screen reader.
Parameters
callback | signal callback delegate or function to connect void callback(string arg1, int arg2, atk.object.ObjectWrap objectWrap) arg1 the text to be announced. (optional) arg2 an #AtkLive specifying the politeness of the notification. Should be either ATK_LIVE_POLITE or ATK_LIVE_ASSERTIVE. (optional) objectWrap the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID