Callback for freeing the user_data
userdata
(closure): Free form user data associated with the filter.
This pointer will be passed to map_func
and map_notify
The #DeeModelMapFunc used to construct the initial contents of a #DeeFilterModel
Callback invoked when the original model changes
Call the #DeeFilterMapFunc function of a #DeeFilter. When using a #DeeFilterModel you should not call this method yourself.
The model that is being filtered
The #DeeFilterModel that holds the filtered subset of orig_model
Call the #DeeFilterMapNotify function of a #DeeFilter. When using a #DeeFilterModel you should not call this method yourself.
The #DeeModelIter added to orig_model
The model that is being filtered
The #DeeFilterModel that holds the filtered subset of orig_model
Create a new #DeeFilter with the given parameters. This call will zero
the out_filter
struct.
The #DeeFilterMapFunc to use for the filter
The #DeeFilterMapNotify to use for the filter
Create a #DeeFilter that only includes rows from the original model which match a variant value in a given column. A #DeeFilterModel created with this filter will be ordered in accordance with its parent model.
This method will work on any column, disregarding its schema, since the value comparison is done using g_variant_equal(). This means you can use this filter as a convenient fallback when there is no predefined filter for your column type if raw performance is not paramount.
The index of a column containing the string to match
A #GVariant value columns must match exactly. The matching semantics are those of g_variant_equal(). If value
is floating the ownership will be transfered to the filter
Create a #DeeFilter that only includes rows from the original model which has an exact match on some string column. A #DeeFilterModel created with this filter will be ordered in accordance with its parent model.
The index of a column containing the string key to match
Create a #DeeFilter that only includes rows from the original model which match a regular expression on some string column. A #DeeFilterModel created with this filter will be ordered in accordance with its parent model.
The index of a column containing the string to match
The regular expression column
must match
Create a new #DeeFilter sorting a model according to a #DeeCompareRowFunc.
A #DeeCompareRowFunc to use for sorting
Structure encapsulating the mapping logic used to construct a #DeeFilterModel