cvs: php-gtk /docs/en/classes gtklabel.xml
| From: | Markus Fischer | Date: | Wed, 25 Apr 2001 23:36:25 +0000 |
| Subject: | cvs: php-gtk /docs/en/classes gtklabel.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1515@lists.php.net to get a copy of this message | ||
mfischer Wed Apr 25 16:36:25 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtklabel.xml
Log:
Fixed set_pattern() documentation
Index: php-gtk/docs/en/classes/gtklabel.xml
diff -u php-gtk/docs/en/classes/gtklabel.xml:1.10 php-gtk/docs/en/classes/gtklabel.xml:1.11
--- php-gtk/docs/en/classes/gtklabel.xml:1.10 Tue Apr 24 13:09:06 2001
+++ php-gtk/docs/en/classes/gtklabel.xml Wed Apr 25 16:36:25 2001
@@ -51,9 +51,10 @@
</funcsynopsis>
<desc>
<para>
- Sets the text for the label widget. Previous text in the label is not kept.
- Note that the existing underlines are not overwritten, use
- <function>set_pattern</function> with no parameters to erase the underlines.
+ Sets the text for the label widget. Previous text in the label is not
+ kept. Note that the existing underlines are not overwritten, use
+ <function>set_pattern()</function> with an empty string to erase the
+ unterlines.
</para>
<para>
<programlisting>$label->set_text("Whatever you wish to pass");
@@ -107,15 +108,19 @@
</shortdesc>
<desc>
<para>
- This is the method for underlining text in GtkLabel. It needs to be
- defined as a pattern, eg if your text consists of
- <literal>"Apple Banana Carrot"</literal>, then
- "__ __" will underline Apple and Carrot but not
- Banana, as that is where the space falls.
+ This is the method for underlining text in GtkLabel. It needs to be
+ defined as a pattern, eg if your text consists of <literal>"Apple
+ Banana Carrot"</literal>, then
+ "<literal>_____ _____</literal>"
+ will underline Apple and Carrot but not Banana, as that is where the
+ space falls.
</para>
<para>
<programlisting>$label->set_pattern("__
__");</programlisting>
</para>
+ <para>
+ Call this method with an empty string to erase the underlines.
+ </para>
</desc>
</method>