cvs: php-gtk /docs/en/classes gtklabel.xml

From: 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-&gt;set_text(&quot;Whatever you wish to pass&quot;); @@ -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>&quot;Apple Banana Carrot&quot;</literal>, then - &quot;__&nbsp;&nbsp;__&quot; 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>&quot;Apple + Banana Carrot&quot;</literal>, then + &quot;<literal>_____&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_____</literal>&quot; + will underline Apple and Carrot but not Banana, as that is where the + space falls. </para> <para> <programlisting>$label-&gt;set_pattern(&quot;__ __&quot;);</programlisting> </para> + <para> + Call this method with an empty string to erase the underlines. + </para> </desc> </method>

« previous php.gtk (#1515) next »