Re: Gtk3, Windows, themes



Thanks for responding. Unfortunately, I don't *quite* understand your answer. You say Gtk3 doesn't have theming engines. I thought it still did. For example, on my system, the package gtk-engines-unico owns these files:

ultrabook ~ # equo query files gtk-engines-unico
╠  @@ Files Search
╠  ### /usr
╠  ### /usr/lib
╠  ### /usr/lib64
╠  ### /usr/lib64/gtk-3.0
╠  ### /usr/lib64/gtk-3.0/3.0.0
╠  ### /usr/lib64/gtk-3.0/3.0.0/theming-engines
╠  ### /usr/lib64/gtk-3.0/3.0.0/theming-engines/libunico.so
╠  ### /usr/share
╠  ### /usr/share/doc
╠  ### /usr/share/doc/gtk-engines-unico-1.0.3_pre20121212
╠  ### /usr/share/doc/gtk-engines-unico-1.0.3_pre20121212/AUTHORS.bz2
╠  ### /usr/share/doc/gtk-engines-unico-1.0.3_pre20121212/NEWS.bz2
╠   Package:  x11-themes/gtk-engines-unico-1.0.3_pre20121212
╠   Found:    12 files
ultrabook ~ #

So libunico.so is the theme engine binary in this case. Based on this, I still believe that Gtk3 has theme engines, unless someone explains to me in more detail what I misunderstand about the above.

So ... assuming I'm correct, but no-one has attempted to build any theme engines for Windows ( and by extension, there is most likely no theme switcher binary for Windows either ), I assume I'm limited to using whatever themes use the default gtk3 theme engine, and setting up the gtk preferences file ( or environment variables or whatever ) manually.

It would be good to hear someone else chime in and say "yes you are correct" or "no you've got it all wrong, because ... ... ...".

Dan


On Sun, Mar 2, 2014 at 12:10 AM, LRN <lrn1986 gmail com> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01.03.2014 16:50, Daniel Kasak wrote:
> On 01/03/2014 10:54 PM, LRN wrote:
>> On 01.03.2014 3:54, Daniel Kasak wrote:
>>> I'm looking to port some apps ( Gtk2-Perl ) to Gtk3 ( ie
>>> Gtk3-Perl ), and I'm wondering if anyone has tackled building
>>> themes for Windows? I know of the Windows Gtk3 binaries ...
>>> great :) But the default theme on Windows looks pretty dry.
>>> Does anyone know of existing theme binaries for Windows?
>>
>> Are you, by any chance, using the built-in Windows Classic
>> Theme?
>>
> I believe so. But maybe I misunderstand. Are you implying there are
> other themes included in the windows binaries?
>
Gtk2 had theme engines, Gtk3 doesn't. Windows Classic theme in Gtk2
was implemented as a theme engine.

Gtk3 has native theming elements support instead. But the API that it
uses on W32 for this works with every normal Windows theme (such as
the default Windows 7 theme, XP theme), except for the Classic theme
(which is not a real theme).

There's a bug [1] for this, but i haven't been able to fix it.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=676110

- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJTEdwsAAoJEOs4Jb6SI2CwBowIAIz7Iu+Znu8qyxi1zjMCrI93
CEqaxHJM3DxUlmYqU8lhNfVps+j/zJwmkKyIFVibk+iStmsXgI3W1+ApPZdoNPFM
eVX7DyOcjj//eMd9QwWFLIoLc0tSRNL3phuJJ6XnsQ/MLRoMPhCpaARX8yuYcRM2
3P///AYnj4hBtHoxTFLqJLafYj5hz+cySroQpbup1INHoLH9+l9m4R/H+1zQlBj7
kmk6/SqkYeHX1c2zW1wdcjgc9206hjxXJScd6+Oh2XMjZYYBDcCQnOvpWEOJ1er+
E33V2XHCrGhIld52KnzkWjd96hOQrfiZ413ccIenLZc78m797eR/qYUYMujoIuM=
=/ASg
-----END PGP SIGNATURE-----
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list



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