cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkarrow.xml gtkcontainer.xml gtkobject.xml
| From: | Steph Fox | Date: | Fri, 20 Apr 2001 14:41:06 +0000 |
| Subject: | cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkarrow.xml gtkcontainer.xml gtkobject.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1457@lists.php.net to get a copy of this message | ||
sfox Fri Apr 20 07:41:06 2001 EDT
Added files:
/php-gtk/docs/en/classes gtkarrow.xml
Modified files:
/php-gtk/docs manual.xml.in
/php-gtk/docs/en/classes gtkcontainer.xml gtkobject.xml
Log:
Corrections - just proving I read James' mail on occasion - + GtkArrow
Index: php-gtk/docs/manual.xml.in diff -u php-gtk/docs/manual.xml.in:1.21 php-gtk/docs/manual.xml.in:1.22 --- php-gtk/docs/manual.xml.in:1.21 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/manual.xml.in Fri Apr 20 07:41:05 2001 @@ -59,6 +59,7 @@ &classes.gtklabel; &classes.gtkaccellabel; &classes.gtktipsquery; + &classes.gtkarrow; &classes.gtkcontainer; &classes.gtkbin; &classes.gtkwindow; Index: php-gtk/docs/en/classes/gtkcontainer.xml diff -u php-gtk/docs/en/classes/gtkcontainer.xml:1.5 php-gtk/docs/en/classes/gtkcontainer.xml:1.6 --- php-gtk/docs/en/classes/gtkcontainer.xml:1.5 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/en/classes/gtkcontainer.xml Fri Apr 20 07:41:06 2001 @@ -50,7 +50,7 @@ </shortdesc> <desc> <para> - Adds a smaller widget into a container object. + Adds a widget from further down in the hierarchy into a container object. <programlisting>$window->add($button);</programlisting> </para> </desc> @@ -70,7 +70,7 @@ </shortdesc> <desc> <para> - Removes a smaller widget from a widget. + Removes a lesser widget from a container widget. <programlisting>$window->remove($hbox);</programlisting> </para> </desc> @@ -191,15 +191,17 @@ <funcdef> void <function>set_focus_child</function> </funcdef> + <paramdef>char <parameter>child_widget</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - - + Sets focus to a child widget. </shortdesc> <desc> <para> - - - - - <programlisting>$window->set_focus_child($child);</programlisting> + Sets focus to a child widget. The child widget must be passed by + reference. + <programlisting>$window->set_focus_child(&$child);</programlisting> </para> </desc> </method> @@ -210,6 +212,7 @@ <funcdef> void <function>set_focus_vadjustment</function> </funcdef> + <paramdef>char <parameter>gtkadjustment_object</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> @@ -229,6 +232,7 @@ <funcdef> void <function>set_focus_hadjustment</function> </funcdef> + <paramdef>char <parameter>gtkadjustment_object</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Index: php-gtk/docs/en/classes/gtkobject.xml diff -u php-gtk/docs/en/classes/gtkobject.xml:1.10 php-gtk/docs/en/classes/gtkobject.xml:1.11 --- php-gtk/docs/en/classes/gtkobject.xml:1.10 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/en/classes/gtkobject.xml Fri Apr 20 07:41:06 2001 @@ -42,8 +42,8 @@ </shortdesc> <desc> <para> - Returns an integer uniquely identifying <literal>$object</literal>. - In this way GTK+ is able to determine the type of an object: + Returns an integer uniquely identifying <literal>$object</literal>. In this + way GTK+ is able to determine the type of an object: <programlisting>$object->get_type();</programlisting> A useful example of <literal>get_type()</literal> would be in combination with <classname>GtkItemFactory</classname>: @@ -265,11 +265,11 @@ </shortdesc> <desc> <para> - Binds any kind of data (not just objects) to associate with <literal>$object</literal>, - using a named key. This can be useful, as the binding is global, i.e. it - is not necessary to declare bound data as global within a function that is - not local to it when using this construct. If an associoation with that - name already exists, the old one will be destroyed. + Binds any kind of data (not just objects) to associate with + <literal>$object</literal>, using a named key. This can be useful, as the + binding is global, i.e. it is not necessary to declare bound data as global + within a function that is not local to it when using this construct. If an + association with that name already exists, the old one will be destroyed. <programlisting>$object->set_data($key, $data);</programlisting> </para> </desc> @@ -354,10 +354,6 @@ Aborts a signal's current emission. <!-- TODO Neither of us has understood this entry, please ratify. --> <programlisting>$object->signal_emit_stop($signal_id)</programlisting> - <!-- Currently this is a total crib from the GTK docs I'm afraid --> - This method will prevent the default method from running, if the signal was - GTK_RUN_LAST and connected normally (i.e. without the "after" flag). It - will also print a warning if used on a signal which isn't being emitted. </para> </desc> </method> @@ -619,20 +615,6 @@ <!--TODO: Properties documentation needs EVERYTHING sorting except where to get the info (ty Andrei) --> -<signals> <!--TODO: Signals documentation for GtkObject (only one signal here :) Layout for signals is being redesigned by Markus at present --> - <signal id="gtk.gtkobject.signal.destroy"> - <signalname>destroy</signalname> - <firedwhen>when an object is destroyed</firedwhen> - <shortdesc>Indicates that an object is being destroyed</shortdesc> - <desc> - <para> - This signal is fired when an object is destroyed. See signals documentation - for information on how to use this signal. - </para> - </desc> - </signal> - -</signals> </classentry> Index: php-gtk/docs/en/classes/gtkarrow.xml +++ php-gtk/docs/en/classes/gtkarrow.xml <classentry id="gtk.gtkarrow"> <classmeta> <classtitle>GtkArrow</classtitle> <classparent>GtkMisc</classparent> <shortdesc> A GtkArrow is an arrow pointing in one of four directions - up, down, left or right. Left to its own devices it will fill any space available to it, but the methods inherited from GtkMisc (set_alignment and set_padding) make it possible to alter this. </shortdesc> <desc> <para> Arrow. </para> </desc> </classmeta> <constructor id="gtk.gtkarrow.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkArrow</function> </funcdef> <paramdef>enum <parameter>direction</parameter></paramdef> <paramdef>enum <parameter>shadow</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Constructs a GtkArrow. </shortdesc> <desc> <para> The options available to set $arrow's direction are self-explanatory: <simplelist> <member>GTK_ARROW_UP,</member> <member>GTK_ARROW_DOWN,</member> <member>GTK_ARROW_LEFT,</member> <member>GTK_ARROW_RIGHT</member> </simplelist> These are the options available for setting the appearance of $arrow: <simplelist> <member>GTK_SHADOW_NONE - this disappears the arrow</member> <member>GTK_SHADOW_IN - arrow appears sunken</member> <member>GTK_SHADOW_OUT - arrow appears raised</member> <member>GTK_SHADOW_ETCHED_IN - outline of arrorw appears etched</member> <member>GTK_SHADOW_ETCHED_OUT - outline of arrow appears raised</member> </simplelist> <programlisting>$arrow = &new GtkArrow(GTK_ARROW_UP, GTK_SHADOW_NONE);</programlisting> </para> </desc> </constructor> <methods> <method id="gtk.gtkarrow.method.set"> <funcsynopsis> <funcprototype> <funcdef>void <function>set</function></funcdef> <paramdef>char <parameter>title</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Alters existing arrow. </shortdesc> <desc> <para> Alters the characteristics of an existing GtkArrow. The options are the same as above: <simplelist> <member>GTK_ARROW_UP,</member> <member>GTK_ARROW_DOWN,</member> <member>GTK_ARROW_LEFT,</member> <member>GTK_ARROW_RIGHT</member> </simplelist> <simplelist> <member>GTK_SHADOW_NONE,</member> <member>GTK_SHADOW_IN,</member> <member>GTK_SHADOW_OUT,</member> <member>GTK_SHADOW_ETCHED_IN,</member> <member>GTK_SHADOW_ETCHED_OUT</member> </simplelist> <programlisting>$arrow->set(GTK_ARROW_RIGHT, GTK_SHADOW_NONE);</programlisting> </para> </desc> </method> </methods> </classentry>
Index: php-gtk/docs/manual.xml.in diff -u php-gtk/docs/manual.xml.in:1.21 php-gtk/docs/manual.xml.in:1.22 --- php-gtk/docs/manual.xml.in:1.21 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/manual.xml.in Fri Apr 20 07:41:05 2001 @@ -59,6 +59,7 @@ &classes.gtklabel; &classes.gtkaccellabel; &classes.gtktipsquery; + &classes.gtkarrow; &classes.gtkcontainer; &classes.gtkbin; &classes.gtkwindow; Index: php-gtk/docs/en/classes/gtkcontainer.xml diff -u php-gtk/docs/en/classes/gtkcontainer.xml:1.5 php-gtk/docs/en/classes/gtkcontainer.xml:1.6 --- php-gtk/docs/en/classes/gtkcontainer.xml:1.5 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/en/classes/gtkcontainer.xml Fri Apr 20 07:41:06 2001 @@ -50,7 +50,7 @@ </shortdesc> <desc> <para> - Adds a smaller widget into a container object. + Adds a widget from further down in the hierarchy into a container object. <programlisting>$window->add($button);</programlisting> </para> </desc> @@ -70,7 +70,7 @@ </shortdesc> <desc> <para> - Removes a smaller widget from a widget. + Removes a lesser widget from a container widget. <programlisting>$window->remove($hbox);</programlisting> </para> </desc> @@ -191,15 +191,17 @@ <funcdef> void <function>set_focus_child</function> </funcdef> + <paramdef>char <parameter>child_widget</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - - + Sets focus to a child widget. </shortdesc> <desc> <para> - - - - - <programlisting>$window->set_focus_child($child);</programlisting> + Sets focus to a child widget. The child widget must be passed by + reference. + <programlisting>$window->set_focus_child(&$child);</programlisting> </para> </desc> </method> @@ -210,6 +212,7 @@ <funcdef> void <function>set_focus_vadjustment</function> </funcdef> + <paramdef>char <parameter>gtkadjustment_object</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> @@ -229,6 +232,7 @@ <funcdef> void <function>set_focus_hadjustment</function> </funcdef> + <paramdef>char <parameter>gtkadjustment_object</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Index: php-gtk/docs/en/classes/gtkobject.xml diff -u php-gtk/docs/en/classes/gtkobject.xml:1.10 php-gtk/docs/en/classes/gtkobject.xml:1.11 --- php-gtk/docs/en/classes/gtkobject.xml:1.10 Thu Apr 19 19:43:12 2001 +++ php-gtk/docs/en/classes/gtkobject.xml Fri Apr 20 07:41:06 2001 @@ -42,8 +42,8 @@ </shortdesc> <desc> <para> - Returns an integer uniquely identifying <literal>$object</literal>. - In this way GTK+ is able to determine the type of an object: + Returns an integer uniquely identifying <literal>$object</literal>. In this + way GTK+ is able to determine the type of an object: <programlisting>$object->get_type();</programlisting> A useful example of <literal>get_type()</literal> would be in combination with <classname>GtkItemFactory</classname>: @@ -265,11 +265,11 @@ </shortdesc> <desc> <para> - Binds any kind of data (not just objects) to associate with <literal>$object</literal>, - using a named key. This can be useful, as the binding is global, i.e. it - is not necessary to declare bound data as global within a function that is - not local to it when using this construct. If an associoation with that - name already exists, the old one will be destroyed. + Binds any kind of data (not just objects) to associate with + <literal>$object</literal>, using a named key. This can be useful, as the + binding is global, i.e. it is not necessary to declare bound data as global + within a function that is not local to it when using this construct. If an + association with that name already exists, the old one will be destroyed. <programlisting>$object->set_data($key, $data);</programlisting> </para> </desc> @@ -354,10 +354,6 @@ Aborts a signal's current emission. <!-- TODO Neither of us has understood this entry, please ratify. --> <programlisting>$object->signal_emit_stop($signal_id)</programlisting> - <!-- Currently this is a total crib from the GTK docs I'm afraid --> - This method will prevent the default method from running, if the signal was - GTK_RUN_LAST and connected normally (i.e. without the "after" flag). It - will also print a warning if used on a signal which isn't being emitted. </para> </desc> </method> @@ -619,20 +615,6 @@ <!--TODO: Properties documentation needs EVERYTHING sorting except where to get the info (ty Andrei) --> -<signals> <!--TODO: Signals documentation for GtkObject (only one signal here :) Layout for signals is being redesigned by Markus at present --> - <signal id="gtk.gtkobject.signal.destroy"> - <signalname>destroy</signalname> - <firedwhen>when an object is destroyed</firedwhen> - <shortdesc>Indicates that an object is being destroyed</shortdesc> - <desc> - <para> - This signal is fired when an object is destroyed. See signals documentation - for information on how to use this signal. - </para> - </desc> - </signal> - -</signals> </classentry> Index: php-gtk/docs/en/classes/gtkarrow.xml +++ php-gtk/docs/en/classes/gtkarrow.xml <classentry id="gtk.gtkarrow"> <classmeta> <classtitle>GtkArrow</classtitle> <classparent>GtkMisc</classparent> <shortdesc> A GtkArrow is an arrow pointing in one of four directions - up, down, left or right. Left to its own devices it will fill any space available to it, but the methods inherited from GtkMisc (set_alignment and set_padding) make it possible to alter this. </shortdesc> <desc> <para> Arrow. </para> </desc> </classmeta> <constructor id="gtk.gtkarrow.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkArrow</function> </funcdef> <paramdef>enum <parameter>direction</parameter></paramdef> <paramdef>enum <parameter>shadow</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Constructs a GtkArrow. </shortdesc> <desc> <para> The options available to set $arrow's direction are self-explanatory: <simplelist> <member>GTK_ARROW_UP,</member> <member>GTK_ARROW_DOWN,</member> <member>GTK_ARROW_LEFT,</member> <member>GTK_ARROW_RIGHT</member> </simplelist> These are the options available for setting the appearance of $arrow: <simplelist> <member>GTK_SHADOW_NONE - this disappears the arrow</member> <member>GTK_SHADOW_IN - arrow appears sunken</member> <member>GTK_SHADOW_OUT - arrow appears raised</member> <member>GTK_SHADOW_ETCHED_IN - outline of arrorw appears etched</member> <member>GTK_SHADOW_ETCHED_OUT - outline of arrow appears raised</member> </simplelist> <programlisting>$arrow = &new GtkArrow(GTK_ARROW_UP, GTK_SHADOW_NONE);</programlisting> </para> </desc> </constructor> <methods> <method id="gtk.gtkarrow.method.set"> <funcsynopsis> <funcprototype> <funcdef>void <function>set</function></funcdef> <paramdef>char <parameter>title</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Alters existing arrow. </shortdesc> <desc> <para> Alters the characteristics of an existing GtkArrow. The options are the same as above: <simplelist> <member>GTK_ARROW_UP,</member> <member>GTK_ARROW_DOWN,</member> <member>GTK_ARROW_LEFT,</member> <member>GTK_ARROW_RIGHT</member> </simplelist> <simplelist> <member>GTK_SHADOW_NONE,</member> <member>GTK_SHADOW_IN,</member> <member>GTK_SHADOW_OUT,</member> <member>GTK_SHADOW_ETCHED_IN,</member> <member>GTK_SHADOW_ETCHED_OUT</member> </simplelist> <programlisting>$arrow->set(GTK_ARROW_RIGHT, GTK_SHADOW_NONE);</programlisting> </para> </desc> </method> </methods> </classentry>