[10018] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Resource question again

daemon@ATHENA.MIT.EDU (Federico Mena Quintero)
Wed Nov 11 12:02:07 1998

Date: Wed, 11 Nov 1998 11:57:38 -0500
From: Federico Mena Quintero <federico@nuclecu.unam.mx>
To: blong@fiction.net
CC: gtk-list@redhat.com
In-reply-to: <19981110174026.B4077@shell9.ba.best.com> (message from Brandon
	Long on Tue, 10 Nov 1998 17:40:26 -0800)
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

>  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

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post