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:

auto/gtk-4.0/sorter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(source, detail = nil) #

Instance Method Detail

def [](detail : String) : self #

def connect(&block : Proc(Gtk::SorterChange, Nil)) #

def connect(handler : Proc(Gtk::SorterChange, Nil)) #

def connect(handler : Proc(Gtk::Sorter, Gtk::SorterChange, Nil)) #

def connect_after(&block : Proc(Gtk::SorterChange, Nil)) #

def connect_after(handler : Proc(Gtk::SorterChange, Nil)) #

def connect_after(handler : Proc(Gtk::Sorter, Gtk::SorterChange, Nil)) #

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

def name #