1Gtk2::ProgressBar(3) User Contributed Perl Documentation Gtk2::ProgressBar(3)
2
3
4
6 Gtk2::ProgressBar
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Glib::Object::_Unregistered::GtkProgress
14 +----Gtk2::ProgressBar
15
17 Glib::Object::_Unregistered::AtkImplementorIface
18 Gtk2::Buildable
19
21 widget = Gtk2::ProgressBar->new
22 ellipsizemode = $pbar->get_ellipsize
23 Since: gtk+ 2.6
24
25 $pbar->set_ellipsize ($mode)
26 · $mode (Gtk2::Pango::EllipsizeMode)
27
28 Since: gtk+ 2.6
29
30 double = $pbar->get_fraction
31 $pbar->set_fraction ($fraction)
32 · $fraction (double)
33
34 progressbarorientation = $pbar->get_orientation
35 $pbar->set_orientation ($orientation)
36 · $orientation (Gtk2::ProgressBarOrientation)
37
38 $pbar->pulse
39 double = $pbar->get_pulse_step
40 $pbar->set_pulse_step ($fraction)
41 · $fraction (double)
42
43 string or undef = $pbar->get_text
44 $pbar->set_text ($text)
45 · $text (string or undef)
46
48 'activity-blocks' (Glib::UInt : readable / writable / private)
49 The number of blocks which can fit in the progress bar area in
50 activity mode (Deprecated)
51
52 'activity-step' (Glib::UInt : readable / writable / private)
53 The increment used for each iteration in activity mode (Deprecated)
54
55 'adjustment' (Gtk2::Adjustment : readable / writable / private)
56 The GtkAdjustment connected to the progress bar (Deprecated)
57
58 'bar-style' (Gtk2::ProgressBarStyle : readable / writable / private)
59 Specifies the visual style of the bar in percentage mode
60 (Deprecated)
61
62 'discrete-blocks' (Glib::UInt : readable / writable / private)
63 The number of discrete blocks in a progress bar (when shown in the
64 discrete style)
65
66 'ellipsize' (Gtk2::Pango::EllipsizeMode : readable / writable /
67 private)
68 The preferred place to ellipsize the string, if the progress bar
69 does not have enough room to display the entire string, if at all.
70
71 'fraction' (double : readable / writable / private)
72 The fraction of total work that has been completed
73
74 'orientation' (Gtk2::ProgressBarOrientation : readable / writable /
75 private)
76 Orientation and growth direction of the progress bar
77
78 'pulse-step' (double : readable / writable / private)
79 The fraction of total progress to move the bouncing block when
80 pulsed
81
82 'text' (string : readable / writable / private)
83 Text to be displayed in the progress bar
84
86 enum Gtk2::Pango::EllipsizeMode
87 · 'none' / 'PANGO_ELLIPSIZE_NONE'
88
89 · 'start' / 'PANGO_ELLIPSIZE_START'
90
91 · 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
92
93 · 'end' / 'PANGO_ELLIPSIZE_END'
94
95 enum Gtk2::ProgressBarOrientation
96 · 'left-to-right' / 'GTK_PROGRESS_LEFT_TO_RIGHT'
97
98 · 'right-to-left' / 'GTK_PROGRESS_RIGHT_TO_LEFT'
99
100 · 'bottom-to-top' / 'GTK_PROGRESS_BOTTOM_TO_TOP'
101
102 · 'top-to-bottom' / 'GTK_PROGRESS_TOP_TO_BOTTOM'
103
104 enum Gtk2::ProgressBarStyle
105 · 'continuous' / 'GTK_PROGRESS_CONTINUOUS'
106
107 · 'discrete' / 'GTK_PROGRESS_DISCRETE'
108
110 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
111 Glib::Object::_Unregistered::GtkProgress
112
114 Copyright (C) 2003-2008 by the gtk2-perl team.
115
116 This software is licensed under the LGPL. See Gtk2 for a full notice.
117
118
119
120perl v5.12.0 2010-05-02 Gtk2::ProgressBar(3)