[Glade-users] how to change font label
- From: xhonghar yahoo com (Hariyanto Handoko)
- Subject: [Glade-users] how to change font label
- Date: Sat, 29 Jan 2005 06:30:56 -0800 (PST)
I am using Glade 1.1.3, I cannot be able to change the
text size on labels
Is there on option on the Glade panels to change text
or font size?
If not can you direct me to finding the proper code
for "C" to be able
to change font or text size? And I have try this code
void
apply_font_to_widget (GtkWidget *widget, gchar *fload)
{
GtkStyle *style = gtk_style_new();
gdk_font_unref(style->font);
style->font = gdk_font_load(fload);
gtk_widget_set_style(GTK_WIDGET(widget), style);
}
But I get this error "structure has no member named
`font'"
Thank you for your time.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]