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

Add GTK4 GUI #8038

Open
fedorenchik opened this issue Mar 30, 2021 · 4 comments
Open

Add GTK4 GUI #8038

fedorenchik opened this issue Mar 30, 2021 · 4 comments

Comments

@fedorenchik
Copy link

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
GTK4 supports hardware rendering, would be nice to have support for it.

Describe the solution you'd like
Support GTK4 GUI.

Describe alternatives you've considered
GTK3, but no hardware acceleration.

Additional context
As a bonus, can an also remove support for GTK2, since GTK2 is deprecated.

@k-takata
Copy link
Member

Official document for migrating 3 to 4:
https://developer.gnome.org/gtk4/stable/gtk-migrating-3-to-4.html
PR is welcome.

@fictitiousexistence
Copy link

Got 404 with that link. Looks like this is the new page:

https://docs.gtk.org/gtk4/migrating-3to4.html

@dvogel
Copy link

dvogel commented Apr 14, 2024

I'm experimenting with dropping GTK2 support and adding GTK4 support. Reading through gui_gtk_f.c, it sure seems like this is a custom implementation of GtkFixed. However, that widget has existed since GTK2 and it was not used. Does anyone know why not?

@dvogel
Copy link

dvogel commented Apr 21, 2024

I have a draft PR open for discussion on how to best support the mouseshape option with GTK3 and GTK4 CSS mouse cursor names. Please do chime in over there if you depend on this feature (I don't).

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

4 participants