I used this code to change the font in a label as indicated :
label_novo = gtk_label_new (_(""));
gdk_font_unref(label_novo->style->font);
label_novo->style->font =
gdk_font_load("-bitstream-charter-medium-i-normal--15-140-75-75-p-82-iso8859-1");
gtk_label_set_text (GTK_LABEL(label_novo), _("NOVO VALOR LEGAL"));
gtk_widget_ref (label_novo);
But the fonts does not changed, the font name was choosed from the
program xlsfonts by random way.
There's some type of error in this code ?
I want to know the references for structure label_novo (GtkWidget) too,
but the GTK reference manual does not say nothing about this.
I will attempt to change fonts in other Widget (ex: button) and will say
the results
Thanks for any help.
Flavio
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list