gtkTreeSortableSetDefaultSortFunc   package:RGtk2   R Documentation

_g_t_k_T_r_e_e_S_o_r_t_a_b_l_e_S_e_t_D_e_f_a_u_l_t_S_o_r_t_F_u_n_c

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

'object': ['GtkTreeSortable']  A 'GtkTreeSortable'

'sort.func': ['GtkTreeIterCompareFunc']  The comparison function

'user.data': [R object]  User data to pass to 'sort.func', or 'NULL'

_D_e_t_a_i_l_s:

     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.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

