Re: pygtk: gtk.CellRendererText().set_property(...) and pango markup (HTML)



On Thu, Sep 8, 2011 at 4:15 PM, Marek Kozlowski <kozlowsm mini pw edu pl> wrote:
> :-)
> I've been reading documentation several times and I cannot find it :-(
> I call:
>
>        cell = gtk.CellRendererText ()
>        cell.set_property ('cell-background', '#eeeeee')
>        cell.set_property (....
>
> I'd like all text rendered using this CellRendererText object to be
> interpreted as an HTML, that is all <b>, <i> etc to change style of the
> text between such tags. What property does it? 'markup' is described
> quite misteruoisly :-(

not at all.

http://www.pygtk.org/docs/pygtk/pango-markup-language.html


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