how to change the font of radiobutton
- From: Jiang XU <jiang xu echostar com>
- To: gtk-list redhat com
- Subject: how to change the font of radiobutton
- Date: Tue, 31 Aug 1999 15:16:41 -0600
I can change fonts and color of other widgets, such as label..; but it
never works on the RadioButton widget, I wonder why?
The sample code:
{
......
style=gtk_style_new();
font=gdk_font_load("-b&h-lucida-bold-r-normal-*-*-180-*-*-p-*-iso8859-1");
style->fg[GTK_STATE_NORMAL]=subtitlecolor;
style->font=font;
style->bg[GTK_STATE_PRELIGHT]=prelightcolor;
//set radiobutton style
gtk_widget_set_style(radiobutton1,style);
.........
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]