Filter
Object Hierarchy:
Dee.Filter
Dee.Filter
Dee.Filter
Description:
[ CCode ( has_type_id = false ) ]public struct Filter
Structure encapsulating the mapping logic used to construct a FilterModel
Content:
Static methods:
public static Filter @new (StaticFilterMapFunc map_func, owned FilterMapNotify map_notify)
Create a new Filter with the given
parameters.
public static Filter new_collator (uint column)
Create a Filter that takes string values
from a column in the model and builds a FilterModel with the rows sorted according to
the collation rules of the current locale.
public static Filter new_collator_desc (uint column)
Create a Filter that takes string values
from a column in the model and builds a FilterModel with the rows sorted descending
according to the collation rules of the current locale.
public static Filter new_for_any_column (uint column, Variant value)
Create a Filter that only includes rows
from the original model which match a variant value in a given column.
public static Filter new_for_key_column (uint column, string key)
Create a Filter that only includes rows
from the original model which has an exact match on some string column.
public static Filter new_regex (uint column, Regex regex)
Create a Filter that only includes rows
from the original model which match a regular expression on some string column.
public static Filter new_sort (owned CompareRowFunc cmp_row)
Methods:
Fields: