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 Mario Blättermann mario.blaettermann@gmail.com 2011, 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

Vala-Beispielcode

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

Einführungen
Code samples

To run the code samples:

Copy and paste the code into filename.vala

Geben Sie Folgendes im Terminal ein:

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

Display widgets
Buttons and toggles
Numeric and text data entry
Ein mehrzeiliger Texteditor
TreeView widget
Selectors
File selectors
Font selectors
Farbwähler
Layout containers
Ornamente
Bildlauf
Verschiedenes
Übungen