20 #ifndef __GTK_TREE_SORTABLE_H__
21 #define __GTK_TREE_SORTABLE_H__
24 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
34 #define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())
35 #define GTK_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable))
36 #define GTK_TREE_SORTABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
37 #define GTK_IS_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE))
38 #define GTK_TREE_SORTABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
72 GDestroyNotify destroy);
76 GDestroyNotify destroy);
94 GDestroyNotify destroy);
98 GDestroyNotify destroy);
struct _GtkTreeModel GtkTreeModel
void gtk_tree_sortable_set_default_sort_func(GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy)
struct _GtkTreeSortable GtkTreeSortable
void gtk_tree_sortable_set_sort_column_id(GtkTreeSortable *sortable, gint sort_column_id, GtkSortType order)
gboolean gtk_tree_sortable_get_sort_column_id(GtkTreeSortable *sortable, gint *sort_column_id, GtkSortType *order)
gboolean gtk_tree_sortable_has_default_sort_func(GtkTreeSortable *sortable)
void gtk_tree_sortable_sort_column_changed(GtkTreeSortable *sortable)
gint(* GtkTreeIterCompareFunc)(GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data)
@ GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
@ GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
GType gtk_tree_sortable_get_type(void) G_GNUC_CONST
void gtk_tree_sortable_set_sort_func(GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy)
PBD::PropertyDescriptor< uint32_t > order
gboolean(* has_default_sort_func)(GtkTreeSortable *sortable)
void(* set_default_sort_func)(GtkTreeSortable *sortable, GtkTreeIterCompareFunc func, gpointer data, GDestroyNotify destroy)
void(* sort_column_changed)(GtkTreeSortable *sortable)
gboolean(* get_sort_column_id)(GtkTreeSortable *sortable, gint *sort_column_id, GtkSortType *order)
void(* set_sort_column_id)(GtkTreeSortable *sortable, gint sort_column_id, GtkSortType order)
void(* set_sort_func)(GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc func, gpointer data, GDestroyNotify destroy)