IMContext.connectPreeditChanged

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.

class IMContext
ulong
connectPreeditChanged
(
T
)
(,
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
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.imcontext.IMContext iMContext)

iMContext 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