# gtk-fortran

> GTK / Fortran binding

**Wikidata**: [Q120964774](https://www.wikidata.org/wiki/Q120964774)  
**Source**: https://4ort.xyz/entity/gtk-fortran

## Summary
GTK-Fortran is a free software library that provides a GTK+ binding for Fortran, allowing developers to build graphical user interfaces (GUIs) using the Fortran programming language. It is distributed under terms that permit users to freely run, study, modify, and distribute the software, including modified versions.

## Key Facts
- **Instance of**: Free software, distributed under terms allowing users to run, study, modify, and redistribute it.
- **Latest stable version**: 4.6.0 (released on 2024-04-19).
- **Download URL**: [GitHub Releases](https://github.com/vmagnin/gtk-fortran/releases).
- **Source code repository**: Hosted on [GitHub](https://github.com/vmagnin/gtk-fortran).
- **Description**: A GTK+ binding to build Graphical User Interfaces in Fortran.
- **Major versions**: Includes releases from 3.24.28 to 4.6.0, with updates spanning 2021 to 2024.
- **License**: Free software (terms allow modification and redistribution).

## FAQs
### Q: What is GTK-Fortran used for?
A: GTK-Fortran is used to create graphical user interfaces (GUIs) in Fortran by providing bindings to the GTK+ toolkit, enabling developers to build desktop applications with Fortran.

### Q: Where can I download GTK-Fortran?
A: The latest versions of GTK-Fortran can be downloaded from the [GitHub Releases page](https://github.com/vmagnin/gtk-fortran/releases).

### Q: Is GTK-Fortran free to use?
A: Yes, GTK-Fortran is free software distributed under terms that allow users to run, study, modify, and redistribute it, including modified versions.

### Q: What programming language does GTK-Fortran support?
A: GTK-Fortran provides bindings for the Fortran programming language, enabling Fortran developers to use the GTK+ toolkit for GUI development.

### Q: How do I contribute to GTK-Fortran?
A: Contributions can be made by visiting the [GitHub repository](https://github.com/vmagnin/gtk-fortran) and following the project's guidelines for collaboration.

## Why It Matters
GTK-Fortran addresses the need for Fortran developers to create modern graphical user interfaces without relying on outdated or limited libraries. By providing a binding to GTK+, a widely used and well-supported toolkit, GTK-Fortran enables Fortran applications to leverage the same robust features and cross-platform compatibility as other GTK-based applications. This is particularly valuable in scientific computing, engineering, and high-performance computing, where Fortran remains a dominant language. The project's free software licensing ensures accessibility and community-driven development, fostering innovation in Fortran-based GUI applications.

## Notable For
- **Fortran GUI Support**: One of the few libraries that enables GUI development in Fortran using GTK+.
- **Active Development**: Regular updates and releases, with the latest stable version (4.6.0) released in April 2024.
- **Cross-Platform Compatibility**: Built on GTK+, ensuring compatibility across multiple operating systems.
- **Free Software**: Distributed under permissive licensing, allowing modification and redistribution.
- **GitHub Hosting**: Open-source development hosted on GitHub, facilitating community contributions.

## Body
### Overview
GTK-Fortran is a binding that allows Fortran developers to use the GTK+ toolkit for creating graphical user interfaces. It is part of the broader free software ecosystem, enabling developers to build applications with modern GUI features while leveraging Fortran's strengths in numerical computing.

### Versions and Releases
GTK-Fortran has seen multiple releases, with the latest stable version being 4.6.0, released on April 19, 2024. Previous versions include 4.5.0 (November 2023), 4.4.1 (August 2023), and earlier releases dating back to 2021. Each release includes updates and improvements to the binding, ensuring compatibility with the latest GTK+ versions.

### Development and Community
The project is hosted on GitHub, where developers can access the source code, report issues, and contribute to the project. The repository is actively maintained, with regular updates and community engagement.

### Use Cases
GTK-Fortran is particularly useful for scientific and engineering applications where Fortran is the primary language, but modern GUI features are required. It allows developers to maintain Fortran's performance advantages while providing a user-friendly interface.

### Future Directions
The project continues to evolve, with ongoing development aimed at improving compatibility, performance, and feature set. Future releases may include additional GTK+ features or optimizations for Fortran-specific use cases.

## References

1. [Release 3.24.28. 2021](https://github.com/vmagnin/gtk-fortran/releases/tag/v3.24.28)
2. [Release 3.24.30. 2021](https://github.com/vmagnin/gtk-fortran/releases/tag/v3.24.30)
3. [Release 3.24.31. 2022](https://github.com/vmagnin/gtk-fortran/releases/tag/v3.24.31)
4. [Release 4.2.0. 2022](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.2.0)
5. [Release 4.2.1. 2022](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.2.1)
6. [Release 4.3.0. 2022](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.3.0)
7. [Release 4.4.0. 2023](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.4.0)
8. [Release 4.4.1. 2023](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.4.1)
9. [Release 4.5.0. 2023](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.5.0)
10. [Release 4.6.0. 2024](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.6.0)
11. [Release 4.7.0. 2024](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.7.0)
12. [Release 4.7.1. 2025](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.7.1)
13. [Release 3.24.49. 2025](https://github.com/vmagnin/gtk-fortran/releases/tag/v3.24.49)
14. [Release 4.8.0. 2025](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.8.0)
15. [Release 4.9.0. 2025](https://github.com/vmagnin/gtk-fortran/releases/tag/v4.9.0)