IconView.connectMoveCursor

gulong connectMoveCursor(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] == gtk.types.MovementStep))) && (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] : gtk.icon_view.IconView))) && Parameters!T.length < 4)

Connect to MoveCursor signal.

The ::move-cursor signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates a cursor movement.

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

The default bindings for this signal include

  • Arrow keys which move by individual steps
  • Home/End keys which move to the first/last item
  • PageUp/PageDown which move by "pages"

All of these will extend the selection when combined with the Shift modifier.

Parameters

callbacksignal callback delegate or function to connect bool callback(gtk.types.MovementStep step, int count, gtk.icon_view.IconView iconView) step the granularity of the move, as a #GtkMovementStep (optional) count the number of step units to move (optional) iconView the instance the signal is connected to (optional) Returns
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID