GTK 4 tutorial for beginners
Find a file
2021-01-24 16:50:52 +09:00
gfm Add section 20. 2021-01-24 16:50:52 +09:00
image Add section 20. 2021-01-24 16:50:52 +09:00
lib Add section 20. 2021-01-24 16:50:52 +09:00
src Add section 20. 2021-01-24 16:50:52 +09:00
.gitignore Add section 20. 2021-01-24 16:50:52 +09:00
Rakefile Add section 19. 2021-01-22 22:14:05 +09:00
Readme.md Add section 20. 2021-01-24 16:50:52 +09:00
Readme_for_developers.md Modify Readme_for_developers.md to fit the change of the directory structure. 2021-01-14 10:02:41 +09:00
src2md.rb Bug fixed. Readme_for_developers.md is modified. 2021-01-11 23:32:09 +09:00

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.

  1. Prerequisite and Licence
  2. Installation of gtk4 to linux distributions
  3. GtkApplication and GtkApplicationWindow
  4. Widgets (1)
  5. Widgets (2)
  6. Widgets (3)
  7. Define Child object
  8. Ui file and GtkBuiler
  9. Build system
  10. Instance and class
  11. Signals
  12. Functions in TfeTextView
  13. Functions with GtkNotebook
  14. tfeapplication.c
  15. tfe5 source files
  16. Menu and action
  17. Stateful action
  18. Ui file for menu and action entries
  19. GtkDrawingArea and Cairo
  20. Combine GtkDrawingArea and TfeTextView