[Gambas-devel] Happy new year!

Benoit Minisini gambas at ...1...
Sun Jan 2 15:49:13 CET 2005


On Saturday 01 January 2005 21:42, Daniel Campos wrote:
> >The TextLabel must understand HTML syntax. Is it possible ?
>
> Labels in GTK+ can use "pango tags", they are very similar to HTML tags,
> but there
> are some differences, for example <b> is understood as "Bold", but not
> <B>. I plan
> to write a little parser so HTML tags will be internally converted to
> Pango tags. However,
> it will be possible only if I can parse HTML tables, and I do not know
> yet if it is possible...
>
> Regards,
>
> D. Campos
>

Let's limit the compatibility between Qt and GTK. I think that if TextLabels 
don't display tables, it won't be a shame. Just convert simple HTML 
formatting: <b> <i> <u> <font=...> <h123456> <p>...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list