| GTK+
HOME |
The Seven
Basic Steps to a Basic GTK+ Program |
|
|
|
|
|
| Step
1 - Initialize the Environment |
| Parse the command line
for GTK+ options. GTK+ resources are initialized and
default actions installed. |
| |
|
| Step
2 - Create Widgets
and Set Attributes |
| Create the widgets and
set their size, position, etc. |
| |
|
| Step
3 - Register the
Callback Routines |
|
| |
|
| Step
4 - Define an
Instance Hierarchy |
|
| |
|
| Step
5 - Show the
Widgets |
|
| |
|
| Step
6 - Process the
Signals and Events |
|
| |
|
| Step
7 - Quit the
Application |
|
| |
|
|
|
|