   #home GTK Classes GtkProgress::get_percentage_from_value
   GtkProgressBar Constructor

          GTK Classes
   Prev  GtkProgressBar  Next
     _________________________________________________________________

GtkProgressBar

     Widget that provides a visual indication of an operation's
     progress.

Object Hierarchy

   GtkObject
   `-- GtkWidget
         `-- GtkProgress
               `-- GtkProgressBar

Description

     The purpose of GtkProgressBar is to show the user the progress of a
     long-running operation. It can be used in two modes: a percentage
     mode or an activity mode.

     The percentage mode should be used when the application can in
     advance determine the total amount of work that will be done. As
     the operation progresses the application should update the bar
     widget with the amount of work completed so far. The widget will
     reflect this by displaying a growing percentage bar.

     The activity mode is useful when the application cannot determine
     the total amount of work and instead simply wishes to provide an
     indication that an operation is in progress. In this mode, the
     widget will display a block moving back and forth in the progress
     area.

     See also: GtkProgress, set_activity_mode() .

Constructor

   GtkProgressBar ( GtkAdjustment adjustment );

     -- Creates a progress bar widget.

Methods

   set_bar_style()
     Sets the progress bar style in percentage mode.

   set_discrete_blocks()
     Sets the number of discrete blocks.

   set_activity_step()
     Sets the step value in activity mode.

   set_activity_blocks()
     Sets the number of blocks in activity mode.

   set_orientation()
     Sets the orientation of the bar.

   update()
     Sets progress update value. *deprecated*
     _________________________________________________________________

   Prev                                    Home                        Next
   GtkProgress::get_percentage_from_value   Up   GtkProgressBar Constructor
