How to change GtkEntry font through rc

While trying out the new GTK+ 2.0, I found I can not change the default
font of GtkEntry and GtkText anymore.  The following rc file .gtkrc is
woking with GTK+1.2:

style "text"
    font = "-misc-simsun-medium-r-normal--*-100-*-*-*-*-*-*"
class "GtkEntry" style "text"
class "GtkText" style "text"

But it doesn't work with GTK+2.0.



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