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 C programming language
By following these tutorials you will learn the basics of GUI programming using GTK+.
To run the code samples:
Copy and paste the code into filename.c
In the terminal type:
gcc filename.c `pkg-config --cflags --libs gtk+-3.0` -o filename
./filenameFor more information about compiling GTK+ programs see Compiling GTK+ Applications on UNIX.
You can also use the Vala compiler to compile these samples:
In the terminal type:
valac --pkg gtk+-3.0 filename.cTo run:
./filenameGot a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.