[rep-gtk] GtkTreeView Base Functions



commit 5c829402a4f171d6911634fd461cbabad279bd5b
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Wed Jan 6 12:56:19 2010 +0100

    GtkTreeView Base Functions

 ChangeLog    |   14 +++++++++++++
 gtk.defs     |   15 +++++++++----
 gtktree.defs |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 3 files changed, 84 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6e59307..202f605 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,20 @@
 	gtk_cell_renderer_toggle_set_active
 	gtk_cell_renderer_toggle_get_active
 	== GtkCellRendererToggle 2.12 API complete ==
+	****************** gtktreeview.h ******************
+	GtkTreeViewDropPosition (enum)
+	gtk_tree_view_get_selection
+	gtk_tree_view_set_hadjustment
+	gtk_tree_view_get_hadjustment
+	gtk_tree_view_set_vadjustment
+	gtk_tree_view_get_vadjustment
+	gtk_tree_view_set_headers_visible
+	gtk_tree_view_get_headers_visible
+	gtk_tree_view_set_headers_clickable
+	gtk_tree_view_get_headers_clickable
+	gtk_tree_view_columns_autosize
+	gtk_tree_view_set_rules_hint
+	gtk_tree_view_get_rules_hint
 
 2010-01-05  Christopher Bratusek <zanghar freenet de>
 	* gtktree.defs:
diff --git a/gtk.defs b/gtk.defs
index 5a93b44..6eb36f7 100644
--- a/gtk.defs
+++ b/gtk.defs
@@ -2,11 +2,16 @@
 
 ;; updated for gtk+ 2.12:
 
-;; GtkButton, GtkToggleButton, GtkCheckButton, GtkRadioButton, GtkFontButton
-;; GtkLinkButton, GtkColorButton, GtkVolumeButton, GtkStatusIcon
-;; GtkBuilder, GtkUIManager, GtkActionGroup, GtkAction, GtkComboBox
-;; GtkComboBoxEntry, GtkExpander, GtkFileChooserButton, GtkSpinButton
-;; GtkScaleButton
+;; GtkButton, GtkToggleButton, GtkCheckButton, GtkRadioButton, GtkFontButton,
+;; GtkLinkButton, GtkColorButton, GtkVolumeButton, GtkStatusIcon,
+;; GtkBuilder, GtkUIManager, GtkActionGroup, GtkAction, GtkComboBox,
+;; GtkComboBoxEntry, GtkExpander, GtkFileChooserButton, GtkSpinButton,
+;; GtkScaleButton, GtkTreeViewColumn, GtkCellRenderer, GtkFileChooser,
+;; GtkCellRendererText, GtkCellRendererAccel, GtkCellRendererSpin,
+;; GtkCellRendererProgress, GtkCellRendererPixbuf, GtkCellRendererToggle,
+;; GtkCellRendererCombo, GtkCellEditable, GtkFileFilter, GtkFileChooserWidget,
+;; GtkTreePath, GtkTreeSelection, GtkTreeIter, GtkTreeRowReference, GtkTreeModel,
+;; GtkAboutDialog, GtkAccelGroup, GtkAccelLabel,
 
 ;; updated for gtk+ 1.3:
 
diff --git a/gtktree.defs b/gtktree.defs
index 83ee0cc..03facbb 100644
--- a/gtktree.defs
+++ b/gtktree.defs
@@ -727,10 +727,16 @@
   GtkWidget
   ((GtkTreeViewColumn column)))
 
-;; GtkTreeView
+;; GtkTreeView [Base]
 
 (define-object GtkTreeView (GtkContainer))
 
+(define-enum GtkTreeViewDropPosition
+  (before GTK_TREE_VIEW_DROP_BEFORE)
+  (after GTK_TREE_VIEW_DROP_AFTER)
+  (into-before GTK_TREE_VIEW_DROP_INTO_OR_BEFORE)
+  (into-after GTK_TREE_VIEW_DROP_INTO_OR_AFTER))
+
 (define-func gtk_tree_view_new
   GtkWidget
   ())
@@ -747,3 +753,56 @@
   none
   ((GtkTreeView treeview)
    (GtkTreeModel model)))
+
+(define-func gtk_tree_view_get_selection
+  GtkTreeSelection
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_set_hadjustment
+  none
+  ((GtkTreeView tree)
+   (GtkAdjustment adjustment)))
+
+(define-func gtk_tree_view_get_hadjustment
+  GtkAdjustment
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_set_vadjustment
+  none
+  ((GtkTreeView tree)
+   (GtkAdjustment adjustment)))
+
+(define-func gtk_tree_view_get_vadjustment
+  GtkAdjustment
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_set_headers_visible
+  none
+  ((GtkTreeView tree)
+   (bool visible)))
+
+(define-func gtk_tree_view_get_headers_visible
+  bool
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_set_headers_clickable
+  none
+  ((GtkTreeView tree)
+   (bool clickable)))
+
+(define-func gtk_tree_view_get_headers_clickable
+  bool
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_columns_autosize
+  none
+  ((GtkTreeView tree)))
+
+(define-func gtk_tree_view_set_rules_hint
+  none
+  ((GtkTreeView tree)
+   (bool hint)))
+
+(define-func gtk_tree_view_get_rules_hint
+  bool
+  ((GtkTreeView tree)))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]