[cairo] gtk3, cairo, opengl, python2.7

Jonas Kulla nyocurio at gmail.com
Sat Sep 22 08:15:39 PDT 2012

2012/9/22 Simon Sapin <simon.sapin at exyr.org>

> I’m not very familiar with GTK (I use Pango and cairo without GTK) but
> apparently the magic function is gdk_cairo_create which returns a cairo
> context:
> http://developer.gnome.org/gdk3/stable/gdk3-Cairo-Interaction.html#gdk-cairo-create
Just a small note: as GTK3 has fully transitioned to cairo internally,
you will receive a cairo context in the draw-event (formerly
"expose-event") callback,
so you can use that directly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120922/5ed7a0ff/attachment.html>

More information about the cairo mailing list