IconView.connectActivateCursorItem

Connect to ActivateCursorItem signal.

A [keybinding signal]gtk.signal_action.SignalAction which gets emitted when the user activates the currently focused item.

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

The default bindings for this signal are Space, Return and Enter.

class IconView
ulong
connectActivateCursorItem
(
T
)
(,
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.icon_view.IconView)
)
)
&&
Parameters!T.length < 2
)

Parameters

callback T

signal callback delegate or function to connect

bool callback(gtk.icon_view.IconView iconView)

iconView the instance the signal is connected to (optional)

Returns

after Flag!"After"

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

Return Value

Type: ulong

Signal ID