diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-06-30 02:38:17 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-06-30 02:38:17 +0000 |
commit | ee5ff7ddc23a90018b35102ac87e6ac41928da10 (patch) | |
tree | 4fc92ac89e40d45262882177cffc21521c50651c /gtk/gtkcellrenderertext.h | |
parent | 49c1e6dc8969a06d5b016700f3a64e31d082b7e3 (diff) | |
download | gtk+-ee5ff7ddc23a90018b35102ac87e6ac41928da10.tar.gz |
changed new_with_types to just plain new, fixing the number of columns,
Fri Jun 29 22:13:28 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types
to just plain new, fixing the number of columns, and column types
at creation time.
* gtk/gtkliststore.c (gtk_list_store_new): ditto.
* gtk/gtkcellrenderertext.c
(gtk_cell_renderer_text_set_fixed_height_from_font): FIX the
height to a specific font.
* gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness.
* tests/*c: change to work with new store models.
Diffstat (limited to 'gtk/gtkcellrenderertext.h')
-rw-r--r-- | gtk/gtkcellrenderertext.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gtk/gtkcellrenderertext.h b/gtk/gtkcellrenderertext.h index 58068ed9a2..523d39a036 100644 --- a/gtk/gtkcellrenderertext.h +++ b/gtk/gtkcellrenderertext.h @@ -54,10 +54,8 @@ struct _GtkCellRendererText PangoUnderline underline_style; gint rise; - gint width; - gint height; + gint fixed_height_rows; - guint fixed_size : 1; guint strikethrough : 1; /* editable feature doesn't work */ @@ -83,6 +81,7 @@ struct _GtkCellRendererText guint strikethrough_set : 1; guint editable_set : 1; + guint calc_fixed_height : 1; }; struct _GtkCellRendererTextClass @@ -90,13 +89,11 @@ struct _GtkCellRendererTextClass GtkCellRendererClass parent_class; }; -GtkType gtk_cell_renderer_text_get_type (void); -GtkCellRenderer *gtk_cell_renderer_text_new (void); +GtkType gtk_cell_renderer_text_get_type (void); +GtkCellRenderer *gtk_cell_renderer_text_new (void); -void gtk_cell_renderer_text_set_fixed_size (GtkCellRendererText *renderer, - gboolean fixed_size, - gint width, - gint height); +void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer, + gint number_of_rows); #ifdef __cplusplus |