IconView.connectActivateCursorItem
gulong connectActivateCursorItem(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.icon_view.IconView)))
&& Parameters!T.length < 2)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.
Parameters
callback | 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 | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID