gtkRecentChooserSetSortFunc      package:RGtk2      R Documentation

_g_t_k_R_e_c_e_n_t_C_h_o_o_s_e_r_S_e_t_S_o_r_t_F_u_n_c

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

     Sets the comparison function used when sorting to be 'sort.func'. 
     If the 'chooser' has the sort type set to 'GTK_RECENT_SORT_CUSTOM'
     then the chooser will sort using this function.

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

     gtkRecentChooserSetSortFunc(object, sort.func, sort.data)

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

'object': ['GtkRecentChooser']  a 'GtkRecentChooser'

'sort.func': ['GtkRecentSortFunc']  the comparison function

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

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

     To the comparison function will be passed two 'GtkRecentInfo'
     structs and 'sort.data';  'sort.func' should return a positive
     integer if the first item comes before the second, zero if the two
     items are equal and a negative integer if the first item comes
     after the second.  

     Since  2.10

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

     Derived by RGtkGen from GTK+ documentation

