THanks, I find this works. Anyway, is there any documents about the rc file change from gtk 1.2 to gtk2.0?? Seems I cann't use same file because they are not compatible?
On 9 Apr 2002, Sven Neumann wrote: > Hi, > > Xuedong Zhang <[EMAIL PROTECTED]> writes: > > > But I cann't find a way to change the font in gtk2 program? > > > > I put the following lines in my ~/.gtkrc-2.0 but it just did nothing > > for my default fonts? ANy one can give me a suggestion that how > > can I can change the default font? > > > > > > style "user-font" > > { > > font="-adobe-times-medium-r-normal-*-24-*-*-*-p-*-iso8859-1" > > } > > widget_class "*" style "user-font" > > try this instead: > > style "user-font" > { > font_name="times 24" > } > widget_class "*" style "user-font" > > > Salut, Sven > _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list