Default dir for application data
- From: Todor Todorov <ttodorov gmx net>
- To: Gtk App Devel List <gtk-app-devel-list gnome org>
- Subject: Default dir for application data
- Date: Thu, 08 Oct 2009 18:06:35 -0400
I skimmed the docs for the current stable release on gtk.org, but was
not able to find anything relating to my problem. If for example my
application is installed globally with DATA_DIR set to /usr/share, is
there some function in GLib or GTK which would give me the global app
data dir (i.e. /usr/share/MyApp) or the user owned app data dir (i.e.
$HOME/.config/MyApp) - either as an GFile or path (gchar*)?
Thanks for your help!
] [Thread Prev