InputMethodContext.connectCommitted

Connect to Committed signal.

Emitted when a complete input sequence has been entered by the user. This can be a single character immediately after a key press or the final result of preediting.

class InputMethodContext
ulong
connectCommitted
(
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] == string)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

void callback(string text, webkit.input_method_context.InputMethodContext inputMethodContext)

text the string result (optional)

inputMethodContext 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