IMContext.connectRetrieveSurrounding
gulong connectRetrieveSurrounding(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.imcontext.IMContext)))
&& Parameters!T.length < 2)Connect to RetrieveSurrounding signal.
The ::retrieve-surrounding signal is emitted when the input method requires the context surrounding the cursor. The callback should set the input method surrounding context by calling the [gtk.imcontext.IMContext.setSurrounding] method.
Parameters
callback | signal callback delegate or function to connect bool callback(gtk.imcontext.IMContext iMContext) iMContext the instance the signal is connected to (optional) Returns true if the signal was handled. |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID