New function to walk through a model in a depth first manner, with the
Fri Jun 29 00:13:34 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c (gtk_tree_model_foreach): New function to walk through a model in a depth first manner, with the option to break out.
This commit is contained in:
committed by
Jonathan Blandford
parent
b6f809739b
commit
db93c6131e
@ -36,6 +36,7 @@ typedef struct _GtkTreePath GtkTreePath;
|
||||
typedef struct _GtkTreeRowReference GtkTreeRowReference;
|
||||
typedef struct _GtkTreeModel GtkTreeModel; /* Dummy typedef */
|
||||
typedef struct _GtkTreeModelIface GtkTreeModelIface;
|
||||
typedef gboolean (* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data);
|
||||
|
||||
|
||||
typedef enum
|
||||
@ -215,6 +216,11 @@ void gtk_tree_model_get_valist (GtkTreeModel *tree_model,
|
||||
va_list var_args);
|
||||
|
||||
|
||||
void gtk_tree_model_foreach (GtkTreeModel *model,
|
||||
GtkTreeModelForeachFunc func,
|
||||
gpointer user_data);
|
||||
|
||||
|
||||
/* Signals */
|
||||
void gtk_tree_model_range_changed (GtkTreeModel *tree_model,
|
||||
GtkTreePath *start_path,
|
||||
|
||||
Reference in New Issue
Block a user