how to change the font of a button and textbox data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
hi!
how do i change font style of a button and text box data?
i am able to change font style of a label using:
font_bold=gdk_font_load("-adobe-courier-bold-r-normal--*-130-*-*-*-*-*-*");
     style = gtk_style_copy(gtk_widget_get_style(widget));
     style->font=font_bold;

but this doesnt work for a button....


sudha



_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux