Re: bold in labels?



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]