[cairo] gtk glitz and cairo

Daniel Amelang daniel.amelang at gmail.com
Mon Dec 11 12:54:38 PST 2006

On 12/11/06, Ignas B. <ignohp at gmail.com> wrote:
> Hello,
> im trying to build an application which is using glitz and cairo. To get a
> surface for drawing with cairo i need to get a
> surface with glitz_glx_surface(display,
> screen,GLITZ_STANDARD_ARGB32,width,height) . But i want to
> work with GTK
> widgets. How could i get the XWindow display and screen parameters from the
> gtk widget?

I've never tried doing what you're doing, so I don't know if it'll
work, but look here for getting the display and screen:



More information about the cairo mailing list