diff options
Diffstat (limited to 'gtk/gtktreeviewcolumn.h')
-rw-r--r-- | gtk/gtktreeviewcolumn.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h index 8a66a91792..b64a667377 100644 --- a/gtk/gtktreeviewcolumn.h +++ b/gtk/gtktreeviewcolumn.h @@ -39,7 +39,7 @@ typedef enum GTK_TREE_VIEW_COLUMN_RESIZEABLE, GTK_TREE_VIEW_COLUMN_AUTOSIZE, GTK_TREE_VIEW_COLUMN_FIXED -} GtkTreeViewColumnType; +} GtkTreeViewColumnSizing; typedef struct _GtkTreeViewColumn GtkTreeViewColumn; typedef struct _GtkTreeViewColumnClass GtkTreeViewColumnClass; @@ -59,6 +59,7 @@ struct _GtkTreeViewColumn GtkJustification justification; gint id; + /* FIXME change this field to "width" bug 40061 */ gint size; gint min_width; gint max_width; @@ -68,7 +69,7 @@ struct _GtkTreeViewColumn gchar *title; GtkCellRenderer *cell; GSList *attributes; - GtkTreeViewColumnType column_type; + GtkTreeViewColumnSizing column_type; guint visible : 1; guint button_active : 1; guint dirty : 1; @@ -100,11 +101,11 @@ void gtk_tree_view_column_set_cell_data (GtkTreeViewColumn 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_col_type (GtkTreeViewColumn *tree_column, - GtkTreeViewColumnType type); +void gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column, + GtkTreeViewColumnSizing type); gint gtk_tree_view_column_get_col_type (GtkTreeViewColumn *tree_column); gint gtk_tree_view_column_get_size (GtkTreeViewColumn *tree_column); -void gtk_tree_view_column_set_size (GtkTreeViewColumn *tree_column, +void gtk_tree_view_column_set_width (GtkTreeViewColumn *tree_column, gint size); void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column, gint min_width); @@ -121,7 +122,7 @@ void gtk_tree_view_column_clicked (GtkTreeViewColumn void gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column, gchar *title); gchar *gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column); -void gtk_tree_view_column_set_header_active (GtkTreeViewColumn *tree_column, +void gtk_tree_view_column_set_header_clickable (GtkTreeViewColumn *tree_column, gboolean active); void gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column, GtkWidget *widget); |