struct Gtk::Sorter::ChangedSignal

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.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::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 #

def emit(change : Gtk::SorterChange) : Nil #

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

The signal name