struct Gtk::ListBox::RowSelectedSignal
- Gtk::ListBox::RowSelectedSignal
- GObject::Signal
- Struct
- Value
- Object
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.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::ListBoxRow | Nil, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::ListBox, Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(row : Gtk::ListBoxRow | Nil) : Nil
-
#name : String
The signal name
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
#
def connect(handler : Proc(Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::ListBox, Gtk::ListBoxRow | Nil, Nil), *, after : Bool = false) : GObject::SignalConnection
#