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

Upgrade to GTK4 #143

Open
MightyCreak opened this issue Jan 15, 2022 · 5 comments
Open

Upgrade to GTK4 #143

MightyCreak opened this issue Jan 15, 2022 · 5 comments

Comments

@MightyCreak
Copy link
Owner

Right now Diffuse is rocking GTK3. Any contribution is welcome to migrate to GTK4 😉

@krlmlr
Copy link
Contributor

krlmlr commented Oct 24, 2022

Will this give us the native menu on macOS?

@MightyCreak
Copy link
Owner Author

It is apparently using Quartz, so I'm not sure but there is a chance it would support native menu.

@krlmlr
Copy link
Contributor

krlmlr commented Oct 25, 2022

The project page https://wiki.gnome.org/Projects/GTK/OSX mentions

GTK+ Integration for the Mac OS X desktop, like the menubar, dock and app bundles

with a link to http://gitlab.gnome.org/GNOME/gtk-mac-integration/ .

@krlmlr
Copy link
Contributor

krlmlr commented Oct 25, 2022

The README in the integration library mentions that

New Gtk3 applications should prefer the GApplication/GtkApplication and GMenuModel/GMenu APIs which make this library unnecessary.

and that this integration library won't even work in Gtk4.

@MightyCreak
Copy link
Owner Author

Good to know, so to have a better macOS X integration, just using GTK3's GApplication/GtkApplication and GMenuModel/GMenu would be enough? Interesting...

But that would probably be another issue as it's not related to GTK4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants