Re: When is pango markup used?



On Sun, 2004-02-01 at 22:27, John McDermott wrote:
How can I tell when a text arg to a widget supports pango markup?

If pango markup is supported, the documentation[1] will usually say so.

Does GtkTextBuffer?

I don't think so.  GtkTextTag's are used for the kinds of things you can
do with markup.

I think labels do.

Yes, via set_markup.

Does any text inserted into a widget support Pango?

No, I don't think so.

HTH,
-Torsten

[1] http://developer.gnome.org/doc/API/2.0/gtk/index.html




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