Re: gtk-app-devel-list Digest, Vol 14, Issue 55

That I did not know. So it seems that my client has no option but to install Gtk?

No, you can provide customized app specific GTK install with your application, but you need to put right files in right places. You can get right structure by installing GTK runtime yourself.

After that, you need to add this key to registry (.../ is your app install path):

Key: HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\NAMEOFYOUREXEFILE.exe
ValueType: string
ValueName: Path
ValueData "...\;...\GUI\lib"; Flags: uninsdeletevalue

Windows will then use GTK runtime from ...\GUI\lib

This is structure for GTK 2.2, I donot think it is changed a lot from then...

...\          <-- your app install path

...\GUI\bin C:\Program Files\Common Files\GTK\2.2\bin\*.*

...\GUI\etc\gtk-2.0 C:\Program Files\Common Files\GTK\2.2\etc\gtk-2.0\*.*

...\GUI\etc\pango C:\Program Files\Common Files\GTK\2.2\etc\pango\*.*

...\GUI\lib C:\Program Files\Common Files\GTK\2.2\lib\*.*

...\GUI\lib\gtk-2.0\2.2.0\engines C:\Program Files\Common Files\GTK\2.2\lib\gtk-2.0\2.2.0\engines\*.*

...\GUI\lib\gtk-2.0\2.2.0\immodules C:\Program Files\Common Files\GTK\2.2\lib\gtk-2.0\2.2.0\immodules\*.*

...\GUI\lib\gtk-2.0\2.2.0\loaders C:\Program Files\Common Files\GTK\2.2\lib\gtk-2.0\2.2.0\loaders\*.*

...\GUI\lib\pango\1.2.0\modules C:\Program Files\Common Files\GTK\2.2\lib\pango\1.2.0\modules\*.*

...\GUI\lib\locale\en_GB\LC_MESSAGES C:\Program Files\Common Files\GTK\2.2\lib\locale\en_GB\LC_MESSAGES\*.*

<-- add other locales also -->
...\GUI\share\themes\Default\gtk-2.0 C:\Program Files\Common Files\GTK\2.2\share\themes\Default\gtk-2.0\*.*

...\GUI\share\themes\Default\gtk-2.0-key C:\Program Files\Common Files\GTK\2.2\share\themes\Default\gtk-2.0-key\*.*

...\GUI\share\themes\Emacs\gtk-2.0-key C:\Program Files\Common Files\GTK\2.2\share\themes\Emacs\gtk-2.0-key\*.*;

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