cvs: php-gtk /docs/en/classes gtkaccellabel.xml gtkitemfactory.xml gtklabel.xml gtktipsquery.xml
| From: | James Moore | Date: | Fri, 13 Apr 2001 13:01:04 +0000 |
| Subject: | cvs: php-gtk /docs/en/classes gtkaccellabel.xml gtkitemfactory.xml gtklabel.xml gtktipsquery.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1367@lists.php.net to get a copy of this message | ||
jmoore Fri Apr 13 06:01:04 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtkaccellabel.xml gtkitemfactory.xml
gtklabel.xml gtktipsquery.xml
Log:
Removing all the CDATA elements. Do not use them any more
Index: php-gtk/docs/en/classes/gtkaccellabel.xml
diff -u php-gtk/docs/en/classes/gtkaccellabel.xml:1.1 php-gtk/docs/en/classes/gtkaccellabel.xml:1.2
--- php-gtk/docs/en/classes/gtkaccellabel.xml:1.1 Wed Apr 11 09:42:54 2001
+++ php-gtk/docs/en/classes/gtkaccellabel.xml Fri Apr 13 06:01:03 2001
@@ -48,7 +48,7 @@
<desc>
<para>
This is the method for setting the widget whose accelerators are going to be displayed. The
syntax for using this is as follows:
- <programlisting><![CDATA[var widget =>(var
accellabel);]]></programlisting>
+ <programlisting>var widget =>(var accellabel);</programlisting>
</para>
</desc>
</method>
Index: php-gtk/docs/en/classes/gtkitemfactory.xml
diff -u php-gtk/docs/en/classes/gtkitemfactory.xml:1.2
php-gtk/docs/en/classes/gtkitemfactory.xml:1.3
--- php-gtk/docs/en/classes/gtkitemfactory.xml:1.2 Tue Apr 10 08:02:33 2001
+++ php-gtk/docs/en/classes/gtkitemfactory.xml Fri Apr 13 06:01:03 2001
@@ -12,7 +12,7 @@
</simpara>
<para>
<informalexample>
- <programlisting><![CDATA[
+ <programlisting>
<lineannotation>
/* -- Creating a GtkOptionMenu with GtkItemFactory -- */ </lineannotation>
@@ -29,7 +29,7 @@
<varname>menu</varname> =
<varname>itemfactory</varname>->get_widget("<path>");
- <varname>menu</varname>->show();]]>
+ <varname>menu</varname>->show();
</programlisting>
</informalexample>
</para>
@@ -54,7 +54,11 @@
</shortdesc>
<desc>
<para>
- Constructs a GtkItemFactory menu. The integer for the first parameter is found by using
<programlisting>GtkMenuBar::get_type()</programlisting> as part of the construct
statement. The path name is arbitrary but must be placed within
<programlisting><![CDATA["< >"]]></programlisting>. The
third parameter is provided by a reference to a declared GtkAccelGroup.
+ Constructs a GtkItemFactory menu. The integer for the first parameter is
+ found by using <programlisting>GtkMenuBar::get_type()</programlisting>
+ as part of the construct statement. The path name is arbitrary but
+ must be placed within <programlisting>"<
>"</programlisting>.
+ The third parameter is provided by a reference to a declared GtkAccelGroup.
</para>
</desc>
</method>
@@ -153,7 +157,7 @@
</para>
<para>
<informalexample>
- <programlisting><![CDATA[
+ <programlisting>
NULL "<Item>" ;
@@ -175,7 +179,7 @@
"<Branch>" creates an item to hold sub items ;
- "<LastBranch>" creates a right justified branch]]>
+ "<LastBranch>" creates a right justified branch
</programlisting>
</informalexample>
@@ -196,7 +200,7 @@
Deletes item specified by path parameter
</shortdesc>
<desc>
- Deletes menu (entire array) specified by path name. Needs to be called by reference, eg
<programlisting><![CDATA[var delete_option = var
item_factory->delete_item("<path>");]]></programlisting>. nb
This does not delete the window in which the menu array resides.
+ Deletes menu (entire array) specified by path name. Needs to be called by reference, eg
<programlisting>var delete_option = var
item_factory->delete_item("<path>");</programlisting>. nb This
does not delete the window in which the menu array resides.
</desc>
</method>
Index: php-gtk/docs/en/classes/gtklabel.xml
diff -u php-gtk/docs/en/classes/gtklabel.xml:1.1 php-gtk/docs/en/classes/gtklabel.xml:1.2
--- php-gtk/docs/en/classes/gtklabel.xml:1.1 Tue Apr 10 17:46:30 2001
+++ php-gtk/docs/en/classes/gtklabel.xml Fri Apr 13 06:01:03 2001
@@ -32,7 +32,7 @@
<function>Set_text</function> is not needed when first creating a label; this
method is only useful for adding text to a label after it has been created. It could be used (for
example) to declare server connection status, or to reflect user input.
</para>
<para>
- The syntax for creating a label with static text in it would be as follows:
<programlisting><![CDATA[var label = &new GtkLabel("Static Text From Start
To Finish");]]></programlisting>
+ The syntax for creating a label with static text in it would be as follows:
<programlisting>var label = &new GtkLabel("Static Text From Start To
Finish");</programlisting>
</para>
</desc>
</method>
@@ -70,7 +70,7 @@
</shortdesc>
<desc>
<para>
- This is the method for underlining text in GtkLabel. It needs to be defined as a pattern, eg
if your text runs <programlisting><![CDATA["Apple Banana
Carrot"]]></programlisting> then
<programlisting><![CDATA["_ _"]]></programlisting> will
underline Apple and Carrot but not Banana, 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 runs <programlisting>"Apple Banana
Carrot"</programlisting> then
<programlisting>"_ _"</programlisting> will underline Apple
and Carrot but not Banana, where the space falls.
</para>
</desc>
</method>
@@ -106,7 +106,7 @@
</shortdesc>
<desc>
<para>
- Writes the current text content of the label to the given string argument
<programlisting><![CDATA["labeltext"]]></programlisting>
+ Writes the current text content of the label to the given string argument
<programlisting>"labeltext"</programlisting>
</para>
</desc>
</method>
@@ -125,7 +125,7 @@
</shortdesc>
<desc>
<para>
- This method checks the text for underscores and then underlines the character following the
underscore. It will take the last underlined character in a label and return it as a lower-case
accelerator key, eg
<programlisting><![CDATA["_Save"]]></programlisting> will return
the accelerator key value for
<programlisting><![CDATA["s"]]></programlisting>.
+ This method checks the text for underscores and then underlines the character following the
underscore. It will take the last underlined character in a label and return it as a lower-case
accelerator key, eg <programlisting>"_Save"</programlisting> will
return the accelerator key value for
<programlisting>"s"</programlisting>.
</para>
</desc>
</method>
Index: php-gtk/docs/en/classes/gtktipsquery.xml
diff -u php-gtk/docs/en/classes/gtktipsquery.xml:1.1 php-gtk/docs/en/classes/gtktipsquery.xml:1.2
--- php-gtk/docs/en/classes/gtktipsquery.xml:1.1 Wed Apr 11 09:42:54 2001
+++ php-gtk/docs/en/classes/gtktipsquery.xml Fri Apr 13 06:01:03 2001
@@ -62,7 +62,7 @@
</shortdesc>
<desc>
<para>
- Sets the widget which initiates the query. It would be equally simple to slip this into the
widget settings with the syntax as follows:
<programlisting><![CDATA["_ _"]]>var widget =>var
set_query()</programlisting>
+ Sets the widget which initiates the query. It would be equally simple to slip this into the
widget settings with the syntax as follows:
<programlisting>"_ _"var widget =>var
set_query()</programlisting>
</para>
</desc>
</method>