Skip to content
Fortran 95 GTK+ Interface Modules
FORTRAN Python CMake Perl Batchfile Shell
Latest commit 57300fa Jun 14, 2015 @jtappin jtappin Finally the modules as well


Compile programs using as an example:

gfortran -I../src/ ../src/gtk.o gtkhello2.f90 -o gtkhello2 `pkg-config --cflags --libs gtk+-2.0`

gtk.f90 and all *-auto.f90 files can be in the same directory as your main program. Regardless it has to be in the compile line to link.
Some examples also require gtk-sup.f90 or gtk-hl.f90.

There are variations to this approach and I will add examples as I get time.

If using gfortran, requires version 4.6, a recent checkout from trunk.Also may require installing the related gtk+-2.0 devel packages from your distribution.

All the *-auto.f90 files were generated with GTK+ 2.24 by the script (python

Send bug reports to
Something went wrong with that request. Please try again.