gtk_list_store_insert_sorted


Description:


[ Version ( since = "3.26" ) ]
public void gtk_list_store_insert_sorted (ListStore store, out TreeIter iter, void* key, uint compare_column, CompareDataFunc compare_func)

This function will binary search the contents of store looking for the location to insert a new row.

compare_column must be the index of a column that is a g_type_pointer, g_type_boxed or g_type_object based column.

compare_func will be called with key as the first parameter and the value from the ListStore row as the second parameter. The third and final parameter is compare_data.

Parameters:

store

A ListStore

iter

A location for a TextIter

key

A key to compare to when binary searching

compare_column

the column containing the data to compare

compare_func

A callback to compare

compare_data

data for compare_func


Namespace: Dazzle
Package: libdazzle-1.0