Re: Default dir for application data
- From: "Ardhan Madras" <ajhwb knac com>
- To: "Todor Todorov" <ttodorov gmx net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Default dir for application data
- Date: Fri, 9 Oct 2009 23:47:56 -0700
Hi,
In general GTK+ applications use GNU build system, user can configure and install it on it's specified
directory. Usually there is a a file named "config.h" and can be override by configure script parameters. The
"config.h" will be generated upon configure based on "config.h.in", then use the predefined macros there to
locate your path.
- Ardhan
--- ttodorov gmx net wrote:
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
Hello list
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!
Regards,
Todor
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]