Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Fortran
  3. gtk-fortran

gtk-fortran

GPL-3.0Fortranv4.9.0

A GTK / Fortran binding enabling scientists to build cross-platform graphical user interfaces (GUIs) in Fortran.

GitHubGitHub
289 stars46 forks0 contributors

What is gtk-fortran?

gtk-fortran is a GTK binding written entirely in Fortran that enables developers to build cross-platform graphical user interfaces (GUIs) using the Fortran programming language. It leverages the C/Fortran interoperability features introduced in the Fortran 2003 standard to provide a partial GTK binding specifically designed for scientific programmers who need to create GUI applications.

Target Audience

Scientists and researchers programming in Fortran who need to build graphical user interfaces for their applications, particularly those in scientific computing fields requiring cross-platform GUI solutions.

Value Proposition

Developers choose gtk-fortran because it provides a pure Fortran implementation of GTK bindings, eliminating the need for mixed-language programming while offering cross-platform GUI capabilities specifically tailored for the scientific Fortran community.

Overview

A GTK / Fortran binding, and its documentation (in the Wiki tab).

Use Cases

Best For

  • Building scientific visualization tools with Fortran backends
  • Creating cross-platform GUI applications in Fortran
  • Developing research software with graphical interfaces
  • Adding modern GUI capabilities to legacy Fortran codebases
  • Scientific computing applications requiring user interaction
  • Educational tools for teaching Fortran with graphical components

Not Ideal For

  • Projects requiring rapid GUI prototyping with drag-and-drop builders or modern web frameworks
  • Teams developing mobile or web applications instead of desktop-only interfaces
  • Applications needing extensive third-party integrations or plugins common in languages like Python or JavaScript
  • Environments where GTK library dependencies are difficult to install or manage cross-platform

Pros & Cons

Pros

Pure Fortran Implementation

Leverages Fortran 2003 C interoperability for a 100% Fortran binding, eliminating mixed-language hurdles and simplifying integration with existing scientific codebases.

Modern GTK 4 Support

Targets the latest GTK library, providing access to contemporary GUI features and ensuring cross-platform compatibility for desktop applications on Linux, Windows, and macOS.

Scientific Computing Focus

Specifically designed for scientists and researchers, bridging high-performance Fortran backends with graphical interfaces for data visualization and user interaction.

Cross-Platform GUI Library

Enables building GUI applications that work across different operating systems, leveraging GTK's portability for broad deployment in research environments.

Cons

Partial Binding Limitations

As admitted in the README, it's only a partial GTK binding, meaning some advanced widgets or features may be missing or incomplete compared to full GTK implementations.

Complex Installation Process

Requires detailed setup steps with dependencies like GTK libraries, which can be cumbersome, especially on non-Linux systems, as highlighted in the wiki instructions.

Niche Ecosystem and Support

Being Fortran-centric, it has a smaller community and fewer resources—such as tutorials or third-party tools—compared to mainstream GUI frameworks, limiting development agility.

Frequently Asked Questions

Quick Stats

Stars289
Forks46
Contributors0
Open Issues13
Last commit9 days ago
CreatedSince 2011

Tags

#scientific-computing#graphics#bindings#graphical-user-interface#gtk#fortran#gui#cross-platform#binding#gtk4

Built With

G
GTK+
F
Fortran
C
CMake

Included in

Fortran405
Auto-fetched 17 hours ago

Related Projects

VTKFortranVTKFortran

pure Fortran VTK (XML) API

Stars157
Forks59
Last commit23 days ago
DISLINDISLIN

a high-level graphing and user-interface library

Stars0
Forks0
Last commit
f90glf90gl

public domain implementation of the official NIST Fortran 90 bindings for OpenGL

Stars0
Forks0
Last commit
PGPLOTPGPLOT

cross-platform scientific graphing library

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub