VimIMContext.connectExecuteCommand

Connect to ExecuteCommand signal.

The signal is emitted when a command should be executed. This might be something like :wq or :e <path>.

If the application chooses to implement this, it should return true from this signal to indicate the command has been handled.

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

Parameters

callback T

signal callback delegate or function to connect

bool callback(string command, gtksource.vim_imcontext.VimIMContext vimIMContext)

command the command to execute (optional)

vimIMContext the instance the signal is connected to (optional)

Returns true if handled; otherwise false.

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID