Filter
Object Hierarchy:
Description:
[ CCode ( has_type_id = false ) ]
public struct Filter
  public struct Filter
Structure encapsulating the mapping logic used to construct a FilterModel
Namespace: Dee
  
  Package: dee-1.0
  
  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)
      
      Create a new Filter sorting a model according to a CompareRowFunc.
 
Methods:
- public void destroy ()
      
      Call the DestroyNotify function on the userdata pointer of a Filter (if the destroy member is set, that is).
 - public void map (Model orig_model, FilterModel filter_model)
      
      Call the StaticFilterMapFunc function of a Filter.
 - public bool notify (ModelIter orig_iter, Model orig_model, FilterModel filter_model)
      
      Call the FilterMapNotify function of a Filter.
 
Fields:
- public DestroyNotify destroy_notify
      
      
 - public unowned FilterMapFunc map_func
      
      
 - public unowned FilterMapNotify map_notify
      
      
 - public void* userdata