|
|
| Author |
Message |
|
|
vubun
Joined: 31 Dec 2007 Posts: 2
|
Posted: Mon Dec 31, 2007 4:58 pm Post subject: gtk theme under windows without installation |
|
|
Ok, the subject seems very strange...
I want to use a gtk theme in my application (yeaah it's easy), but, to simplify the distribution of my app under windows I put all gtk dll (and dependency) in the app's folder, so there is no real gtk installation.
Before, a solution existed by using module_path in the gtkrc file to specify the path where the application would look for the engine but now the only solution seems to be by using the GTK_PATH.
that's the problem.. no installation, no GTK_PATH defined..
So is there a way to specify the engine folder in the gtkrc file or in my program? else, a way to specify the GTK_PATH ?
I hope I'm clear because I'm french and my english is not always very good.
Thanks in advance!
PS: I'm coding in C++ and obviously, the theme I want to use need an engine to work (else there hadn't any issue) |
|
| Back to top |
|
 |
vubun
Joined: 31 Dec 2007 Posts: 2
|
Posted: Wed Jan 02, 2008 2:24 pm Post subject: |
|
|
It's okay, i found the solution.
just windows programmation not gtk.
putenv("GTK_PATH=./GTK");
Thanks for nothing ! :D
++
Last edited by vubun on Wed Jan 02, 2008 7:08 pm; edited 1 time in total |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 420 Location: Portland, OR USA
|
Posted: Wed Jan 02, 2008 5:46 pm Post subject: |
|
|
| Thanks for posting the solution. That will help others who find this. |
|
| Back to top |
|
 |
gege2061
Joined: 04 Jan 2007 Posts: 3 Location: France
|
Posted: Thu Jan 03, 2008 10:16 am Post subject: |
|
|
| vubun wrote: | | just windows programmation not gtk. |
For gtk+ programming, use g_setenv (or Glib::setenv in C++) :wink: |
|
| Back to top |
|
 |
|