示例#1
0
 static void SetDefaultSortFunc_cb(IntPtr inst, GtkSharp.TreeIterCompareFuncNative sort_func, IntPtr user_data, GLib.DestroyNotify destroy)
 {
     try {
         ITreeSortableImplementor            __obj             = GLib.Object.GetObject(inst, false) as ITreeSortableImplementor;
         GtkSharp.TreeIterCompareFuncInvoker sort_func_invoker = new GtkSharp.TreeIterCompareFuncInvoker(sort_func, user_data, destroy);
         __obj.DefaultSortFunc = sort_func_invoker.Handler;
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
示例#2
0
 static extern void gtk_tree_sortable_set_sort_func(IntPtr raw, int sort_column_id, GtkSharp.TreeIterCompareFuncNative sort_func, IntPtr user_data, GLib.DestroyNotify destroy);