2021-02-06 15:50:02 +01:00
|
|
|
This tutorial illustrates how to write C programs with Gtk4 library.
|
2021-04-19 14:24:12 +02:00
|
|
|
It focuses on beginners so the contents are limited to basic things.
|
|
|
|
The table of contents are shown at the end of this abstract.
|
|
|
|
|
|
|
|
- Section 3 to 20 describes basics and the example is a simple editor `tfe` (Text File Editor).
|
|
|
|
- Section 21 to 23 describes GtkDrawingArea.
|
|
|
|
- Section 24 to 27 describes list model and list view (GtkListView, GtkGridView and GtkColumnView).
|
|
|
|
It also describes GtkExpression.
|
|
|
|
|
2021-06-23 11:36:45 +02:00
|
|
|
Please refer to [Gtk reference manual](https://developer.gnome.org/gtk4/stable/index.html)
|
2021-04-22 04:48:18 +02:00
|
|
|
and [Gnome Developer Center](https://developer.gnome.org/) for further topics.
|
2021-02-06 15:50:02 +01:00
|
|
|
|
|
|
|
This tutorial is under development and unstable.
|
2021-04-22 04:48:18 +02:00
|
|
|
Even though the codes of the examples have been tested on gtk4 version 4.0, there might exist bugs.
|
|
|
|
If you find any bugs, errors or mistakes in the tutorial and C examples, please let me know.
|
2021-02-06 15:50:02 +01:00
|
|
|
You can post it to [github issues](https://github.com/ToshioCP/Gtk4-tutorial/issues).
|
2021-04-19 14:24:12 +02:00
|
|
|
The latest version of the tutorial is located at [Gtk4-tutorial github repository](https://github.com/ToshioCP/Gtk4-tutorial).
|
2021-02-06 15:50:02 +01:00
|
|
|
You can read it without download.
|
|
|
|
|
2021-04-19 14:24:12 +02:00
|
|
|
If you want to get a html or pdf version, you can make them with `rake`, which is a ruby version of make.
|
2021-04-27 14:08:30 +02:00
|
|
|
@@@if gfm
|
|
|
|
There is a documentation \("[How to build Gtk4 Tutorial](Readme_for_developers.src.md)"\) that describes how to make them.
|
|
|
|
@@@elif html
|
|
|
|
There is a documentation \("[How to build Gtk4 Tutorial](Readme_for_developers.src.md)"\) that describes how to make them.
|
|
|
|
@@@elif latex
|
|
|
|
An appendix "How to build Gtk4 Tutorial" describes how to make them.
|
|
|
|
@@@end
|
2021-04-19 14:24:12 +02:00
|
|
|
|
2021-04-22 04:48:18 +02:00
|
|
|
If you have a question, feel free to post it to the issue.
|
2021-04-19 14:24:12 +02:00
|
|
|
Any question is helpful to make this tutorial get better.
|