[pygtk] Cairo and fontButton

Juan Pablo Daniel jpdborgna at gmail.com
Wed Mar 26 00:09:57 WST 2008


Hello list!
I am using a gtk font button for selecting a font (face, attributes and
size) which returns a string (with fontButton.get_font_face() ) and now I
want to use this for settig the font attributes of a cairo context.
I cant find a function for setting the font face from this string. I am
afraid i have to parse it? Cairo has a select_font_face and a set_font_size.

Is there any function i cant find or i have to parse it?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080325/e4a1c894/at=
tachment.htm


More information about the pygtk mailing list