summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-22 03:53:45 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:03:01 +0200
commit42947e3cdc2109bd611b0fd978a64b32b438a835 (patch)
tree185a25ae41cec0bfed42ded1212dd25cfde82ef8 /gtk/gtkcellrenderer.h
parente31e77eeb848974a375ca01a56551d01c757fcea (diff)
downloadgtk+-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.h6
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,