VimIMContext.connectExecuteCommand
gulong connectExecuteCommand(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] == string)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtksource.vim_imcontext.VimIMContext)))
&& Parameters!T.length < 3)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.
Parameters
callback | 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 | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID