Tutorial for beginners and code samples

Although these tutorials are designed for beginners, we can't cover all the basics. Before attempting to follow these tutorials, you are expected to be familiar with the following concepts:

  1. Object oriented programming

  2. The Vala programming language:

By following these tutorials you will learn the basics of GUI programming using GTK+.

Code samples

To run the code samples:

  1. Copy and paste the code into filename.vala

  2. In the terminal type:

    valac --pkg gtk+-3.0 filename.vala
    ./filename

Exercises