Hi
I use GTK3 on windows by installing the MSYS2
I then copy the GTK themes in the share/themes folder of MSYS2.
Is there a way to be able to copy them in my EXE folder?
Hi
I use GTK3 on windows by installing the MSYS2
I then copy the GTK themes in the share/themes folder of MSYS2.
Is there a way to be able to copy them in my EXE folder?
Hi,
The places where GTK looks for system data directories (including themes) is described here: GLib.get_system_data_dirs
There is also an environment variable GTK_DATA_PREFIX
, but mostly for debugging.
That said, it would be much better to use a GResource to embed the theme files directly inside your EXE, there are some examples here for icon themes, but should be similar for styles (replace icons/
by themes/
in paths).
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.