summaryrefslogtreecommitdiff
path: root/gtk/gtkcelllayout.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-16 15:11:18 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-16 15:11:18 +0900
commitb0919b2058420d7edd4a40aa38f72fd5822e03ea (patch)
treedbfb850061dbd5faa3c0868b14ca7d7d4ab8e56c /gtk/gtkcelllayout.h
parent4ceb25e0115f1b745d1678a8e9610b9ea08295dc (diff)
downloadgtk+-b0919b2058420d7edd4a40aa38f72fd5822e03ea.tar.gz
Added "cell-packing" property GtkBuildable parsing to GtkCellLayout
Added gtk_cell_layout_get_area() iface vfunc and use that to apply packing cell properties to the child renderers when parsing from GtkBuilder.
Diffstat (limited to 'gtk/gtkcelllayout.h')
-rw-r--r--gtk/gtkcelllayout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h
index 04e4745ee9..0191ab5568 100644
--- a/gtk/gtkcelllayout.h
+++ b/gtk/gtkcelllayout.h
@@ -25,6 +25,7 @@
#define __GTK_CELL_LAYOUT_H__
#include <gtk/gtkcellrenderer.h>
+#include <gtk/gtkcellarea.h>
#include <gtk/gtktreeviewcolumn.h>
#include <gtk/gtkbuildable.h>
#include <gtk/gtkbuilder.h>
@@ -73,6 +74,8 @@ struct _GtkCellLayoutIface
GtkCellRenderer *cell,
gint position);
GList* (* get_cells) (GtkCellLayout *cell_layout);
+
+ GtkCellArea *(* get_area) (GtkCellLayout *cell_layout);
};
GType gtk_cell_layout_get_type (void) G_GNUC_CONST;
@@ -101,6 +104,8 @@ void gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout,
void gtk_cell_layout_reorder (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gint position);
+GtkCellArea *gtk_cell_layout_get_area (GtkCellLayout *cell_layout);
+
gboolean _gtk_cell_layout_buildable_custom_tag_start (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,