Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTreeSortableSetDefaultSortFunc

gtkTreeSortableSetDefaultSortFunc


Description

Sets the default comparison function used when sorting to be sort.func. If the current sort column id of sortable is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, then the model will sort using this function.

Usage

gtkTreeSortableSetDefaultSortFunc(object, sort.func, user.data = NULL)

Arguments

object

A GtkTreeSortable

sort.func

The comparison function

user.data

User data to pass to sort.func, or NULL. [ allow-none ]

Details

If sort.func is NULL, then there will be no default comparison function. This means that once the model has been sorted, it can't go back to the default state. In this case, when the current sort column id of sortable is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, the model will be unsorted.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.