Re: Trying to create pango Layout



On Fri, Jun 4, 2010 at 17:24, Toms <toms baugis gmail com> wrote:
> Installing gobject from tarball with --enable-pygi flag seems to have
> solved the problem

Any ideas about how to make this clearer?

Regards,

Tomeu

> On Fri, Jun 4, 2010 at 3:37 PM, Toms <toms baugis gmail com> wrote:
>> I'm trying to create a pango layout using following code:
>>
>> from gi.repository import Pango, PangoCairo
>> import cairo
>> context = cairo.Context(cairo.ImageSurface(cairo.FORMAT_ARGB32, 100, 100))
>> PangoCairo.create_layout(context)
>>
>>
>> Trouble is that this returns a pango.Layout instead of Layout object
>> and does not have all the necessary functions to manipulate the
>> layout.
>>
>> Any pointers appreciated!
>>
>> Toms
>>
> _______________________________________________
> python-hackers-list mailing list
> python-hackers-list gnome org
> http://mail.gnome.org/mailman/listinfo/python-hackers-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]