how to change the font of a button and textbox data



 
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





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