[gtk+] treeview: Add private get_focus_column() API
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Add private get_focus_column() API
- Date: Sat, 11 Feb 2012 04:15:55 +0000 (UTC)
commit 00a810ae04a16c5e5d97a980440b4cc1b5883894
Author: Benjamin Otte <otte redhat com>
Date: Sat Feb 11 02:49:12 2012 +0100
treeview: Add private get_focus_column() API
gtk/gtktreeprivate.h | 1 +
gtk/gtktreeview.c | 6 ++++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h
index 010c3c9..8103c72 100644
--- a/gtk/gtktreeprivate.h
+++ b/gtk/gtktreeprivate.h
@@ -85,6 +85,7 @@ void _gtk_tree_view_set_anchor_path (GtkTreeView
GtkTreePath *anchor_path);
GtkRBTree * _gtk_tree_view_get_rbtree (GtkTreeView *tree_view);
+GtkTreeViewColumn *_gtk_tree_view_get_focus_column (GtkTreeView *tree_view);
void _gtk_tree_view_set_focus_column (GtkTreeView *tree_view,
GtkTreeViewColumn *column);
GdkWindow *_gtk_tree_view_get_header_window (GtkTreeView *tree_view);
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index d1b641b..8a769f8 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -10015,6 +10015,12 @@ _gtk_tree_view_get_header_window (GtkTreeView *tree_view)
return tree_view->priv->header_window;
}
+GtkTreeViewColumn *
+_gtk_tree_view_get_focus_column (GtkTreeView *tree_view)
+{
+ return tree_view->priv->focus_column;
+}
+
void
_gtk_tree_view_set_focus_column (GtkTreeView *tree_view,
GtkTreeViewColumn *column)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]