diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-03-15 23:21:39 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-03-15 23:21:39 +0000 |
commit | e4d1660042a437b041422ac442ee4845fbf7e6b6 (patch) | |
tree | 10b09bc64b280eb911725d9060d0e721419b961d /gtk/gtkcellrenderer.h | |
parent | 872efdd9a527e472e5f2724138344fdef3839df4 (diff) | |
download | gtk+-e4d1660042a437b041422ac442ee4845fbf7e6b6.tar.gz |
Changed prototype to allow for getting the location of the cell relative
Thu Mar 15 18:22:44 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkcellrenderer.h: Changed prototype to allow for getting
the location of the cell relative to its area.
* gtk/gtkcell*: modified for above change
* gtk/gtktreeview.c: modified for above change.
Wed Mar 14 13:58:32 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_model): Ref the model.
(gtk_tree_view_finalize): actually unref the model. Thanks to
Jamie Strachan <frostfreek@yahoo.com> for noticing this error.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index bca36e4627..079794a5f7 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -51,6 +51,7 @@ struct _GtkCellRenderer { GtkObject parent; + gboolean can_activate; gboolean visible; gfloat xalign; @@ -67,6 +68,9 @@ struct _GtkCellRendererClass /* vtable - not signals */ void (* get_size) (GtkCellRenderer *cell, GtkWidget *widget, + GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, gint *width, gint *height); @@ -90,6 +94,9 @@ struct _GtkCellRendererClass GtkType gtk_cell_renderer_get_type (void); void gtk_cell_renderer_get_size (GtkCellRenderer *cell, GtkWidget *widget, + GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, gint *width, gint *height); void gtk_cell_renderer_render (GtkCellRenderer *cell, |