create


Description:

public static SearchContext? create (string search_query, SearchType search_type, FilterSet? filter_state, HashTable<string,Variant>? metadata, ResultSet result_set, Cancellable? cancellable)

Create a new SearchContext

This method will create a new heap-allocated SearchContext. It is primarily meant for low-level language bindings, to ensure correct memory management of the individual fields in the struct.