struct Gtk::Sorter::ChangedSignal
- Gtk::Sorter::ChangedSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted whenever the sorter changed.
Users of the sorter should then update the sort order again via gtk_sorter_compare().
Gtk::SortListModel
handles this signal automatically.
Depending on the @change parameter, it may be possible to update
the sort order without a full resorting. Refer to the
Gtk::SorterChange
documentation for details.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/sorter.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::SorterChange, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::SorterChange, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Sorter, Gtk::SorterChange, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(change : Gtk::SorterChange) : 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 : String? = nil)
new
Instance Method Detail
def connect(*, after : Bool = false, &block : Proc(Gtk::SorterChange, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::SorterChange, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Sorter, Gtk::SorterChange, Nil), *, after : Bool = false) : GObject::SignalConnection
#