diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-22 03:53:45 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:03:01 +0200 |
commit | 42947e3cdc2109bd611b0fd978a64b32b438a835 (patch) | |
tree | 185a25ae41cec0bfed42ded1212dd25cfde82ef8 /gtk/gtkcellrenderer.h | |
parent | e31e77eeb848974a375ca01a56551d01c757fcea (diff) | |
download | gtk+-42947e3cdc2109bd611b0fd978a64b32b438a835.tar.gz |
API: Add gtk_cell_renderer_render_cairo()
It's like gtk_cell_renderer_render(), just cooler.
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 49a043f8a7..a226173c39 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -126,6 +126,12 @@ void gtk_cell_renderer_render (GtkCellRenderer *cell, const GdkRectangle *cell_area, const GdkRectangle *expose_area, GtkCellRendererState flags); +void gtk_cell_renderer_render_cairo (GtkCellRenderer *cell, + cairo_t *cr, + GtkWidget *widget, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags); gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, |