Next
Previous Contents
GTK Tutorial
Ian Main
<imain@gtk.org>
, Tony Gale
<gale@gtk.org>
May 29th, 1998
1.
Introduction
2.
Getting Started
2.1 Hello World in GTK
2.2 Compiling Hello World
2.3 Theory of Signals and Callbacks
2.4 Events
2.5 Stepping Through Hello World
3.
Moving On
3.1 Data Types
3.2 More on Signal Handlers
3.3 An Upgraded Hello World
4.
Packing Widgets
4.1 Theory of Packing Boxes
4.2 Details of Boxes
4.3 Packing Demonstration Program
4.4 Packing Using Tables
4.5 Table Packing Example
5.
Widget Overview
5.1 Casting
5.2 Widget Hierarchy
5.3 Widgets Without Windows
6.
The Button Widget
6.1 Normal Buttons
6.2 Toggle Buttons
6.3 Check Buttons
6.4 Radio Buttons
7.
Miscallaneous Widgets
7.1 Labels
7.2 The Tooltips Widget
7.3 Progress Bars
7.4 Dialogs
7.5 Pixmaps
7.6 Rulers
7.7 Statusbars
7.8 Text Entries
7.9 Color Selection
7.10 File Selections
8.
Container Widgets
8.1 Notebooks
8.2 Scrolled Windows
8.3 Paned Window Widgets
8.4 Aspect Frames
9.
List Widgets
9.1 Signals
9.2 Functions
9.3 Example
9.4 List Item Widget
9.5 Signals
9.6 Functions
9.7 Example
10.
Menu Widgets
10.1 Manual Menu Creation
10.2 Manual Menu Example
10.3 Using GtkMenuFactory
10.4 Menu Factory Example
11.
Text Widget
11.1 Creating and Configuring a Text box
11.2 Text Manipulation
11.3 Keyboard Shortcuts
12.
Undocumented Widgets
12.1 Adjustments
12.2 Toolbar
12.3 Fixed Container
12.4 CList
12.5 Range Controls
12.6 Curves
12.7 Previews
13.
The EventBox Widget
14.
Setting Widget Attributes
15.
Timeouts, IO and Idle Functions
15.1 Timeouts
15.2 Monitoring IO
15.3 Idle Functions
16.
Managing Selections
16.1 Overview
16.2 Retrieving the selection
16.3 Supplying the selection
17.
glib
17.1 Definitions
17.2 Doubly Linked Lists
17.3 Singly Linked Lists
17.4 Memory Management
17.5 Timers
17.6 String Handling
17.7 Utility and Error Functions
18.
GTK's rc Files
18.1 Functions For rc Files
18.2 GTK's rc File Format
18.3 Example rc file
19.
Writing Your Own Widgets
19.1 Overview
19.2 The Anatomy Of A Widget
19.3 Creating a Composite widget
19.4 Creating a widget from scratch.
19.5 Learning More
20.
Scribble, A Simple Example Drawing Program
20.1 Overview
20.2 Event Handling
20.3 The DrawingArea Widget, And Drawing
20.4 Adding XInput support
21.
Tips For Writing GTK Applications
22.
Contributing
23.
Credits
24.
Tutorial Copyright and Permissions Notice
Next
Previous Contents