[gimp] app: add new accessor gimp_container_tree_view_get_name_cell()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add new accessor gimp_container_tree_view_get_name_cell()
- Date: Thu, 7 Nov 2013 10:37:33 +0000 (UTC)
commit 78ad0327da4b85e5d6d2807b670f06abe47824fd
Author: Michael Natterer <mitch gimp org>
Date: Thu Nov 7 11:32:23 2013 +0100
app: add new accessor gimp_container_tree_view_get_name_cell()
app/widgets/gimpcontainertreeview.c | 8 ++++++++
app/widgets/gimpcontainertreeview.h | 4 ++++
2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpcontainertreeview.c b/app/widgets/gimpcontainertreeview.c
index 8b40e47..af33e9d 100644
--- a/app/widgets/gimpcontainertreeview.c
+++ b/app/widgets/gimpcontainertreeview.c
@@ -445,6 +445,14 @@ gimp_container_tree_view_new (GimpContainer *container,
return GTK_WIDGET (tree_view);
}
+GtkCellRenderer *
+gimp_container_tree_view_get_name_cell (GimpContainerTreeView *tree_view)
+{
+ g_return_val_if_fail (GIMP_IS_CONTAINER_TREE_VIEW (tree_view), NULL);
+
+ return tree_view->priv->name_cell;
+}
+
void
gimp_container_tree_view_set_main_column_title (GimpContainerTreeView *tree_view,
const gchar *title)
diff --git a/app/widgets/gimpcontainertreeview.h b/app/widgets/gimpcontainertreeview.h
index b9d0cc6..5ad9ec9 100644
--- a/app/widgets/gimpcontainertreeview.h
+++ b/app/widgets/gimpcontainertreeview.h
@@ -108,6 +108,10 @@ GtkWidget * gimp_container_tree_view_new (GimpContainer *container,
gint view_size,
gint view_border_width);
+GtkCellRenderer *
+ gimp_container_tree_view_get_name_cell
+ (GimpContainerTreeView *tree_view);
+
void gimp_container_tree_view_set_main_column_title
(GimpContainerTreeView *tree_view,
const gchar *title);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]