Method
RBEntryViewinsert_column_custom
Declaration [src]
void
rb_entry_view_insert_column_custom (
RBEntryView* view,
GtkTreeViewColumn* column,
const char* title,
const char* key,
GCompareDataFunc sort_func,
gpointer data,
GDestroyNotify data_destroy,
gint position
)
Parameters
column-
Type:
GtkTreeViewColumnA
GtkTreeViewColumnto append.The instance takes ownership of the data, and is responsible for freeing it. title-
Type:
const char*Title for the column (translated).
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. key-
Type:
const char*Sort key for the column (not translated).
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. sort_func-
Type:
GCompareDataFuncComparison function to use for sorting on the column.
data-
Type:
gpointerData to pass to the sort function.
The argument can be NULL.The data is owned by the caller of the method. data_destroy-
Type:
GDestroyNotifyFunction to use to destroy the sort data.
position-
Type:
gintPosition at which to insert the column (-1 to insert at the end).