Gtk+ work on windows

The last few weeks I have been working on the Gtk+ win32 port. Since the client side windows work landed in Gtk+ 2.18 the Windows port has been a bit broken, but now I finally sat down and fixed the remaining issues. So, the newly released Gtk+ 2.24.8 is now officially the best ever Gtk+ 2.x release on windows.

Then I forward ported all the work to the current Gtk 3 tree. It was mostly trivial, but one thing that changed a lot in Gtk3 is theming. The old windows theme was mostly a custom themeing engine, but in Gtk+ 3 we want to use engines less in favour of CSS. So, I had to completely redo the windows theme using CSS.

I added a few CSS extensions that access the win32 theming APIs, so you can get theme backgrounds, theme colors and theme sizes. Then the rest is just traditional CSS to bind the things together.

Here is an image of the current state:

Widget Factory on Windows

There are clearly still some issues that need fixing, but it works impressively well for just being some CSS. Check it out.

55 Responses to “Gtk+ work on windows”

  1. erwanb says:

    Really looking forward to using GTK+3 on Windows. Thanks for your amazing work !

  2. Carlos Moreno says:

    Hi! I just have a question… Where can I find information about the patch for cairo?? Like LNR, I have the same problem… but I don’t know how to fix it! Thanks!

  3. Carlos Moreno says:

    It works! Thank You!

  4. GK says:

    great work , kudos