Webhosting and cheap domain registration service
  

 Home

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

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
Happiness is nothing more than health and a poor memory.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php