man Gtk2::ProgressBar () - Gtk2::ProgressBar

NAME

Gtk2::ProgressBar

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Glib::Object::_Unregistered::GtkProgress
                      +----Gtk2::ProgressBar

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::ProgressBar->new

$pbar->set_ellipsize ($mode)

$pbar->set_fraction ($fraction)

$pbar->set_orientation ($orientation)

$pbar->pulse

$pbar->set_pulse_step ($fraction)

$pbar->set_text ($text)

PROPERTIES

'activity-blocks' (Glib::UInt : readable / writable / private)
The number of blocks which can fit in the progress bar area in activity mode (Deprecated)
'activity-step' (Glib::UInt : readable / writable / private)
The increment used for each iteration in activity mode (Deprecated)
'adjustment' (Gtk2::Adjustment : readable / writable / private)
The GtkAdjustment connected to the progress bar (Deprecated)
'bar-style' (Gtk2::ProgressBarStyle : readable / writable / private)
Specifies the visual style of the bar in percentage mode (Deprecated)
'discrete-blocks' (Glib::UInt : readable / writable / private)
The number of discrete blocks in a progress bar (when shown in the discrete style)
'ellipsize' (Gtk2::Pango::EllipsizeMode : readable / writable / private)
The preferred place to ellipsize the string, if the progressbar does not have enough room to display the entire string, if at all
'fraction' (double : readable / writable / private)
The fraction of total work that has been completed
'orientation' (Gtk2::ProgressBarOrientation : readable / writable / private)
Orientation and growth direction of the progress bar
'pulse-step' (double : readable / writable / private)
The fraction of total progress to move the bouncing block when pulsed
'text' (string : readable / writable / private)
Text to be displayed in the progress bar

ENUMS AND FLAGS

enum Gtk2::Pango::EllipsizeMode

* 'none' / 'PANGO_ELLIPSIZE_NONE'
* 'start' / 'PANGO_ELLIPSIZE_START'
* 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
* 'end' / 'PANGO_ELLIPSIZE_END'

enum Gtk2::ProgressBarOrientation

* 'left-to-right' / 'GTK_PROGRESS_LEFT_TO_RIGHT'
* 'right-to-left' / 'GTK_PROGRESS_RIGHT_TO_LEFT'
* 'bottom-to-top' / 'GTK_PROGRESS_BOTTOM_TO_TOP'
* 'top-to-bottom' / 'GTK_PROGRESS_TOP_TO_BOTTOM'

enum Gtk2::ProgressBarStyle

* 'continuous' / 'GTK_PROGRESS_CONTINUOUS'
* 'discrete' / 'GTK_PROGRESS_DISCRETE'

SEE ALSO

Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Glib::Object::_Unregistered::GtkProgress

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.