Scribble, A Simple Example Drawing Program

GTK+ 1.2 Tutorial
Prev |  | Next

# Chapter 24. Scribble, A Simple Example Drawing Program

# Overview

In this section, we will build a simple drawing program. In the process, we will examine how to handle mouse events, how to draw in a window, and how to do drawing better by using a backing pixmap. After creating the simple drawing program, we will extend it by adding support for XInput devices, such as drawing tablets. GTK provides support routines which makes getting extended information, such as pressure and tilt, from such devices quite easy.

Prev | Home | Next
Learning More |  | Event Handling