enum Gtk::FilterMatch

Overview

Describes the known strictness of a filter.

Note that for filters where the strictness is not known, %GTK_FILTER_MATCH_SOME is always an acceptable value, even if a filter does match all or no items.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Some = 0_u32

The filter matches some items, gtk_filter_match() may return true or false

None = 1_u32

The filter does not match any item, gtk_filter_match() will always return false.

All = 2_u32

The filter matches all items, gtk_filter_match() will alays return true.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def all? #

def none? #

def some? #