struct Gtk::Filter::ChangedSignal

Overview

Emitted whenever the filter changed.

Users of the filter should then check items again via Gtk::Filter#match.

Gtk::FilterListModel handles this signal automatically.

Depending on the change parameter, not all items need to be checked, but only some. Refer to the Gtk::FilterChange documentation for details.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/filter.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::FilterChange, Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit(change : Gtk::FilterChange) : Nil #

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

The signal name


[View source]