-
Notifications
You must be signed in to change notification settings - Fork 45
Architecture
vmagnin edited this page May 10, 2022
·
1 revision
gtk-fortran is a three-stage rocket:
- I use the
src/cfwrapper/cfwrapper.py
script to parse the GTK.h
header files and automatically generate thesrc/*-auto.f90
files containing interfaces to the functions of the GTK libraries. See the How gtk-fortran is generated page for more details. - The
src/gtk.f90
and thesrc/*-auto.f90
files 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-*.f90
files) which offers a simplified interface to the most useful GTK functions.
- Installation
- My first gtk-fortran application
- Drawing an image in a PNG file (without GUI)
- A program also usable without GUI
- Using Glade3 and gtkf-sketcher (GTK 3)
- Using gtk-fortran as a fpm dependency
- Debugging with GtkInspector
- Learning from examples
- Video tutorials
- How to start my own project from a gtk-fortran example
- git basics
- CMake basics
- Alternatives to CMake
- How to migrate to GTK 4
- How to contribute to gtk-fortran
- How to hack the cfwrapper with other C libraries