Nautilus has some code to make the font of a GtkLabel bold. The entry point
is nautilus_gtk_label_make_bold () in
libnautilus-extensions/nautilus-gtk-extensions.c. It wasn't trivial to make
this work reliably with the full range of possible fonts, but I think it is
pretty robust now.

I don't believe there's any way to use multiple styles (e.g. some bold text,
some non-bold text) in a single GtkLabel.

John

on 3/21/01 9:41 AM, Jeff Shipman at [EMAIL PROTECTED] wrote:

> I would like to bold certain keywords in labels,
> but I have two questions about this:
> 
> 1) Is it even possible to bold text in labels?
> 
> 2) If it is, is it possible just to bold certain
> words, or would I have to do some nasty box
> packing with special border paddings?
> 
> Any help would be greatly appreciated. Thanks.
> 
> Jeff "Shippy" Shipman     E-Mail: [EMAIL PROTECTED]
> Computer Science Major    ICQ: 1786493
> New Mexico Institute of Mining and Technology
> Homepage: http://www.nmt.edu/~shippy
> 
> 
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to