struct Gtk::ListBox::RowSelectedSignal

Overview

Emitted when a new row is selected, or (with a nil @row) when the selection is cleared.

When the @box is using %GTK_SELECTION_MULTIPLE, this signal will not give you the full picture of selection changes, and you should use the [signal@Gtk.ListBox::selected-rows-changed] signal instead.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/list_box.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : String? = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gtk::ListBoxRow?, Nil)) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::ListBoxRow?, Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::ListBox, Gtk::ListBoxRow?, Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(row : Gtk::ListBoxRow?) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name