52
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>* <a class="link" href="GtkProgressBar.html#gtk-progress-bar-new" title="gtk_progress_bar_new ()">gtk_progress_bar_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
53
53
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-pulse" title="gtk_progress_bar_pulse ()">gtk_progress_bar_pulse</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
54
54
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-text" title="gtk_progress_bar_set_text ()">gtk_progress_bar_set_text</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
55
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
55
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
56
56
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-fraction" title="gtk_progress_bar_set_fraction ()">gtk_progress_bar_set_fraction</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
57
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-pulse-step" title="gtk_progress_bar_set_pulse_step ()">gtk_progress_bar_set_pulse_step</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
59
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);
60
60
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-orientation" title="gtk_progress_bar_set_orientation ()">gtk_progress_bar_set_orientation</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
61
61
<em class="parameter"><code><a class="link" href="GtkProgressBar.html#GtkProgressBarOrientation" title="enum GtkProgressBarOrientation"><span class="type">GtkProgressBarOrientation</span></a> orientation</code></em>);
62
62
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-ellipsize" title="gtk_progress_bar_set_ellipsize ()">gtk_progress_bar_set_ellipsize</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
63
63
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> mode</code></em>);
64
64
enum <a class="link" href="GtkProgressBar.html#GtkProgressBarOrientation" title="enum GtkProgressBarOrientation">GtkProgressBarOrientation</a>;
65
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-text" title="gtk_progress_bar_get_text ()">gtk_progress_bar_get_text</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
66
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-fraction" title="gtk_progress_bar_get_fraction ()">gtk_progress_bar_get_fraction</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
67
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-pulse-step" title="gtk_progress_bar_get_pulse_step ()">gtk_progress_bar_get_pulse_step</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
65
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-text" title="gtk_progress_bar_get_text ()">gtk_progress_bar_get_text</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-fraction" title="gtk_progress_bar_get_fraction ()">gtk_progress_bar_get_fraction</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-pulse-step" title="gtk_progress_bar_get_pulse_step ()">gtk_progress_bar_get_pulse_step</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
68
68
<a class="link" href="GtkProgressBar.html#GtkProgressBarOrientation" title="enum GtkProgressBarOrientation"><span class="returnvalue">GtkProgressBarOrientation</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-orientation" title="gtk_progress_bar_get_orientation ()">gtk_progress_bar_get_orientation</a>
69
69
(<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
70
70
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-get-ellipsize" title="gtk_progress_bar_get_ellipsize ()">gtk_progress_bar_get_ellipsize</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);
75
75
enum <a class="link" href="GtkProgressBar.html#GtkProgressBarStyle" title="enum GtkProgressBarStyle">GtkProgressBarStyle</a>;
76
76
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-discrete-blocks" title="gtk_progress_bar_set_discrete_blocks ()">gtk_progress_bar_set_discrete_blocks</a>
77
77
(<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
78
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);
78
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);
79
79
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-activity-step" title="gtk_progress_bar_set_activity_step ()">gtk_progress_bar_set_activity_step</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
80
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> step</code></em>);
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> step</code></em>);
81
81
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-set-activity-blocks" title="gtk_progress_bar_set_activity_blocks ()">gtk_progress_bar_set_activity_blocks</a>
82
82
(<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
83
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);
84
84
<span class="returnvalue">void</span> <a class="link" href="GtkProgressBar.html#gtk-progress-bar-update" title="gtk_progress_bar_update ()">gtk_progress_bar_update</a> (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
85
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> percentage</code></em>);
85
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> percentage</code></em>);
88
88
<div class="refsect1" title="Object Hierarchy">
89
89
<a name="GtkProgressBar.object-hierarchy"></a><h2>Object Hierarchy</h2>
90
90
<pre class="synopsis">
91
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
92
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
91
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
92
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
93
93
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
94
94
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
95
95
+----<a class="link" href="GtkProgress.html" title="GtkProgress">GtkProgress</a>
105
105
<div class="refsect1" title="Properties">
106
106
<a name="GtkProgressBar.properties"></a><h2>Properties</h2>
107
107
<pre class="synopsis">
108
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--activity-blocks" title='The "activity-blocks" property'>activity-blocks</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
109
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--activity-step" title='The "activity-step" property'>activity-step</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
108
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--activity-blocks" title='The "activity-blocks" property'>activity-blocks</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
109
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--activity-step" title='The "activity-step" property'>activity-step</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
110
110
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--adjustment" title='The "adjustment" property'>adjustment</a>" <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>* : Read / Write
111
111
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--bar-style" title='The "bar-style" property'>bar-style</a>" <a class="link" href="GtkProgressBar.html#GtkProgressBarStyle" title="enum GtkProgressBarStyle"><span class="type">GtkProgressBarStyle</span></a> : Read / Write
112
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--discrete-blocks" title='The "discrete-blocks" property'>discrete-blocks</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
112
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--discrete-blocks" title='The "discrete-blocks" property'>discrete-blocks</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
113
113
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> : Read / Write
114
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--fraction" title='The "fraction" property'>fraction</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
114
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--fraction" title='The "fraction" property'>fraction</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
115
115
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--orientation" title='The "orientation" property'>orientation</a>" <a class="link" href="GtkProgressBar.html#GtkProgressBarOrientation" title="enum GtkProgressBarOrientation"><span class="type">GtkProgressBarOrientation</span></a> : Read / Write
116
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--pulse-step" title='The "pulse-step" property'>pulse-step</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
117
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--text" title='The "text" property'>text</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
116
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--pulse-step" title='The "pulse-step" property'>pulse-step</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write
117
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--text" title='The "text" property'>text</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
120
120
<div class="refsect1" title="Style Properties">
121
121
<a name="GtkProgressBar.style-properties"></a><h2>Style Properties</h2>
122
122
<pre class="synopsis">
123
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-horizontal-bar-height" title='The "min-horizontal-bar-height" style property'>min-horizontal-bar-height</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
124
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-horizontal-bar-width" title='The "min-horizontal-bar-width" style property'>min-horizontal-bar-width</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
125
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-vertical-bar-height" title='The "min-vertical-bar-height" style property'>min-vertical-bar-height</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
126
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-vertical-bar-width" title='The "min-vertical-bar-width" style property'>min-vertical-bar-width</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
127
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-xspacing" title='The "xspacing" style property'>xspacing</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
128
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-yspacing" title='The "yspacing" style property'>yspacing</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
123
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-horizontal-bar-height" title='The "min-horizontal-bar-height" style property'>min-horizontal-bar-height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
124
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-horizontal-bar-width" title='The "min-horizontal-bar-width" style property'>min-horizontal-bar-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
125
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-vertical-bar-height" title='The "min-vertical-bar-height" style property'>min-vertical-bar-height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
126
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-min-vertical-bar-width" title='The "min-vertical-bar-width" style property'>min-vertical-bar-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
127
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-xspacing" title='The "xspacing" style property'>xspacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
128
"<a class="link" href="GtkProgressBar.html#GtkProgressBar--s-yspacing" title='The "yspacing" style property'>yspacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
131
131
<div class="refsect1" title="Description">
223
223
<div class="refsect2" title="gtk_progress_bar_set_text ()">
224
224
<a name="gtk-progress-bar-set-text"></a><h3>gtk_progress_bar_set_text ()</h3>
225
225
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_text (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
226
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
226
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
228
228
Causes the given <em class="parameter"><code>text</code></em> to appear superimposed on the progress bar.
247
247
<div class="refsect2" title="gtk_progress_bar_set_fraction ()">
248
248
<a name="gtk-progress-bar-set-fraction"></a><h3>gtk_progress_bar_set_fraction ()</h3>
249
249
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_fraction (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
250
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);</pre>
250
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);</pre>
252
252
Causes the progress bar to "fill in" the given fraction
253
253
of the bar. The fraction should be between 0.0 and 1.0,
273
273
<div class="refsect2" title="gtk_progress_bar_set_pulse_step ()">
274
274
<a name="gtk-progress-bar-set-pulse-step"></a><h3>gtk_progress_bar_set_pulse_step ()</h3>
275
275
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_pulse_step (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
276
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);</pre>
276
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fraction</code></em>);</pre>
278
278
Sets the fraction of total progress bar length to move the
279
279
bouncing block for each call to <a class="link" href="GtkProgressBar.html#gtk-progress-bar-pulse" title="gtk_progress_bar_pulse ()"><code class="function">gtk_progress_bar_pulse()</code></a>.
390
390
<div class="refsect2" title="gtk_progress_bar_get_text ()">
391
391
<a name="gtk-progress-bar-get-text"></a><h3>gtk_progress_bar_get_text ()</h3>
392
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* gtk_progress_bar_get_text (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);</pre>
392
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* gtk_progress_bar_get_text (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>);</pre>
394
394
Retrieves the text displayed superimposed on the progress bar,
395
if any, otherwise <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return value is a reference
395
if any, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The return value is a reference
396
396
to the text, not a copy of it, so will become invalid
397
397
if you change the text in the progress bar.
599
599
<a name="gtk-progress-bar-set-discrete-blocks"></a><h3>gtk_progress_bar_set_discrete_blocks ()</h3>
600
600
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_discrete_blocks
601
601
(<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
602
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);</pre>
602
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);</pre>
603
603
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
604
604
<h3 class="title">Warning</h3>
605
605
<p><code class="literal">gtk_progress_bar_set_discrete_blocks</code> is deprecated and should not be used in newly-written code.</p>
628
628
<div class="refsect2" title="gtk_progress_bar_set_activity_step ()">
629
629
<a name="gtk-progress-bar-set-activity-step"></a><h3>gtk_progress_bar_set_activity_step ()</h3>
630
630
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_activity_step (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
631
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> step</code></em>);</pre>
631
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> step</code></em>);</pre>
632
632
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
633
633
<h3 class="title">Warning</h3>
634
634
<p><code class="literal">gtk_progress_bar_set_activity_step</code> is deprecated and should not be used in newly-written code.</p>
660
660
<a name="gtk-progress-bar-set-activity-blocks"></a><h3>gtk_progress_bar_set_activity_blocks ()</h3>
661
661
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_set_activity_blocks
662
662
(<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
663
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);</pre>
663
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blocks</code></em>);</pre>
664
664
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
665
665
<h3 class="title">Warning</h3>
666
666
<p><code class="literal">gtk_progress_bar_set_activity_blocks</code> is deprecated and should not be used in newly-written code.</p>
689
689
<div class="refsect2" title="gtk_progress_bar_update ()">
690
690
<a name="gtk-progress-bar-update"></a><h3>gtk_progress_bar_update ()</h3>
691
691
<pre class="programlisting"><span class="returnvalue">void</span> gtk_progress_bar_update (<em class="parameter"><code><a class="link" href="GtkProgressBar.html" title="GtkProgressBar"><span class="type">GtkProgressBar</span></a> *pbar</code></em>,
692
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> percentage</code></em>);</pre>
692
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> percentage</code></em>);</pre>
693
693
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
694
694
<h3 class="title">Warning</h3>
695
695
<p><code class="literal">gtk_progress_bar_update</code> is deprecated and should not be used in newly-written code.</p>
719
719
<a name="GtkProgressBar.property-details"></a><h2>Property Details</h2>
720
720
<div class="refsect2" title='The "activity-blocks" property'>
721
721
<a name="GtkProgressBar--activity-blocks"></a><h3>The <code class="literal">"activity-blocks"</code> property</h3>
722
<pre class="programlisting"> "activity-blocks" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
722
<pre class="programlisting"> "activity-blocks" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
723
723
<p>The number of blocks which can fit in the progress bar area in activity mode (Deprecated).</p>
724
724
<p>Allowed values: >= 2</p>
725
725
<p>Default value: 5</p>
789
789
<div class="refsect2" title='The "pulse-step" property'>
790
790
<a name="GtkProgressBar--pulse-step"></a><h3>The <code class="literal">"pulse-step"</code> property</h3>
791
<pre class="programlisting"> "pulse-step" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
791
<pre class="programlisting"> "pulse-step" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> : Read / Write</pre>
792
792
<p>The fraction of total progress to move the bouncing block when pulsed.</p>
793
793
<p>Allowed values: [0,1]</p>
794
794
<p>Default value: 0.1</p>