-
Notifications
You must be signed in to change notification settings - Fork 43
Tutorial 6
vmagnin edited this page May 9, 2022
·
1 revision
- If your project will be under GNU GPLv3 or later license, you can start from an example in the
examples/
orplplot/
directories of gtk-fortran, as it uses that license. Just copy the file or portions of code into your project. - You can of course also start from an example in the gtkzero_fpm or gtk-fortran-extra repositories as their MIT License is compatible with the GNU GPL.
- If your project will use another license or if you don't know, you can start from an example in the gtkzero_fpm or gtk-fortran-extra repositories. They are under the MIT license which is very permissive: "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software." So you can reuse their code even in a proprietary software.
- If you use
git clone
to clone one of these examples, don't forget to delete its.git
hidden directory. You can now make it your own repository with thegit init
command. - If the example is a fpm project, change the information in the
fpm.toml
. - Start editing your project.
- 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