summaryrefslogtreecommitdiff
path: root/gtk/gtkcolumnviewcolumnprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-11-07 23:40:47 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 19:26:46 -0400
commit326cb1148b8a46416239bd00782ad1a07109fbcd (patch)
treef86ee51b759412a83ef43d861d44bc6e7512d58a /gtk/gtkcolumnviewcolumnprivate.h
parent767e7cb06f35d1df6f380c0091227870e6ef497d (diff)
downloadgtk+-326cb1148b8a46416239bd00782ad1a07109fbcd.tar.gz
columnview: Add a custom LayoutManager
The ColumnView now allocates column widths first and then the individual rows use the new layout manager which looks at the column allocations to allocate their children.
Diffstat (limited to 'gtk/gtkcolumnviewcolumnprivate.h')
-rw-r--r--gtk/gtkcolumnviewcolumnprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcolumnviewcolumnprivate.h b/gtk/gtkcolumnviewcolumnprivate.h
index fc0fe07c78..d7e06a5b0f 100644
--- a/gtk/gtkcolumnviewcolumnprivate.h
+++ b/gtk/gtkcolumnviewcolumnprivate.h
@@ -37,5 +37,11 @@ void gtk_column_view_column_queue_resize (GtkColu
void gtk_column_view_column_measure (GtkColumnViewColumn *self,
int *minimum,
int *natural);
+void gtk_column_view_column_allocate (GtkColumnViewColumn *self,
+ int offset,
+ int size);
+void gtk_column_view_column_get_allocation (GtkColumnViewColumn *self,
+ int *offset,
+ int *size);
#endif /* __GTK_COLUMN_VIEW_COLUMN_PRIVATE_H__ */