IconView.connectItemActivated
gulong connectItemActivated(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.tree_path.TreePath)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.icon_view.IconView)))
&& Parameters!T.length < 3)Connect to ItemActivated signal.
The ::item-activated signal is emitted when the method [gtk.icon_view.IconView.itemActivated] is called, when the user double clicks an item with the "activate-on-single-click" property set to false, or when the user single clicks an item when the "activate-on-single-click" property set to true. It is also emitted when a non-editable item is selected and one of the keys: Space, Return or Enter is pressed.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.tree_path.TreePath path, gtk.icon_view.IconView iconView) path the [gtk.tree_path.TreePath] for the activated item (optional) iconView the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID