[rep-gtk] Added GtkTreePath from 2.12 API
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rep-gtk] Added GtkTreePath from 2.12 API
- Date: Thu, 6 Aug 2009 18:49:17 +0000 (UTC)
commit 8bddb40252b309032f5add9a842a62c1b638333f
Author: chrisb <zanghar freenet de>
Date: Thu Aug 6 20:48:22 2009 +0200
Added GtkTreePath from 2.12 API
ChangeLog | 26 +++++++++++++++++
gtk.defs | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4e833fe..e676cb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2009-08-06 Christopher Bratusek <zanghar freenet de>
+ * gtk.defs: implementing GtkTreeView [part2]
+ *********** gtktreemodel.h ***********
+ boxed GtkTreeIter
+ boxed GtkTreePath
+ gtk_tree_path_new
+ gtk_tree_path_new_from_string
+ gtk_tree_path_new_from_indices
+ gtk_tree_path_to_string
+ gtk_tree_path_new_first
+ gtk_tree_path_append_index
+ gtk_tree_path_prepend_index
+ gtk_tree_path_get_depth
+ gtk_tree_path_get_indices
+ gtk_tree_path_free
+ gtk_tree_path_copy
+ gtk_tree_path_get_type
+ gtk_tree_path_compare
+ gtk_tree_path_next
+ gtk_tree_path_prev
+ gtk_tree_path_up
+ gtk_tree_path_down
+ gtk_tree_path_is_ancestor
+ gtk_tree_path_is_descendant
+ boxed GtkTreeRowReference
+
2009-08-01 Christopher Bratusek <zanghar freenet de>
* build-gtk.jl: define-type GQuark (basic)
renamed gclosure type to GClosure
diff --git a/gtk.defs b/gtk.defs
index 2158332..29c88b9 100644
--- a/gtk.defs
+++ b/gtk.defs
@@ -5192,6 +5192,99 @@
(iters-persist GTK_TREE_MODEL_ITERS_PERSIST)
(list-only GTK_TREE_MODEL_LIST_ONLY))
+(define-boxed GtkTreeIter
+ (copy gtk_tree_iter_copy)
+ (free gtk_tree_iter_free))
+
+(define-boxed GtkTreePath
+ (copy gtk_tree_path_copy)
+ (free gtk_tree_path_free))
+
+(define-func gtk_tree_path_new
+ GtkTreePath
+ ())
+
+(define-func gtk_tree_path_new_from_string
+ GtkTreePath
+ ((string path)))
+
+(define-func gtk_tree_path_new_from_indices
+ GtkTreePath
+ ((int indices)))
+
+(define-func gtk_tree_path_to_string
+ string
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_new_first
+ GtkTreePath
+ ())
+
+(define-func gtk_tree_path_append_index
+ none
+ ((GtkTreePath path)
+ (int index)))
+
+(define-func gtk_tree_path_prepend_index
+ none
+ ((GtkTreePath path)
+ (int index)))
+
+(define-func gtk_tree_path_get_depth
+ int
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_get_indices
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_free
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_copy
+ GtkTreePath
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_get_type
+ type
+ ())
+
+(define-func gtk_tree_path_compare
+ int
+ ((GtkTreePath path1)
+ (GtkTreePath path2)))
+
+(define-func gtk_tree_path_next
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_prev
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_up
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_down
+ none
+ ((GtkTreePath path)))
+
+(define-func gtk_tree_path_is_ancestor
+ bool
+ ((GtkTreePath path)
+ (GtkTreePath descendant)))
+
+(define-func gtk_tree_path_is_descendant
+ bool
+ ((GtkTreePath path)
+ (GtkTreePath ancestor)))
+
+(define-boxed GtkTreeRowReference
+ (copy gtk_tree_row_reference_copy)
+ (free gtk_tree_row_reference_free))
+
(define-object GtkTreeSelection (GObject))
(define-func gtk_tree_selection_set_mode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]