Gtk2::ProgressBar

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::ProgressBar  

HIERARCHY

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

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface

 

METHODS

 

widget = Gtk2::ProgressBar->new

 

ellipsizemode = $pbar->get_ellipsize

Since: gtk+ 2.6
 

$pbar->set_ellipsize ($mode)

* $mode (Gtk2::Pango::EllipsizeMode)

Since: gtk+ 2.6

 

double = $pbar->get_fraction

 

$pbar->set_fraction ($fraction)

* $fraction (double)
 

progressbarorientation = $pbar->get_orientation

 

$pbar->set_orientation ($orientation)

* $orientation (Gtk2::ProgressBarOrientation)
 

$pbar->pulse

 

double = $pbar->get_pulse_step

 

$pbar->set_pulse_step ($fraction)

* $fraction (double)
 

string or undef = $pbar->get_text

 

$pbar->set_text ($text)

* $text (string or undef)
 

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::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Glib::Object::_Unregistered::GtkProgress  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
INTERFACES
METHODS
widget = Gtk2::ProgressBar->new
ellipsizemode = $pbar->get_ellipsize
$pbar->set_ellipsize ($mode)
double = $pbar->get_fraction
$pbar->set_fraction ($fraction)
progressbarorientation = $pbar->get_orientation
$pbar->set_orientation ($orientation)
$pbar->pulse
double = $pbar->get_pulse_step
$pbar->set_pulse_step ($fraction)
string or undef = $pbar->get_text
$pbar->set_text ($text)
PROPERTIES
ENUMS AND FLAGS
enum Gtk2::Pango::EllipsizeMode
enum Gtk2::ProgressBarOrientation
enum Gtk2::ProgressBarStyle
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages