IconView.connectToggleCursorItem

gulong connectToggleCursorItem(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.icon_view.IconView))) && Parameters!T.length < 2)

Connect to ToggleCursorItem signal.

A [keybinding signal][GtkBindingSignal] which gets emitted when the user toggles whether the currently focused item is selected or not. The exact effect of this depend on the selection mode.

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

There is no default binding for this signal is Ctrl-Space.

Parameters

callbacksignal callback delegate or function to connect void callback(gtk.icon_view.IconView iconView) iconView 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