In the following filenames, the ? character is the GTK major version.
gtk-fortran.f90
: agtk-?-fortran
command to show information about the library.*-auto.f90
and*-auto.in
: these files contains the Fortran interfaces to the C functions of the various GTK libraries. They are generated by thecfwrapper/cfwrapper.py
script.api_compability.f90
: contains thegtk_os_dependent
module to keep API compatibility, following some changes in GTK 4.2.0.gtk-fortran-index.csv
: list of all the interfaces generated in the*-auto.f90
files, with the name of the library, the name of the function, its status (deprecated or not), the names of the.f90
file and the.h
file, the C prototype of the function and the Fortran definition. Generated by thecfwrapper/cfwrapper.py
script.gtk-fortran_types.csv
: list of all the GLib / GTK types used in the prototypes of the C functions. Generated by thecfwrapper/cfwrapper.py
script.gtk-fortran_funptr.csv
: list of all the funptr types used in the prototypes of the C functions. Generated by thecfwrapper/cfwrapper.py
script.gtk.f90
: it contains the gtk module, which will be used by every GTK program. Theg_signal_connect()
andgtk_init()
subroutines are defined here. Thegtkenums-auto.*
andgtk-auto.*
files are automatically included.gtk-sup.f90
: this module contains some supplementary material useful for writing GTK programs in Fortran.gtk-fortran.pc.in
: template used by CMake to generate thegtk-?-fortran.pc
pkg-config file.extract_events.pl
: extracts the structure definitions for GDK events from the GDK header files.gdkevents-auto.f90
: Fortran GDK events structures generated byextract_events.pl
.
extract_enums.pl
: find the enumerator constants in a Fortran source file and write them out to a simple list.gtk-enumerators.lis
: list generated byextract_enums.pl
.
gtk_hl.f90
: thegtk_hl
main Fortran module, which includes the othergtk-hl-*
modules:gtk-*hl-*.f90
gdk-pixbuf-hl.f90
: some routines to facilitate the use of GDK pixbufs from Fortran.
show_versions.sh
: shows the versions of the main tools and libraries used in gtk-fortran.screenshots.sh
: automatically launches each gtk-fortran example and take a PNG screenshot using thescrot
command. A suffix is added to the name of the example.build.sh
: an interactive script to build, install and test gtk-fortran using CMake. It can be called bycfwrapper.py
with the-b
option.test_extra.sh
: an interactive script to test projects gtk-fortran-extra and gtkzero_fpm before gtk-fortran release.alt_build_test.sh
: an alternative simple build system, using the directory../build/byscript
and finally launching one by one the examples for testing.usemodules.pl
: scan a Fortran source file or files for GTK (etc.) routines. This is a somewhat 'tighter' replacement forusemodules.py
.gtk-modules.txt
: theUSE
statements to copy/paste in your programs, generated byusemodules.pl
.gtk-fortran-modscan.man
: man page of thegtk-?-fortran-modscan
command (usemodules.pl
).
usemodules.py
: this program scan all the Fortran files in the given directory and subdirectories to generateUSE
statements you can paste in your gtk-fortran programs. It also print warnings if you use deprecated GTK functions, and finally displays all the GTK functions used in a directory. It generates:usemodules.txt
: theUSE
statements to copy/paste in your programs, generated byusemodules.py
.
tools.py
: that module contains functions used byusemodules.py
andcfwrapper/cfwrapper.py
.extract_hl_doc.py
: generates markdown files for the HL gtk-fortran documentation.