2020-12-22 03:30:06 +01:00
|
|
|
# Gtk4 Tutorial for beginners
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2021-01-11 15:32:09 +01:00
|
|
|
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](https://developer.gnome.org/) for further topics.
|
|
|
|
|
2020-12-21 13:12:05 +01:00
|
|
|
This tutorial is under development and unstable.
|
2021-01-11 15:32:09 +01:00
|
|
|
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](https://github.com/ToshioCP/Gtk4-tutorial/issues).
|
2021-01-18 04:16:18 +01:00
|
|
|
The latest version of the tutorial is located at [Gtk4-tutorial githup repository](https://github.com/ToshioCP/Gtk4-tutorial).
|
|
|
|
You can read it without download.
|
2020-12-21 13:12:05 +01:00
|
|
|
|
2021-02-06 15:50:02 +01:00
|
|
|
|
2021-02-06 09:26:57 +01:00
|
|
|
1. [Prerequisite and License](gfm/sec1.md)
|
2021-01-17 14:03:04 +01:00
|
|
|
1. [Installation of gtk4 to linux distributions](gfm/sec2.md)
|
|
|
|
1. [GtkApplication and GtkApplicationWindow](gfm/sec3.md)
|
|
|
|
1. [Widgets (1)](gfm/sec4.md)
|
|
|
|
1. [Widgets (2)](gfm/sec5.md)
|
|
|
|
1. [Widgets (3)](gfm/sec6.md)
|
|
|
|
1. [Define Child object](gfm/sec7.md)
|
2021-01-25 10:35:49 +01:00
|
|
|
1. [Ui file and GtkBuilder](gfm/sec8.md)
|
2021-01-17 14:03:04 +01:00
|
|
|
1. [Build system](gfm/sec9.md)
|
|
|
|
1. [Instance and class](gfm/sec10.md)
|
|
|
|
1. [Signals](gfm/sec11.md)
|
|
|
|
1. [Functions in TfeTextView](gfm/sec12.md)
|
2021-02-06 09:26:57 +01:00
|
|
|
1. [Functions in GtkNotebook](gfm/sec13.md)
|
2021-01-17 14:03:04 +01:00
|
|
|
1. [tfeapplication.c](gfm/sec14.md)
|
|
|
|
1. [tfe5 source files](gfm/sec15.md)
|
|
|
|
1. [Menu and action](gfm/sec16.md)
|
|
|
|
1. [Stateful action](gfm/sec17.md)
|
|
|
|
1. [Ui file for menu and action entries](gfm/sec18.md)
|
2021-02-17 15:59:50 +01:00
|
|
|
1. [Upgrade text file editor](gfm/sec19.md)
|
|
|
|
1. [GtkDrawingArea and Cairo](gfm/sec20.md)
|
|
|
|
1. [Combine GtkDrawingArea and TfeTextView](gfm/sec21.md)
|