diff options
author | 6 <jrb@redhat.com> | 2000-10-16 23:11:55 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2000-10-16 23:11:55 +0000 |
commit | 457a5f93357e251dce219e6b6fd1d83a8d3807ca (patch) | |
tree | bfa1cb3cecefbead2ad9ecc5079f8ffd74fa8e09 /gtk/gtktreestore.h | |
parent | 50ce7224fd9351ba63d481fd2e962f25e7d96a50 (diff) | |
download | gtk+-457a5f93357e251dce219e6b6fd1d83a8d3807ca.tar.gz |
Move GtkTreeModel from object to interface.
2000-10-16 <jrb@redhat.com>
* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Move
GtkTreeModel from object to interface.
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r-- | gtk/gtktreestore.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h index 02bfe216d3..ba4265289b 100644 --- a/gtk/gtktreestore.h +++ b/gtk/gtktreestore.h @@ -37,7 +37,7 @@ typedef struct _GtkTreeStoreClass GtkTreeStoreClass; struct _GtkTreeStore { - GtkTreeModel parent; + GtkObject parent; GtkTreeNode root; gint n_columns; GType *column_headers; @@ -45,7 +45,21 @@ struct _GtkTreeStore struct _GtkTreeStoreClass { - GtkTreeModelClass parent_class; + GtkObjectClass parent_class; + + /* signals */ + /* Will be moved into the GtkTreeModelIface eventually */ + void (* node_changed) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeNode node); + void (* node_inserted) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeNode node); + void (* node_child_toggled) (GtkTreeModel *tree_model, + GtkTreePath *path, + GtkTreeNode node); + void (* node_deleted) (GtkTreeModel *tree_model, + GtkTreePath *path); }; |