IMContext.connectPreeditChanged
gulong connectPreeditChanged(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] : gtk.imcontext.IMContext)))
&& Parameters!T.length < 2)Connect to PreeditChanged signal.
The ::preedit-changed signal is emitted whenever the preedit sequence currently being entered has changed. It is also emitted at the end of a preedit sequence, in which case [gtk.imcontext.IMContext.getPreeditString] returns the empty string.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.imcontext.IMContext iMContext) iMContext 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