Tutorial for beginners (Vala) A beginner's guide to GUI programming using GTK+, including code samples and practice exercises. Tiffany Antopolski tiffany.antopolski@gmail.com Marta Maria Casetti mmcasettii@gmail.com 2013 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:

Object oriented programming

The Vala programming language:

The Vala Tutorial

Sample Vala code

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

Tutorials
Code samples

To run the code samples:

Copy and paste the code into filename.vala

In the terminal type:

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

Display widgets
Buttons and toggles
Numeric and text data entry
Multiline text editor
TreeView widget
Selectors
File selectors
Font selectors
Color Selectors
Layout containers
Ornaments
Scrolling
Miscellaneous
Exercises