0 Beginner's Tutorials

If you have never programmed before, or are not familiar with the concepts of object oriented programming, you may need to learn a few basics first. The book Learn Python the Hard Way may be a better place for you to start. Once you master the basics, be sure to come back and check out these tutorials.

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+.

Tutorials

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

Display widgets

Numeric and text data entry

TreeView widget

Selectors

File selectors

Font selectors

Color Selectors

Layout containers

Ornaments

Scrolling

Miscellaneous

Exercises