Re: [gtk-list] Re: Resource question again



>  GTK+ supports modifications of widget properties through resources, but
>  does not use the same system as Xt/Motif.  Additionally, the application
>  has to choose to load a resource file, it is not required of the
>  application developer.

GNOME applications read Gtk rc files from some standard locations:

 $gnomedatadir/gtkrc
 $gnomedatadir/$apprc
 ~/.gnome/gtkrc
 ~/.gnome/$apprc

(from gnome-libs/libgnomeui/gnome-init.c).  $apprc is the
application's ID plus "rc", so you could have "calendarrc", "gmcrc",
etc.

  Federico



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