ListBox.connectRowSelected
gulong connectRowSelected(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.list_box_row.ListBoxRow)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.list_box.ListBox)))
&& Parameters!T.length < 3)Connect to RowSelected signal.
Emitted when a new row is selected, or (with a null row) when the selection is cleared.
When the box is using [gtk.types.SelectionMode.Multiple], this signal will not give you the full picture of selection changes, and you should use the signalGtk.ListBox::selected-rows-changed signal instead.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.list_box_row.ListBoxRow row, gtk.list_box.ListBox listBox) row the selected row (optional) listBox 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