enum Gtk::FilterChange

Overview

Describes changes in a filter in more detail and allows objects using the filter to optimize refiltering items.

If you are writing an implementation and are not sure which value to pass, %GTK_FILTER_CHANGE_DIFFERENT is always a correct choice.

Defined in:

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

Enum Members

Different = 0_u32

The filter change cannot be described with any of the other enumeration values.

LessStrict = 1_u32

The filter is less strict than it was before: All items that it used to return true for still return true, others now may, too.

MoreStrict = 2_u32

The filter is more strict than it was before: All items that it used to return false for still return false, others now may, too.

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.


[View source]

Instance Method Detail

def different? #

[View source]
def less_strict? #

[View source]
def more_strict? #

[View source]