diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-11-19 21:18:22 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-11-19 21:18:22 +0000 |
commit | 94a097ef5d8aa475fdb38b1cdade87e72d068d8d (patch) | |
tree | fbcb5b4a8681899da6986157c073319910615dd9 /gtk/gtktreeviewcolumn.h | |
parent | 650e82680a70721eca9a2f176f6fbd1824a3eb05 (diff) | |
download | gtk+-94a097ef5d8aa475fdb38b1cdade87e72d068d8d.tar.gz |
Add a "resizable" property, to get rid of the
Mon Nov 19 15:30:51 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a
"resizable" property, to get rid of the
GTK_TREE_VIEW_COLUMN_RESIZABLE sizing flag.
(gtk_tree_view_column_set_resizable): New function to set resizable.
(gtk_tree_view_column_set_resizable): getter.
* tests/testtreecolumns.c (add_clicked): modify for above change.
* Makefile.am (install-data-hook): remove old .pc files before
installing the new one. We used to symlink this, and it will
break old installs.
Diffstat (limited to 'gtk/gtktreeviewcolumn.h')
-rw-r--r-- | gtk/gtktreeviewcolumn.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h index ce45ab57cd..726a3f7c22 100644 --- a/gtk/gtktreeviewcolumn.h +++ b/gtk/gtktreeviewcolumn.h @@ -39,7 +39,6 @@ extern "C" { typedef enum { GTK_TREE_VIEW_COLUMN_GROW_ONLY, - GTK_TREE_VIEW_COLUMN_RESIZABLE, GTK_TREE_VIEW_COLUMN_AUTOSIZE, GTK_TREE_VIEW_COLUMN_FIXED } GtkTreeViewColumnSizing; @@ -91,6 +90,7 @@ struct _GtkTreeViewColumn /* Flags */ guint visible : 1; + guint resizable : 1; guint clickable : 1; guint dirty : 1; guint show_sort_indicator : 1; @@ -138,6 +138,9 @@ gint gtk_tree_view_column_get_spacing (GtkTreeViewCol void gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column, gboolean visible); gboolean gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column); +void gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column, + gboolean resizable); +gboolean gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, GtkTreeViewColumnSizing type); GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column); |