# Beginner's Tutorials (C)

A beginner's guide to GUI programming using GTK+, including code samples and practice exercises.

# 0 Beginner's 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:

      Object oriented programming
      The C programming language

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

In the terminal type:

    gcc filename.c `pkg-config --cflags --libs gtk+-3.0` -o filename

    ./filename

For 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.c

To run:

    ./filename

## Windows

## Display widgets

## Buttons and toggles

## Numeric and text data entry

## Multiline text editor

## Menu, combo box and toolbar widgets

## TreeView widget

## Selectors

### File selectors

### Font selectors

### Color Selectors

## Layout containers

## Ornaments

## Scrolling

## Miscellaneous

# Exercises