vmagnin/gtk-fortran

GTK4 pkg-config name

han190 opened this issue ยท 4 comments

Hi, I read you post here and tried your gtk4 branch. Everything goes smoothly and thank you for your effort!

A small issue is when link to a project we still use gfortran xxx.f90 $(pkg-config --cflags --libs gtk-3-fortran), should it be renamed to gtk-4-fortran? (I know this branch isn't finalized yet, so ignore me if you are going to change it anyway!)

Hi @han190 ,
thank you for reporting everything is OK! I guess you used Fedora?
That's right, you must link to gtk-4-fortran, after of course having sudo make install it.
That naming allows to have gtk-3-fortran and gtk-4-fortran installed on the same machine (and even gtk-2-fortran).
I will update the doc later.

Yes I am using Fedora 33 and yes I get the gtk-4-fortran option. Some of the mini apps I wrote before using gtk-3-fortran brokes, it's probably because gtk4 uses different function/widget names, I will have to go through their documentations.

Yes, many API were broken: some disappeared and were replaced by another API, the name or arguments of some functions changed...