MenuShell.connectMoveSelected

gulong connectMoveSelected(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] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.menu_shell.MenuShell))) && Parameters!T.length < 3)

Connect to MoveSelected signal.

The ::move-selected signal is emitted to move the selection to another item.

Parameters

callbacksignal callback delegate or function to connect bool callback(int distance, gtk.menu_shell.MenuShell menuShell) distance +1 to move to the next item, -1 to move to the previous (optional) menuShell the instance the signal is connected to (optional) Returns true to stop the signal emission, false to continue
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID