cvs: php-gtk-doc /en/reference/gtk gtkprogressbar.xml
| From: | Steph Fox | Date: | Sun, 20 Jan 2002 07:44:20 +0000 |
| Subject: | cvs: php-gtk-doc /en/reference/gtk gtkprogressbar.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-303@lists.php.net to get a copy of this message | ||
sfox Sun Jan 20 02:44:20 2002 EDT
Modified files:
/php-gtk-doc/en/reference/gtk gtkprogressbar.xml
Log:
Decided it best not to miss this part out :-\
Index: php-gtk-doc/en/reference/gtk/gtkprogressbar.xml
diff -u php-gtk-doc/en/reference/gtk/gtkprogressbar.xml:1.6
php-gtk-doc/en/reference/gtk/gtkprogressbar.xml:1.7
--- php-gtk-doc/en/reference/gtk/gtkprogressbar.xml:1.6 Sun Jan 20 01:34:39 2002
+++ php-gtk-doc/en/reference/gtk/gtkprogressbar.xml Sun Jan 20 02:44:20 2002
@@ -101,10 +101,18 @@
</example>
To create a progress bar in <literal>activity</literal> mode, delete
the references to the text string and replace them with
- <programlisting>
+ <programlisting role="php">
$progressbar->set_activity_mode(true);
</programlisting>
- and any further methods appropriate to an activity indicator.
+ and any further methods appropriate to an activity indicator. You will
+ also need to replace
+ <programlisting role="php">
+$progressbar->set_percentage($value);
+ </programlisting>
+ in the <literal>update_bar()</literal> function with
+ <programlisting role="php">
+$progressbar->set_value($value);
+ </programlisting>
</para>
<simpara>
Note that a progress bar in <literal>activity</literal> mode will not