Gtk4-tutorial/gfm/sec1.md
2022-11-21 22:48:20 +09:00

2.1 KiB

Up: README.md, Next: Section 2

Prerequisite and License

Prerequisite

GTK 4 on a Linux OS

This tutorial is about GTK 4 libraries. It is originally used on Linux with C compiler, but now it is used more widely, on Windows and MacOS, with Vala, Python and so on. However, this tutorial describes only C programs on Linux.

If you want to try the examples in the tutorial, you need:

  • PC with Linux distribution like Ubuntu, Debian and so on.
  • Gcc.
  • GTK 4. The stable version of Gtk on Linux distributions is version three at present. You need to install GTK 4 to your computer. See Section 3 for the installation of GTK 4.

Ruby and rake for making the document

This repository includes Ruby programs. They are used to make Markdown files, HTML files, Latex files and a PDF file.

You need:

  • Linux distribution like Ubuntu.
  • Ruby programming language. There are two ways to install it. One is installing the distribution's package. The other is using rbenv and ruby-build. If you want to use the latest version of ruby, use rbenv.
  • Rake. It is a gem, which is a library written in Ruby. You can install it as a package of your distribution or use gem command.

License

Copyright (C) 2020 ToshioCP (Toshio Sekiya)

Gtk4-tutorial repository contains the tutorial document and software such as converters, generators and controllers. All of them make up the 'Gtk4-tutorial' package. This package is simply called 'Gtk4-tutorial' in the following description. 'Gtk4-tutorial' is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License or, at your option, any later version.

'Gtk4-tutorial' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Up: README.md, Next: Section 2