diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-01 12:23:02 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-05 22:11:50 +0900 |
commit | cf8299f098ce5c0db8f2481b004801c87d3ac93f (patch) | |
tree | 7f79b327358f97e1886e001b061d6d7d08baf3fd /gtk/gtktreeprivate.h | |
parent | 4038cd76b331ad4214ee5ae8b517ad79fcc65913 (diff) | |
download | gtk+-cf8299f098ce5c0db8f2481b004801c87d3ac93f.tar.gz |
Changed _gtk_tree_view_column_set_width for _gtk_tree_view_column_allocate
Now the GtkTreeViewColumn takes care of move/resizing its window and
allocating its button (except for the special case of current drag_column
where the column doesnt actually get reallocated).
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r-- | gtk/gtktreeprivate.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h index 3277680b1f..b033ec3e45 100644 --- a/gtk/gtktreeprivate.h +++ b/gtk/gtktreeprivate.h @@ -103,11 +103,13 @@ gboolean _gtk_tree_selection_row_is_selectable (GtkTreeSelection *sele void _gtk_tree_view_column_realize_button (GtkTreeViewColumn *column); void _gtk_tree_view_column_unrealize_button (GtkTreeViewColumn *column); + void _gtk_tree_view_column_set_tree_view (GtkTreeViewColumn *column, GtkTreeView *tree_view); -void _gtk_tree_view_column_set_width (GtkTreeViewColumn *column, - int width, - int internal_width); +void _gtk_tree_view_column_allocate (GtkTreeViewColumn *tree_column, + int x_offset, + int width, + int cell_width); void _gtk_tree_view_column_unset_model (GtkTreeViewColumn *column, GtkTreeModel *old_model); void _gtk_tree_view_column_unset_tree_view (GtkTreeViewColumn *column); |