mirror of
https://github.com/ToshioCP/Gtk4-tutorial.git
synced 2024-11-16 19:50:35 +01:00
GTK 4 tutorial for beginners
doc | ||
gfm | ||
image | ||
lib | ||
src | ||
test | ||
.gitignore | ||
Rakefile | ||
Readme.md | ||
src2md.rb |
Gtk4 Tutorial for beginners
This tutorial illustrates how to write C programs with Gtk4 library. It focuses on beginners so the contents are limited to basic things such as widgets, GObject, signal, menus and build system. Please refer Gnome API reference for further topics.
This tutorial is under development and unstable. Even though the examples written in C language 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. You can post it to github issues. The latest version of the tutorial is located at Gtk4-tutorial githup repository. You can read it without download.
- Prerequisite and License
- Installation of gtk4 to linux distributions
- GtkApplication and GtkApplicationWindow
- Widgets (1)
- Widgets (2)
- Widgets (3)
- Define Child object
- Ui file and GtkBuilder
- Build system
- Instance and class
- Signals
- Functions in TfeTextView
- Functions in GtkNotebook
- tfeapplication.c
- tfe5 source files
- Menu and action
- Stateful action
- Ui file for menu and action entries
- GtkMenuButton, accelerators, font, pango and gsettings
- Template XML
- GtkDrawingArea and Cairo
- Combine GtkDrawingArea and TfeTextView
- Tiny turtle graphics interpreter
- GtkListView
- GtkGridView and activate signal