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

Go to the source code of this file.

Classes

struct  _GtkTreeIter
 
struct  _GtkTreeModelIface
 

Macros

#define GTK_TYPE_TREE_MODEL   (gtk_tree_model_get_type ())
 
#define GTK_TREE_MODEL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel))
 
#define GTK_IS_TREE_MODEL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL))
 
#define GTK_TREE_MODEL_GET_IFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface))
 
#define GTK_TYPE_TREE_ITER   (gtk_tree_iter_get_type ())
 
#define GTK_TYPE_TREE_PATH   (gtk_tree_path_get_type ())
 
#define GTK_TYPE_TREE_ROW_REFERENCE   (gtk_tree_row_reference_get_type ())
 
#define gtk_tree_path_new_root()   gtk_tree_path_new_first()
 
#define gtk_tree_model_get_iter_root(tree_model, iter)   gtk_tree_model_get_iter_first(tree_model, iter)
 

Typedefs

typedef struct _GtkTreeIter GtkTreeIter
 
typedef struct _GtkTreePath GtkTreePath
 
typedef struct _GtkTreeRowReference GtkTreeRowReference
 
typedef struct _GtkTreeModel GtkTreeModel
 
typedef struct _GtkTreeModelIface GtkTreeModelIface
 
typedef gboolean(* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
 

Enumerations

enum  GtkTreeModelFlags { GTK_TREE_MODEL_ITERS_PERSIST = 1 << 0 , GTK_TREE_MODEL_LIST_ONLY = 1 << 1 }
 

Functions

GtkTreePathgtk_tree_path_new (void)
 
GtkTreePathgtk_tree_path_new_from_string (const gchar *path)
 
GtkTreePathgtk_tree_path_new_from_indices (gint first_index,...)
 
gchar * gtk_tree_path_to_string (GtkTreePath *path)
 
GtkTreePathgtk_tree_path_new_first (void)
 
void gtk_tree_path_append_index (GtkTreePath *path, gint index_)
 
void gtk_tree_path_prepend_index (GtkTreePath *path, gint index_)
 
gint gtk_tree_path_get_depth (GtkTreePath *path)
 
gint * gtk_tree_path_get_indices (GtkTreePath *path)
 
gint * gtk_tree_path_get_indices_with_depth (GtkTreePath *path, gint *depth)
 
void gtk_tree_path_free (GtkTreePath *path)
 
GtkTreePathgtk_tree_path_copy (const GtkTreePath *path)
 
GType gtk_tree_path_get_type (void) G_GNUC_CONST
 
gint gtk_tree_path_compare (const GtkTreePath *a, const GtkTreePath *b)
 
void gtk_tree_path_next (GtkTreePath *path)
 
gboolean gtk_tree_path_prev (GtkTreePath *path)
 
gboolean gtk_tree_path_up (GtkTreePath *path)
 
void gtk_tree_path_down (GtkTreePath *path)
 
gboolean gtk_tree_path_is_ancestor (GtkTreePath *path, GtkTreePath *descendant)
 
gboolean gtk_tree_path_is_descendant (GtkTreePath *path, GtkTreePath *ancestor)
 
GType gtk_tree_row_reference_get_type (void) G_GNUC_CONST
 
GtkTreeRowReferencegtk_tree_row_reference_new (GtkTreeModel *model, GtkTreePath *path)
 
GtkTreeRowReferencegtk_tree_row_reference_new_proxy (GObject *proxy, GtkTreeModel *model, GtkTreePath *path)
 
GtkTreePathgtk_tree_row_reference_get_path (GtkTreeRowReference *reference)
 
GtkTreeModelgtk_tree_row_reference_get_model (GtkTreeRowReference *reference)
 
gboolean gtk_tree_row_reference_valid (GtkTreeRowReference *reference)
 
GtkTreeRowReferencegtk_tree_row_reference_copy (GtkTreeRowReference *reference)
 
void gtk_tree_row_reference_free (GtkTreeRowReference *reference)
 
void gtk_tree_row_reference_inserted (GObject *proxy, GtkTreePath *path)
 
void gtk_tree_row_reference_deleted (GObject *proxy, GtkTreePath *path)
 
void gtk_tree_row_reference_reordered (GObject *proxy, GtkTreePath *path, GtkTreeIter *iter, gint *new_order)
 
GtkTreeItergtk_tree_iter_copy (GtkTreeIter *iter)
 
void gtk_tree_iter_free (GtkTreeIter *iter)
 
GType gtk_tree_iter_get_type (void) G_GNUC_CONST
 
GType gtk_tree_model_get_type (void) G_GNUC_CONST
 
GtkTreeModelFlags gtk_tree_model_get_flags (GtkTreeModel *tree_model)
 
gint gtk_tree_model_get_n_columns (GtkTreeModel *tree_model)
 
GType gtk_tree_model_get_column_type (GtkTreeModel *tree_model, gint index_)
 
gboolean gtk_tree_model_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path)
 
gboolean gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model, GtkTreeIter *iter, const gchar *path_string)
 
gchar * gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
gboolean gtk_tree_model_get_iter_first (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
GtkTreePathgtk_tree_model_get_path (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
void gtk_tree_model_get_value (GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value)
 
gboolean gtk_tree_model_iter_next (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
gboolean gtk_tree_model_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent)
 
gboolean gtk_tree_model_iter_has_child (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
gint gtk_tree_model_iter_n_children (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
gboolean gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, gint n)
 
gboolean gtk_tree_model_iter_parent (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child)
 
void gtk_tree_model_ref_node (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
void gtk_tree_model_unref_node (GtkTreeModel *tree_model, GtkTreeIter *iter)
 
void gtk_tree_model_get (GtkTreeModel *tree_model, GtkTreeIter *iter,...)
 
void gtk_tree_model_get_valist (GtkTreeModel *tree_model, GtkTreeIter *iter, va_list var_args)
 
void gtk_tree_model_foreach (GtkTreeModel *model, GtkTreeModelForeachFunc func, gpointer user_data)
 
void gtk_tree_model_row_changed (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter)
 
void gtk_tree_model_row_inserted (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter)
 
void gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter)
 
void gtk_tree_model_row_deleted (GtkTreeModel *tree_model, GtkTreePath *path)
 
void gtk_tree_model_rows_reordered (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gint *new_order)
 

Macro Definition Documentation

◆ GTK_IS_TREE_MODEL

#define GTK_IS_TREE_MODEL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL))

Definition at line 36 of file gtktreemodel.h.

◆ GTK_TREE_MODEL

#define GTK_TREE_MODEL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel))

Definition at line 35 of file gtktreemodel.h.

◆ GTK_TREE_MODEL_GET_IFACE

#define GTK_TREE_MODEL_GET_IFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface))

Definition at line 37 of file gtktreemodel.h.

◆ gtk_tree_model_get_iter_root

#define gtk_tree_model_get_iter_root (   tree_model,
  iter 
)    gtk_tree_model_get_iter_first(tree_model, iter)

Definition at line 248 of file gtktreemodel.h.

◆ gtk_tree_path_new_root

#define gtk_tree_path_new_root ( )    gtk_tree_path_new_first()

Definition at line 155 of file gtktreemodel.h.

◆ GTK_TYPE_TREE_ITER

#define GTK_TYPE_TREE_ITER   (gtk_tree_iter_get_type ())

Definition at line 39 of file gtktreemodel.h.

◆ GTK_TYPE_TREE_MODEL

#define GTK_TYPE_TREE_MODEL   (gtk_tree_model_get_type ())

Definition at line 34 of file gtktreemodel.h.

◆ GTK_TYPE_TREE_PATH

#define GTK_TYPE_TREE_PATH   (gtk_tree_path_get_type ())

Definition at line 40 of file gtktreemodel.h.

◆ GTK_TYPE_TREE_ROW_REFERENCE

#define GTK_TYPE_TREE_ROW_REFERENCE   (gtk_tree_row_reference_get_type ())

Definition at line 41 of file gtktreemodel.h.

Typedef Documentation

◆ GtkTreeIter

typedef struct _GtkTreeIter GtkTreeIter

Definition at line 32 of file gtktreemodel.h.

◆ GtkTreeModel

typedef struct _GtkTreeModel GtkTreeModel

Definition at line 32 of file gtktreemodel.h.

◆ GtkTreeModelForeachFunc

typedef gboolean(* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)

Definition at line 48 of file gtktreemodel.h.

◆ GtkTreeModelIface

Definition at line 32 of file gtktreemodel.h.

◆ GtkTreePath

typedef struct _GtkTreePath GtkTreePath

Definition at line 32 of file gtktreemodel.h.

◆ GtkTreeRowReference

typedef struct _GtkTreeRowReference GtkTreeRowReference

Definition at line 32 of file gtktreemodel.h.

Enumeration Type Documentation

◆ GtkTreeModelFlags

Enumerator
GTK_TREE_MODEL_ITERS_PERSIST 
GTK_TREE_MODEL_LIST_ONLY 

Definition at line 51 of file gtktreemodel.h.

Function Documentation

◆ gtk_tree_iter_copy()

GtkTreeIter* gtk_tree_iter_copy ( GtkTreeIter iter)

◆ gtk_tree_iter_free()

void gtk_tree_iter_free ( GtkTreeIter iter)

◆ gtk_tree_iter_get_type()

GType gtk_tree_iter_get_type ( void  )

◆ gtk_tree_model_foreach()

void gtk_tree_model_foreach ( GtkTreeModel model,
GtkTreeModelForeachFunc  func,
gpointer  user_data 
)

◆ gtk_tree_model_get()

void gtk_tree_model_get ( GtkTreeModel tree_model,
GtkTreeIter iter,
  ... 
)

◆ gtk_tree_model_get_column_type()

GType gtk_tree_model_get_column_type ( GtkTreeModel tree_model,
gint  index_ 
)

◆ gtk_tree_model_get_flags()

GtkTreeModelFlags gtk_tree_model_get_flags ( GtkTreeModel tree_model)

◆ gtk_tree_model_get_iter()

gboolean gtk_tree_model_get_iter ( GtkTreeModel tree_model,
GtkTreeIter iter,
GtkTreePath path 
)

◆ gtk_tree_model_get_iter_first()

gboolean gtk_tree_model_get_iter_first ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_get_iter_from_string()

gboolean gtk_tree_model_get_iter_from_string ( GtkTreeModel tree_model,
GtkTreeIter iter,
const gchar *  path_string 
)

◆ gtk_tree_model_get_n_columns()

gint gtk_tree_model_get_n_columns ( GtkTreeModel tree_model)

◆ gtk_tree_model_get_path()

GtkTreePath* gtk_tree_model_get_path ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_get_string_from_iter()

gchar* gtk_tree_model_get_string_from_iter ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_get_type()

GType gtk_tree_model_get_type ( void  )

◆ gtk_tree_model_get_valist()

void gtk_tree_model_get_valist ( GtkTreeModel tree_model,
GtkTreeIter iter,
va_list  var_args 
)

◆ gtk_tree_model_get_value()

void gtk_tree_model_get_value ( GtkTreeModel tree_model,
GtkTreeIter iter,
gint  column,
GValue *  value 
)

◆ gtk_tree_model_iter_children()

gboolean gtk_tree_model_iter_children ( GtkTreeModel tree_model,
GtkTreeIter iter,
GtkTreeIter parent 
)

◆ gtk_tree_model_iter_has_child()

gboolean gtk_tree_model_iter_has_child ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_iter_n_children()

gint gtk_tree_model_iter_n_children ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_iter_next()

gboolean gtk_tree_model_iter_next ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_iter_nth_child()

gboolean gtk_tree_model_iter_nth_child ( GtkTreeModel tree_model,
GtkTreeIter iter,
GtkTreeIter parent,
gint  n 
)

◆ gtk_tree_model_iter_parent()

gboolean gtk_tree_model_iter_parent ( GtkTreeModel tree_model,
GtkTreeIter iter,
GtkTreeIter child 
)

◆ gtk_tree_model_ref_node()

void gtk_tree_model_ref_node ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_model_row_changed()

void gtk_tree_model_row_changed ( GtkTreeModel tree_model,
GtkTreePath path,
GtkTreeIter iter 
)

◆ gtk_tree_model_row_deleted()

void gtk_tree_model_row_deleted ( GtkTreeModel tree_model,
GtkTreePath path 
)

◆ gtk_tree_model_row_has_child_toggled()

void gtk_tree_model_row_has_child_toggled ( GtkTreeModel tree_model,
GtkTreePath path,
GtkTreeIter iter 
)

◆ gtk_tree_model_row_inserted()

void gtk_tree_model_row_inserted ( GtkTreeModel tree_model,
GtkTreePath path,
GtkTreeIter iter 
)

◆ gtk_tree_model_rows_reordered()

void gtk_tree_model_rows_reordered ( GtkTreeModel tree_model,
GtkTreePath path,
GtkTreeIter iter,
gint *  new_order 
)

◆ gtk_tree_model_unref_node()

void gtk_tree_model_unref_node ( GtkTreeModel tree_model,
GtkTreeIter iter 
)

◆ gtk_tree_path_append_index()

void gtk_tree_path_append_index ( GtkTreePath path,
gint  index_ 
)

◆ gtk_tree_path_compare()

gint gtk_tree_path_compare ( const GtkTreePath a,
const GtkTreePath b 
)

◆ gtk_tree_path_copy()

GtkTreePath* gtk_tree_path_copy ( const GtkTreePath path)

◆ gtk_tree_path_down()

void gtk_tree_path_down ( GtkTreePath path)

◆ gtk_tree_path_free()

void gtk_tree_path_free ( GtkTreePath path)

◆ gtk_tree_path_get_depth()

gint gtk_tree_path_get_depth ( GtkTreePath path)

◆ gtk_tree_path_get_indices()

gint* gtk_tree_path_get_indices ( GtkTreePath path)

◆ gtk_tree_path_get_indices_with_depth()

gint* gtk_tree_path_get_indices_with_depth ( GtkTreePath path,
gint *  depth 
)

◆ gtk_tree_path_get_type()

GType gtk_tree_path_get_type ( void  )

◆ gtk_tree_path_is_ancestor()

gboolean gtk_tree_path_is_ancestor ( GtkTreePath path,
GtkTreePath descendant 
)

◆ gtk_tree_path_is_descendant()

gboolean gtk_tree_path_is_descendant ( GtkTreePath path,
GtkTreePath ancestor 
)

◆ gtk_tree_path_new()

GtkTreePath* gtk_tree_path_new ( void  )

◆ gtk_tree_path_new_first()

GtkTreePath* gtk_tree_path_new_first ( void  )

◆ gtk_tree_path_new_from_indices()

GtkTreePath* gtk_tree_path_new_from_indices ( gint  first_index,
  ... 
)

◆ gtk_tree_path_new_from_string()

GtkTreePath* gtk_tree_path_new_from_string ( const gchar *  path)

◆ gtk_tree_path_next()

void gtk_tree_path_next ( GtkTreePath path)

◆ gtk_tree_path_prepend_index()

void gtk_tree_path_prepend_index ( GtkTreePath path,
gint  index_ 
)

◆ gtk_tree_path_prev()

gboolean gtk_tree_path_prev ( GtkTreePath path)

◆ gtk_tree_path_to_string()

gchar* gtk_tree_path_to_string ( GtkTreePath path)

◆ gtk_tree_path_up()

gboolean gtk_tree_path_up ( GtkTreePath path)

◆ gtk_tree_row_reference_copy()

GtkTreeRowReference* gtk_tree_row_reference_copy ( GtkTreeRowReference reference)

◆ gtk_tree_row_reference_deleted()

void gtk_tree_row_reference_deleted ( GObject *  proxy,
GtkTreePath path 
)

◆ gtk_tree_row_reference_free()

void gtk_tree_row_reference_free ( GtkTreeRowReference reference)

◆ gtk_tree_row_reference_get_model()

GtkTreeModel* gtk_tree_row_reference_get_model ( GtkTreeRowReference reference)

◆ gtk_tree_row_reference_get_path()

GtkTreePath* gtk_tree_row_reference_get_path ( GtkTreeRowReference reference)

◆ gtk_tree_row_reference_get_type()

GType gtk_tree_row_reference_get_type ( void  )

◆ gtk_tree_row_reference_inserted()

void gtk_tree_row_reference_inserted ( GObject *  proxy,
GtkTreePath path 
)

◆ gtk_tree_row_reference_new()

GtkTreeRowReference* gtk_tree_row_reference_new ( GtkTreeModel model,
GtkTreePath path 
)

◆ gtk_tree_row_reference_new_proxy()

GtkTreeRowReference* gtk_tree_row_reference_new_proxy ( GObject *  proxy,
GtkTreeModel model,
GtkTreePath path 
)

◆ gtk_tree_row_reference_reordered()

void gtk_tree_row_reference_reordered ( GObject *  proxy,
GtkTreePath path,
GtkTreeIter iter,
gint *  new_order 
)

◆ gtk_tree_row_reference_valid()

gboolean gtk_tree_row_reference_valid ( GtkTreeRowReference reference)