cvs: php-gtk /docs/en/classes gtkaccellabel.xml gtkitemfactory.xml gtklabel.xml gtktipsquery.xml
| From: | James Moore | Date: | Tue, 17 Apr 2001 11:35:21 +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-1432@lists.php.net to get a copy of this message | ||
jmoore Tue Apr 17 04:35:21 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtkaccellabel.xml gtkitemfactory.xml
gtklabel.xml gtktipsquery.xml
Log:
A few minor corrections for Steph and Markus' XML.
Index: php-gtk/docs/en/classes/gtkaccellabel.xml diff -u php-gtk/docs/en/classes/gtkaccellabel.xml:1.6 php-gtk/docs/en/classes/gtkaccellabel.xml:1.7 --- php-gtk/docs/en/classes/gtkaccellabel.xml:1.6 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtkaccellabel.xml Tue Apr 17 04:35:20 2001 @@ -5,37 +5,37 @@ <shortdesc>Displays accelerator keys.</shortdesc> <desc> <para> - GtkAccelLabel is a widget for displaying an accelerator key to the - right of the label text. + GtkAccelLabel is a widget for displaying an accelerator key to the + right of the label text. </para> <para> - Labels do not emit signals. If you want to catch signals (e.g. from a - button click) you will need to put it in a <link linkend = "gtk.gtkeventbox">GtkEventBox</link>. + Labels do not emit signals. If you want to catch signals (e.g. from a + button click) you will need to put it in a <classname>GtkEventBox</classname>. </para> </desc> </classmeta> - <constructor id="gtk.gtkaccellabel.constructor.construct"> - <funcsynopsis> - <funcprototype> - <funcdef> - void <function>construct</function> - </funcdef> - <paramdef>char <parameter>accel_label_text</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <shortdesc> - Constructs a GtkAccelLabel. - </shortdesc> - <desc> - <para> - The syntax to create a new GtkAccelLabel is: - <programlisting>$accellabel = &new GtkAccelLabel("accel_label_string");</programlisting> - Alternatively you could pass a string to it by reference: - <programlisting>$accellabel = &new GtkAccelLabel($name_for_accel_label);</programlisting> - </para> - </desc> - </constructor> + <constructor id="gtk.gtkaccellabel.constructor"> + <funcsynopsis> + <funcprototype> + <funcdef> + object <function>GtkAccelLabel</function> + </funcdef> + <paramdef>char <parameter>accel_label_text</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <shortdesc> + Constructs a GtkAccelLabel. + </shortdesc> + <desc> + <para> + The syntax to create a new GtkAccelLabel is: + <programlisting>$accellabel = &new GtkAccelLabel("accel_label_string");</programlisting> + Alternatively you could pass a string to it by reference: + <programlisting>$accellabel = &new GtkAccelLabel($name_for_accel_label);</programlisting> + </para> + </desc> + </constructor> <methods> @@ -43,13 +43,13 @@ <funcsynopsis> <funcprototype> <funcdef> - int <function>get_accel_width</function> + int <function>get_accel_width</function> </funcdef> - </funcprototype> - </funcsynopsis> - <shortdesc> - Returns the width of the accelerator display. - </shortdesc> + </funcprototype> + </funcsynopsis> + <shortdesc> + Returns the width of the accelerator display. + </shortdesc> <desc> <para> Returns the width needed to display the accelerator key(s). This is used @@ -69,7 +69,7 @@ </funcprototype> </funcsynopsis> <shortdesc> - Sets the relevant widget for accel label display. + Sets the relevant widget for accellabel display. </shortdesc> <desc> <para> @@ -95,6 +95,17 @@ <desc> <para> This method recreates the string representing the accelerator key. +<!-- TODO: Rework gtkaccellable::refetch() --> +<!-- COMMENT: Im not happy with this steph. I dont like the "difficult to see where + this might be of practicle use" this is not what people want to + see in a manual and makes it look less reliable. We may be guessing at + times but we need to look like we know what we are talking about. Can + you please reword this as appropraite. Also I think although im unsure + of your idea of what the function does but Im far to tired to explain + what I think it does as Ive forgotten.. Umm Ill try and remember + when I wake up. + - James + --> However the accelerator key strings are automatically updated whenever accelerators are added to or removed from the associated widget, so it's difficult to see where this might be of practical use. Index: php-gtk/docs/en/classes/gtkitemfactory.xml diff -u php-gtk/docs/en/classes/gtkitemfactory.xml:1.9 php-gtk/docs/en/classes/gtkitemfactory.xml:1.10 --- php-gtk/docs/en/classes/gtkitemfactory.xml:1.9 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtkitemfactory.xml Tue Apr 17 04:35:20 2001 @@ -42,11 +42,11 @@ </classmeta> - <constructor id="gtk.gtkitemfactory.constructor.construct"> + <constructor id="gtk.gtkitemfactory.constructor"> <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + object <function>GtkMenuBar</function> </funcdef> <paramdef>int <parameter>menu_type</parameter></paramdef> <paramdef>char <parameter>path</parameter></paramdef> @@ -257,8 +257,10 @@ Deletes menu (entire array) specified by path name. <note> <simpara> - <!-- Steph: You sure on this? Please check it out JAMES, I ALREADY DID, - IT GETS RID OF THE OBJECT COMPLETELY, DID I EXPLAIN THIS BADLY?--> + <!-- Steph: You sure on this? Please check it out. + JAMES, I ALREADY DID, IT GETS RID OF THE OBJECT COMPLETELY, DID I EXPLAIN THIS BADLY? + Steph: Nope looks OK just wanted to check it was right. + --> This function needs to be called by reference. </simpara> </note> Index: php-gtk/docs/en/classes/gtklabel.xml diff -u php-gtk/docs/en/classes/gtklabel.xml:1.6 php-gtk/docs/en/classes/gtklabel.xml:1.7 --- php-gtk/docs/en/classes/gtklabel.xml:1.6 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtklabel.xml Tue Apr 17 04:35:20 2001 @@ -10,16 +10,22 @@ </para> <para> Labels do not emit signals. If you want to catch signals (e.g. from a - button click) you will need to put it in a <link linkend = "gtk.gtkeventbox">GtkEventBox</link>. + button click) you will need to put it in a <classname>GtkEventBox</classname>. + <!-- TBR: We can use classname here as the links are generated automcatically for + the class in this case as soon as the GtkEventBox is documented. + + - James + P.S. TBR stands for To Be removed so I can find any comments like this + easily later on and remove them. --> </para> </desc> </classmeta> - <constructor id="gtk.gtklabel.constructor.construct"> + <constructor id="gtk.gtklabel.constructor"> <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + Object <function>GtkLabel</function> </funcdef> <paramdef>char <parameter>labelstring</parameter></paramdef> </funcprototype> @@ -51,13 +57,13 @@ </shortdesc> <desc> <para> - <literal>set_text</literal> is not needed when first creating a label; + <function>set_text</function> is not needed when first creating a label; this method is only useful for replacing the text of the label later, eg. to report a server connection status or to reflect user input. </para> <para> <programlisting>$label->set_text("Whatever you wish to pass"); - </programlisting> + </programlisting> This could also be passed as a reference to a string, e.g. <programlisting>$label->set_text($pass_stuff);</programlisting> </para> @@ -174,22 +180,22 @@ <paramdef>char <parameter>text_to_be_parsed</parameter></paramdef> </funcprototype> </funcsynopsis> - <shortdesc> + <shortdesc> Accelerator key definition method. - </shortdesc> + </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, - e.g. "_Save" will return the accelerator key value for - "s". - </para> - <para> - <programlisting>$label->parse_uline("_File");</programlisting> - </para> - </desc> -</method> + <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, + e.g. "_Save" will return the accelerator key value for + "s". + </para> + <para> + <programlisting>$label->parse_uline("_File");</programlisting> + </para> + </desc> + </method> </methods> Index: php-gtk/docs/en/classes/gtktipsquery.xml diff -u php-gtk/docs/en/classes/gtktipsquery.xml:1.7 php-gtk/docs/en/classes/gtktipsquery.xml:1.8 --- php-gtk/docs/en/classes/gtktipsquery.xml:1.7 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtktipsquery.xml Tue Apr 17 04:35:20 2001 @@ -15,7 +15,7 @@ <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + object <function>GtkTipsQuery</function> </funcdef> </funcprototype> </funcsynopsis> @@ -122,7 +122,7 @@ <!-- Not at all sure what to do with signals. Markus, would you like to set up some content as you would like to see it displayed, so that James can see what's needed here?--> - <!--TODO - Rethink how we display signal parameters - SOME SIGNALS HAVE A + <!-- TODO: Rethink how we display signal parameters - SOME SIGNALS HAVE A NUMBER OF PARAMETERS - sf.--> <signals>
Index: php-gtk/docs/en/classes/gtkaccellabel.xml diff -u php-gtk/docs/en/classes/gtkaccellabel.xml:1.6 php-gtk/docs/en/classes/gtkaccellabel.xml:1.7 --- php-gtk/docs/en/classes/gtkaccellabel.xml:1.6 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtkaccellabel.xml Tue Apr 17 04:35:20 2001 @@ -5,37 +5,37 @@ <shortdesc>Displays accelerator keys.</shortdesc> <desc> <para> - GtkAccelLabel is a widget for displaying an accelerator key to the - right of the label text. + GtkAccelLabel is a widget for displaying an accelerator key to the + right of the label text. </para> <para> - Labels do not emit signals. If you want to catch signals (e.g. from a - button click) you will need to put it in a <link linkend = "gtk.gtkeventbox">GtkEventBox</link>. + Labels do not emit signals. If you want to catch signals (e.g. from a + button click) you will need to put it in a <classname>GtkEventBox</classname>. </para> </desc> </classmeta> - <constructor id="gtk.gtkaccellabel.constructor.construct"> - <funcsynopsis> - <funcprototype> - <funcdef> - void <function>construct</function> - </funcdef> - <paramdef>char <parameter>accel_label_text</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <shortdesc> - Constructs a GtkAccelLabel. - </shortdesc> - <desc> - <para> - The syntax to create a new GtkAccelLabel is: - <programlisting>$accellabel = &new GtkAccelLabel("accel_label_string");</programlisting> - Alternatively you could pass a string to it by reference: - <programlisting>$accellabel = &new GtkAccelLabel($name_for_accel_label);</programlisting> - </para> - </desc> - </constructor> + <constructor id="gtk.gtkaccellabel.constructor"> + <funcsynopsis> + <funcprototype> + <funcdef> + object <function>GtkAccelLabel</function> + </funcdef> + <paramdef>char <parameter>accel_label_text</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <shortdesc> + Constructs a GtkAccelLabel. + </shortdesc> + <desc> + <para> + The syntax to create a new GtkAccelLabel is: + <programlisting>$accellabel = &new GtkAccelLabel("accel_label_string");</programlisting> + Alternatively you could pass a string to it by reference: + <programlisting>$accellabel = &new GtkAccelLabel($name_for_accel_label);</programlisting> + </para> + </desc> + </constructor> <methods> @@ -43,13 +43,13 @@ <funcsynopsis> <funcprototype> <funcdef> - int <function>get_accel_width</function> + int <function>get_accel_width</function> </funcdef> - </funcprototype> - </funcsynopsis> - <shortdesc> - Returns the width of the accelerator display. - </shortdesc> + </funcprototype> + </funcsynopsis> + <shortdesc> + Returns the width of the accelerator display. + </shortdesc> <desc> <para> Returns the width needed to display the accelerator key(s). This is used @@ -69,7 +69,7 @@ </funcprototype> </funcsynopsis> <shortdesc> - Sets the relevant widget for accel label display. + Sets the relevant widget for accellabel display. </shortdesc> <desc> <para> @@ -95,6 +95,17 @@ <desc> <para> This method recreates the string representing the accelerator key. +<!-- TODO: Rework gtkaccellable::refetch() --> +<!-- COMMENT: Im not happy with this steph. I dont like the "difficult to see where + this might be of practicle use" this is not what people want to + see in a manual and makes it look less reliable. We may be guessing at + times but we need to look like we know what we are talking about. Can + you please reword this as appropraite. Also I think although im unsure + of your idea of what the function does but Im far to tired to explain + what I think it does as Ive forgotten.. Umm Ill try and remember + when I wake up. + - James + --> However the accelerator key strings are automatically updated whenever accelerators are added to or removed from the associated widget, so it's difficult to see where this might be of practical use. Index: php-gtk/docs/en/classes/gtkitemfactory.xml diff -u php-gtk/docs/en/classes/gtkitemfactory.xml:1.9 php-gtk/docs/en/classes/gtkitemfactory.xml:1.10 --- php-gtk/docs/en/classes/gtkitemfactory.xml:1.9 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtkitemfactory.xml Tue Apr 17 04:35:20 2001 @@ -42,11 +42,11 @@ </classmeta> - <constructor id="gtk.gtkitemfactory.constructor.construct"> + <constructor id="gtk.gtkitemfactory.constructor"> <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + object <function>GtkMenuBar</function> </funcdef> <paramdef>int <parameter>menu_type</parameter></paramdef> <paramdef>char <parameter>path</parameter></paramdef> @@ -257,8 +257,10 @@ Deletes menu (entire array) specified by path name. <note> <simpara> - <!-- Steph: You sure on this? Please check it out JAMES, I ALREADY DID, - IT GETS RID OF THE OBJECT COMPLETELY, DID I EXPLAIN THIS BADLY?--> + <!-- Steph: You sure on this? Please check it out. + JAMES, I ALREADY DID, IT GETS RID OF THE OBJECT COMPLETELY, DID I EXPLAIN THIS BADLY? + Steph: Nope looks OK just wanted to check it was right. + --> This function needs to be called by reference. </simpara> </note> Index: php-gtk/docs/en/classes/gtklabel.xml diff -u php-gtk/docs/en/classes/gtklabel.xml:1.6 php-gtk/docs/en/classes/gtklabel.xml:1.7 --- php-gtk/docs/en/classes/gtklabel.xml:1.6 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtklabel.xml Tue Apr 17 04:35:20 2001 @@ -10,16 +10,22 @@ </para> <para> Labels do not emit signals. If you want to catch signals (e.g. from a - button click) you will need to put it in a <link linkend = "gtk.gtkeventbox">GtkEventBox</link>. + button click) you will need to put it in a <classname>GtkEventBox</classname>. + <!-- TBR: We can use classname here as the links are generated automcatically for + the class in this case as soon as the GtkEventBox is documented. + + - James + P.S. TBR stands for To Be removed so I can find any comments like this + easily later on and remove them. --> </para> </desc> </classmeta> - <constructor id="gtk.gtklabel.constructor.construct"> + <constructor id="gtk.gtklabel.constructor"> <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + Object <function>GtkLabel</function> </funcdef> <paramdef>char <parameter>labelstring</parameter></paramdef> </funcprototype> @@ -51,13 +57,13 @@ </shortdesc> <desc> <para> - <literal>set_text</literal> is not needed when first creating a label; + <function>set_text</function> is not needed when first creating a label; this method is only useful for replacing the text of the label later, eg. to report a server connection status or to reflect user input. </para> <para> <programlisting>$label->set_text("Whatever you wish to pass"); - </programlisting> + </programlisting> This could also be passed as a reference to a string, e.g. <programlisting>$label->set_text($pass_stuff);</programlisting> </para> @@ -174,22 +180,22 @@ <paramdef>char <parameter>text_to_be_parsed</parameter></paramdef> </funcprototype> </funcsynopsis> - <shortdesc> + <shortdesc> Accelerator key definition method. - </shortdesc> + </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, - e.g. "_Save" will return the accelerator key value for - "s". - </para> - <para> - <programlisting>$label->parse_uline("_File");</programlisting> - </para> - </desc> -</method> + <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, + e.g. "_Save" will return the accelerator key value for + "s". + </para> + <para> + <programlisting>$label->parse_uline("_File");</programlisting> + </para> + </desc> + </method> </methods> Index: php-gtk/docs/en/classes/gtktipsquery.xml diff -u php-gtk/docs/en/classes/gtktipsquery.xml:1.7 php-gtk/docs/en/classes/gtktipsquery.xml:1.8 --- php-gtk/docs/en/classes/gtktipsquery.xml:1.7 Mon Apr 16 18:29:08 2001 +++ php-gtk/docs/en/classes/gtktipsquery.xml Tue Apr 17 04:35:20 2001 @@ -15,7 +15,7 @@ <funcsynopsis> <funcprototype> <funcdef> - void <function>construct</function> + object <function>GtkTipsQuery</function> </funcdef> </funcprototype> </funcsynopsis> @@ -122,7 +122,7 @@ <!-- Not at all sure what to do with signals. Markus, would you like to set up some content as you would like to see it displayed, so that James can see what's needed here?--> - <!--TODO - Rethink how we display signal parameters - SOME SIGNALS HAVE A + <!-- TODO: Rethink how we display signal parameters - SOME SIGNALS HAVE A NUMBER OF PARAMETERS - sf.--> <signals>