Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try making a Gtk build for Windows #207

Open
Sejsel opened this issue Oct 12, 2023 · 1 comment
Open

Try making a Gtk build for Windows #207

Sejsel opened this issue Oct 12, 2023 · 1 comment
Labels
enhancement New feature or request gtk Related to the GTK platform (mainly used on Linux)

Comments

@Sejsel
Copy link
Member

Sejsel commented Oct 12, 2023

(again)

Possibly the simplest way to get a dark mode build for Windows.

@Sejsel Sejsel added enhancement New feature or request gtk Related to the GTK platform (mainly used on Linux) labels Oct 12, 2023
@Sejsel
Copy link
Member Author

Sejsel commented Jul 8, 2024

Got the basic thing working to some extent, except for making it distributable along with themes.

Requires installing GtkSharp on Windows, or distributing the dll files along with the executable (we would want to do this).
There are GtkSharp.Dependencies and GtkSharp.Win32 packages on NuGet, both of which can be sort of made to work, but I haven't found a way to override themes locally yet.

Some combination with Eto.Test.Gtk on Windows actually worked including loading a theme from a local directory instead of using global settings.

Adwaita (I think) on Windows:
image

Arc-Dark-Solid on Windows:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gtk Related to the GTK platform (mainly used on Linux)
Projects
Status: Enhancements
Development

No branches or pull requests

1 participant