Re: gtk3, cairo, opengl, python2.7

Jonas Kulla <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAK0i_709MhTrvYNyynFkcC8hc4JnDhK8iXBbJT0FOvs8qgOs6A@mail.gmail.com>
2012/9/22 Simon Sapin <[email protected]>

>
> 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.

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.