The GtkProgressBar and GtkStatusBar Widgets
The GtkProgressBar and GtkStatusBar widgets are exactly what you’d expect: a progress bar and a status bar. The GtkProgressBar widget indicates a sliding value from 0 to 100, normally. However, this can be customized in GTK+. Also, the progress can be set to move visually from left to right, right to left, top to bottom, or bottom to top. The GtkStatusBar widget allows the program to communicate short text messages to the user. Normally, both would be found at the bottom of a user interface window. Keeping with the previous listing, Figure 3.2 shows the program from Listing 3.2, compiled and running.
Figure 3.2. The GtkProgressBar and GtkStatusBar demo program.
A Note About the Status Bar Widget ...