1Gtk2::ProgressBar(3)  User Contributed Perl Documentation Gtk2::ProgressBar(3)
2
3
4

NAME

6       Gtk2::ProgressBar
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Glib::Object::_Unregistered::GtkProgress
14                             +----Gtk2::ProgressBar
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18

METHODS

20       widget = Gtk2::ProgressBar->new
21
22       ellipsizemode = $pbar->get_ellipsize
23
24       $pbar->set_ellipsize ($mode)
25
26           * $mode (Gtk2::Pango::EllipsizeMode)
27
28       double = $pbar->get_fraction
29
30       $pbar->set_fraction ($fraction)
31
32           * $fraction (double)
33
34       progressbarorientation = $pbar->get_orientation
35
36       $pbar->set_orientation ($orientation)
37
38           * $orientation (Gtk2::ProgressBarOrientation)
39
40       $pbar->pulse
41
42       double = $pbar->get_pulse_step
43
44       $pbar->set_pulse_step ($fraction)
45
46           * $fraction (double)
47
48       string or undef = $pbar->get_text
49
50       $pbar->set_text ($text)
51
52           * $text (string or undef)
53

PROPERTIES

55       'activity-blocks' (Glib::UInt : readable / writable / private)
56           The number of blocks which can fit in the progress bar area in
57           activity mode (Deprecated)
58
59       'activity-step' (Glib::UInt : readable / writable / private)
60           The increment used for each iteration in activity mode (Deprecated)
61
62       'adjustment' (Gtk2::Adjustment : readable / writable / private)
63           The GtkAdjustment connected to the progress bar (Deprecated)
64
65       'bar-style' (Gtk2::ProgressBarStyle : readable / writable / private)
66           Specifies the visual style of the bar in percentage mode (Depre‐
67           cated)
68
69       'discrete-blocks' (Glib::UInt : readable / writable / private)
70           The number of discrete blocks in a progress bar (when shown in the
71           discrete style)
72
73       'ellipsize' (Gtk2::Pango::EllipsizeMode : readable / writable / pri‐
74       vate)
75           The preferred place to ellipsize the string, if the progressbar
76           does not have enough room to display the entire string, if at all
77
78       'fraction' (double : readable / writable / private)
79           The fraction of total work that has been completed
80
81       'orientation' (Gtk2::ProgressBarOrientation : readable / writable /
82       private)
83           Orientation and growth direction of the progress bar
84
85       'pulse-step' (double : readable / writable / private)
86           The fraction of total progress to move the bouncing block when
87           pulsed
88
89       'text' (string : readable / writable / private)
90           Text to be displayed in the progress bar
91

ENUMS AND FLAGS

93       enum Gtk2::Pango::EllipsizeMode
94
95       * 'none' / 'PANGO_ELLIPSIZE_NONE'
96       * 'start' / 'PANGO_ELLIPSIZE_START'
97       * 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
98       * 'end' / 'PANGO_ELLIPSIZE_END'
99
100       enum Gtk2::ProgressBarOrientation
101
102       * 'left-to-right' / 'GTK_PROGRESS_LEFT_TO_RIGHT'
103       * 'right-to-left' / 'GTK_PROGRESS_RIGHT_TO_LEFT'
104       * 'bottom-to-top' / 'GTK_PROGRESS_BOTTOM_TO_TOP'
105       * 'top-to-bottom' / 'GTK_PROGRESS_TOP_TO_BOTTOM'
106
107       enum Gtk2::ProgressBarStyle
108
109       * 'continuous' / 'GTK_PROGRESS_CONTINUOUS'
110       * 'discrete' / 'GTK_PROGRESS_DISCRETE'
111

SEE ALSO

113       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
114       Glib::Object::_Unregistered::GtkProgress
115
117       Copyright (C) 2003-2007 by the gtk2-perl team.
118
119       This software is licensed under the LGPL.  See Gtk2 for a full notice.
120
121
122
123perl v5.8.8                       2007-03-18              Gtk2::ProgressBar(3)
Impressum