Re: bold in labels?
- From: Havoc Pennington <hp redhat com>
- To: John Cupitt <john cupitt ng-london org uk>
- Cc: Jeff Shipman <shippy nmt edu>, GTK List <gtk-list gnome org>
- Subject: Re: bold in labels?
- Date: 21 Mar 2001 21:13:03 -0500
John Cupitt <john cupitt ng-london org uk> writes:
> I think this is easy in gtk2, but hard (as John says) in gtk1.x. Either
> wait, or do some nasty hacking :-)
>
Yep in GTK 2 you just do:
label = gtk_label_new (NULL);
gtk_label_set_markup (label, "Hi this text is <b>Bold</b> woo-hoo!");
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]