Chapter 24. Scribble, A Simple Example Drawing Program

Table of Contents

24.1. Scribble Overview
24.2. Event Handling
24.2.1. Scribble - Event Handling
24.3. The DrawingArea Widget, And Drawing

24.1. Scribble 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.

Figure 24.1. Scribble Drawing Program Example

Scribble Drawing Program Example