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 : Nil | String = nil) new

Instance Method Detail

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

[View source]
def connect(handler : Proc(Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gtk::ListBox, Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(row : Gtk::ListBoxRow | Nil) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]