Application path
- From: John Emmas <johne53 tiscali co uk>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Application path
- Date: Wed, 12 Jan 2011 13:13:18 +0000
Browsing through glib/gutils.c this morning, I noticed a function called g_get_application_name() which will
return the application's name (e.g. "my_app" on Linux, or "my_app.exe" on Windows). Is there any similar
function that would tell me the full path to the application - e.g. "/usr/bin/my_app/my_app" under Linux, or
"C:\Program Files\my_app\my_app.exe" under Windows?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]