Default dir for application data

Hello list

I skimmed the docs for the current stable release on, 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!


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