Re: bold in labels?
- From: John Sullivan <sullivan eazel com>
- To: Jeff Shipman <shippy nmt edu>, GTK List <gtk-list gnome org>
- Subject: Re: bold in labels?
- Date: Wed, 21 Mar 2001 10:24:37 -0800
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 shippy nmt edu 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: shippy nmt edu
> Computer Science Major ICQ: 1786493
> New Mexico Institute of Mining and Technology
> Homepage: http://www.nmt.edu/~shippy
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]