GTK2 app porting


If one were to port a GTK2 app, would it make more sense to port it directly to GTK4, or should GTK3 be preferred ?

Thanks !

I prefer GTK 4. It avoids double work, when 4 is out. But it also depends on use case, developers time, complexity etc.


I’d even say, it avoids triple work: Gtk2 to Gtk3 initial, then to Gtk3 final and to Gtk4; so I agree. Just don’t expect a direct jump from Gtk2 to Gtk4 to be a “port”, it will be more of a “rewriting of the UI parts” if you want to do things a clean way (use directly UI files and CSS, etc.).


Okay. Thanks for the information.