summaryrefslogtreecommitdiff
path: root/gtk/gtktreeviewcolumn.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2010-11-28 19:01:49 +0100
committerKristian Rietveld <kris@gtk.org>2010-11-28 19:54:24 +0100
commit6fe9df2f1d553dd03e5c4a876b6c411a94a6585f (patch)
tree530d17269336d08dd4d5c492b0d81b066e2c5613 /gtk/gtktreeviewcolumn.h
parent05b217ab2af9d86c4749ad2d3d50bd45b40018f9 (diff)
downloadgtk+-6fe9df2f1d553dd03e5c4a876b6c411a94a6585f.tar.gz
First go at migrating GtkTreeView(Column) to GtkCellArea
This is still very much a work in progress, but it renders and more or less works. I will be fixing up the details in the very near future. Important: this commit breaks ABI as it modifies the GtkTreeViewColumn structure in gtktreeviewcolumn.h. This is a sealed structure that needs to be moved to an internal header file, most likely gtktreeprivate.h.
Diffstat (limited to 'gtk/gtktreeviewcolumn.h')
-rw-r--r--gtk/gtktreeviewcolumn.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h
index 6c0b3a1e88..f86f75a216 100644
--- a/gtk/gtktreeviewcolumn.h
+++ b/gtk/gtktreeviewcolumn.h
@@ -27,6 +27,7 @@
#include <gtk/gtkcellrenderer.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
+#include <gtk/gtkcellarea.h>
G_BEGIN_DECLS
@@ -91,10 +92,8 @@ struct _GtkTreeViewColumn
GtkWidget *GSEAL (arrow);
GtkWidget *GSEAL (alignment);
GdkWindow *GSEAL (window);
- GtkCellEditable *GSEAL (editable_widget);
gfloat GSEAL (xalign);
gulong GSEAL (property_changed_signal);
- gint GSEAL (spacing);
/* Sizing fields */
/* see gtk+/doc/tree-column-sizing.txt for more information on them */
@@ -112,7 +111,6 @@ struct _GtkTreeViewColumn
gint GSEAL (drag_y);
gchar *GSEAL (title);
- GList *GSEAL (cell_list);
/* Sorting */
gulong GSEAL (sort_clicked_signal);
@@ -120,6 +118,13 @@ struct _GtkTreeViewColumn
gint GSEAL (sort_column_id);
GtkSortType GSEAL (sort_order);
+ /* Cell area */
+ GtkCellArea *cell_area;
+ GtkCellAreaContext *cell_area_context;
+
+ gulong add_editable_signal;
+ gulong remove_editable_signal;
+
/* Flags */
guint GSEAL (visible) : 1;
guint GSEAL (resizable) : 1;