ListView.connectActivate

gulong connectActivate(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] == uint))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.list_view.ListView))) && Parameters!T.length < 3)

Connect to Activate signal.

Emitted when a row has been activated by the user, usually via activating the GtkListView|list.activate-item action.

This allows for a convenient way to handle activation in a listview. See [gtk.list_item.ListItem.setActivatable] for details on how to use this signal.

Parameters

callbacksignal callback delegate or function to connect void callback(uint position, gtk.list_view.ListView listView) position position of item to activate (optional) listView 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