Completion.connectMoveCursor

gulong connectMoveCursor(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.types.ScrollStep))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtksource.completion.Completion))) && Parameters!T.length < 4)

Connect to MoveCursor signal.

The #GtkSourceCompletion::move-cursor signal is a keybinding signal which gets emitted when the user initiates a cursor movement.

The <keycap>Up</keycap>, <keycap>Down</keycap>,

<keycap>PageUp</keycap>, <keycap>PageDown</keycap>, <keycap>Home</keycap> and <keycap>End</keycap> keys are bound to the

normal behavior expected by those keys.

When step is equal to [gtk.types.ScrollStep.Pages], the page size is defined by the #GtkSourceCompletion:proposal-page-size property. It is used for the <keycap>PageDown</keycap> and <keycap>PageUp</keycap> keys.

Applications should not connect to it, but may emit it with [gobject.global.signalEmitByName] if they need to control the cursor programmatically.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.types.ScrollStep step, int num, gtksource.completion.Completion completion) step The #GtkScrollStep by which to move the cursor (optional) num The amount of steps to move the cursor (optional) completion the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID