Ardour  9.0-pre0-582-g084a23a80d
gtktreesortable.h File Reference
#include <gtk/gtktreemodel.h>
#include <gtk/gtktypeutils.h>
Include dependency graph for gtktreesortable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkTreeSortableIface
 

Macros

#define GTK_TYPE_TREE_SORTABLE   (gtk_tree_sortable_get_type ())
 
#define GTK_TREE_SORTABLE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable))
 
#define GTK_TREE_SORTABLE_CLASS(obj)   (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
 
#define GTK_IS_TREE_SORTABLE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE))
 
#define GTK_TREE_SORTABLE_GET_IFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
 

Typedefs

typedef struct _GtkTreeSortable GtkTreeSortable
 
typedef struct _GtkTreeSortableIface GtkTreeSortableIface
 
typedef gint(* GtkTreeIterCompareFunc) (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data)
 

Enumerations

enum  { GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1 , GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2 }
 

Functions

GType gtk_tree_sortable_get_type (void) G_GNUC_CONST
 
void gtk_tree_sortable_sort_column_changed (GtkTreeSortable *sortable)
 
gboolean gtk_tree_sortable_get_sort_column_id (GtkTreeSortable *sortable, gint *sort_column_id, GtkSortType *order)
 
void gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable, gint sort_column_id, GtkSortType order)
 
void gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy)
 
void gtk_tree_sortable_set_default_sort_func (GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy)
 
gboolean gtk_tree_sortable_has_default_sort_func (GtkTreeSortable *sortable)
 

Macro Definition Documentation

◆ GTK_IS_TREE_SORTABLE

#define GTK_IS_TREE_SORTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE))

Definition at line 37 of file gtktreesortable.h.

◆ GTK_TREE_SORTABLE

#define GTK_TREE_SORTABLE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable))

Definition at line 35 of file gtktreesortable.h.

◆ GTK_TREE_SORTABLE_CLASS

#define GTK_TREE_SORTABLE_CLASS (   obj)    (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))

Definition at line 36 of file gtktreesortable.h.

◆ GTK_TREE_SORTABLE_GET_IFACE

#define GTK_TREE_SORTABLE_GET_IFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))

Definition at line 38 of file gtktreesortable.h.

◆ GTK_TYPE_TREE_SORTABLE

#define GTK_TYPE_TREE_SORTABLE   (gtk_tree_sortable_get_type ())

Definition at line 34 of file gtktreesortable.h.

Typedef Documentation

◆ GtkTreeIterCompareFunc

typedef gint(* GtkTreeIterCompareFunc) (GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data)

Definition at line 48 of file gtktreesortable.h.

◆ GtkTreeSortable

typedef struct _GtkTreeSortable GtkTreeSortable

Definition at line 32 of file gtktreesortable.h.

◆ GtkTreeSortableIface

Definition at line 32 of file gtktreesortable.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID 
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID 

Definition at line 40 of file gtktreesortable.h.

Function Documentation

◆ gtk_tree_sortable_get_sort_column_id()

gboolean gtk_tree_sortable_get_sort_column_id ( GtkTreeSortable sortable,
gint *  sort_column_id,
GtkSortType order 
)

◆ gtk_tree_sortable_get_type()

GType gtk_tree_sortable_get_type ( void  )

◆ gtk_tree_sortable_has_default_sort_func()

gboolean gtk_tree_sortable_has_default_sort_func ( GtkTreeSortable sortable)

◆ gtk_tree_sortable_set_default_sort_func()

void gtk_tree_sortable_set_default_sort_func ( GtkTreeSortable sortable,
GtkTreeIterCompareFunc  sort_func,
gpointer  user_data,
GDestroyNotify  destroy 
)

◆ gtk_tree_sortable_set_sort_column_id()

void gtk_tree_sortable_set_sort_column_id ( GtkTreeSortable sortable,
gint  sort_column_id,
GtkSortType  order 
)

◆ gtk_tree_sortable_set_sort_func()

void gtk_tree_sortable_set_sort_func ( GtkTreeSortable sortable,
gint  sort_column_id,
GtkTreeIterCompareFunc  sort_func,
gpointer  user_data,
GDestroyNotify  destroy 
)

◆ gtk_tree_sortable_sort_column_changed()

void gtk_tree_sortable_sort_column_changed ( GtkTreeSortable sortable)