Architecture - vmagnin/gtk-fortran GitHub Wiki
gtk-fortran architecture
gtk-fortran is a three-stage rocket:
- I use the
src/cfwrapper/cfwrapper.pyscript to parse the GTK.hheader files and automatically generate thesrc/*-auto.f90files containing interfaces to the functions of the GTK libraries. See the How gtk-fortran is generated page for more details. - The
src/gtk.f90and thesrc/*-auto.f90files constitute the sources of the gtk-fortran interface. You can use all their functions to create your graphical user interface in your own program. - But you can also use the gtk_hl high level interface for gtk-fortran (
src/hl-*.f90files) which offers a simplified interface to the most useful GTK functions.