IconView.connectToggleCursorItem

Connect to ToggleCursorItem signal.

A [keybinding signal]gtk.signal_action.SignalAction 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.

class IconView
ulong
connectToggleCursorItem
(
T
)
(,
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
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gtk.icon_view.IconView iconView)

iconView the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID