# Beginner's Tutorial (Python)

A tutorial for beginners who want to learn how to program GUIs using GTK+ in Python.
Tiffany Antopolski
tiffany.antopolski@gmail.com 2012
Marta Maria Casetti
mmcasetti@gmail.com 2012

# 0 Beginner's Tutorial

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

     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 or The Python Tutorial may be a better place for you to start. You may also be interested in The Python GTK+ 3 Tutorial. Once you master the basics, be sure to come back and check out these tutorials.

# To run the code samples

To run the code samples:

Copy and paste the code into filename.py

In the terminal type:

    python filename.py

# A path through the widgets

## Tutorial

## Basic windows

## Images and labels

## Grid

## Ornaments

## Basic buttons

## Other display widgets

## Entry widgets (with a detour on basic scrolling)

## Dialogs

## TreeViews and ComboBoxes (using the M/V/C design)

## Menus and toolbars (also: using Glade)

## Selectors (a recap)

## Tooltip

## More containers

## More scrolling

"scrollbar.py"

## Custom widget

"widget.py"

# Some theory to help you

# Exercises