cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkaccellabel.xml gtkalignment.xml gtkitemfactory.xml gtkobject.xml gtktipsquery.xml gtkwidget.xml
/docs/stylesheets/xsl/html name_to_id.xsl

From: Date: Tue, 24 Apr 2001 15:43:27 +0000
Subject: cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkaccellabel.xml gtkalignment.xml gtkitemfactory.xml gtkobject.xml gtktipsquery.xml gtkwidget.xml
/docs/stylesheets/xsl/html name_to_id.xsl
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1505@lists.php.net to get a copy of this message
sfox Tue Apr 24 08:43:27 2001 EDT Added files: /php-gtk/docs/en/classes gtkalignment.xml Modified files: /php-gtk/docs manual.xml.in /php-gtk/docs/en/classes gtkaccellabel.xml gtkitemfactory.xml gtkobject.xml gtktipsquery.xml gtkwidget.xml /php-gtk/docs/stylesheets/xsl/html name_to_id.xsl Log: Terrible Typos eliminated (the ones I found, anyways).

Index: php-gtk/docs/manual.xml.in diff -u php-gtk/docs/manual.xml.in:1.23 php-gtk/docs/manual.xml.in:1.24 --- php-gtk/docs/manual.xml.in:1.23 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/manual.xml.in Tue Apr 24 08:43:26 2001 @@ -64,6 +64,7 @@ &classes.gtkpixmap; &classes.gtkcontainer; &classes.gtkbin; + &classes.gtkalignment; &classes.gtkwindow; </classset> Index: php-gtk/docs/en/classes/gtkaccellabel.xml diff -u php-gtk/docs/en/classes/gtkaccellabel.xml:1.8 php-gtk/docs/en/classes/gtkaccellabel.xml:1.9 --- php-gtk/docs/en/classes/gtkaccellabel.xml:1.8 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/en/classes/gtkaccellabel.xml Tue Apr 24 08:43:26 2001 @@ -65,7 +65,7 @@ <funcdef> void <function>set_accel_widget</function> </funcdef> - <paramdef>pbject <parameter>accel_widget</parameter></paramdef> + <paramdef>object <parameter>accel_widget</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Index: php-gtk/docs/en/classes/gtkitemfactory.xml diff -u php-gtk/docs/en/classes/gtkitemfactory.xml:1.11 php-gtk/docs/en/classes/gtkitemfactory.xml:1.12 --- php-gtk/docs/en/classes/gtkitemfactory.xml:1.11 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/en/classes/gtkitemfactory.xml Tue Apr 24 08:43:26 2001 @@ -2,7 +2,7 @@ <classmeta> <classtitle>GtkItemFactory</classtitle> <classparent>GtkObject</classparent> - <shortdesc>A base class for ItemFactory widgets</shortdesc> + <shortdesc>A base class for ItemFactory widgets.</shortdesc> <desc> <simpara> GtkItemFactory is a widget providing a shortcut to menu creation. @@ -28,8 +28,7 @@ reference to a declared <classname>GtkAccelGroup</classname>. </para> <para> - Creating a GtkOptionMenu with GtkItemFactory. - <informalexample> + Creating a GtkOptionMenu with GtkItemFactory: <programlisting> $accel_group = &amp;new GtkAccelGroup(); $itemfactory = &amp;new GtkItemFactory( GtkOptionMenu::get_type(),&quot;&lt;path>&quot;, $accel_group);</programlisting> @@ -39,7 +38,6 @@ $itemfactory->create_items($menu_array); $menu = $itemfactory->get_widget(&quot;&lt;path>&quot;); $menu->show();</programlisting> - </informalexample> </para> </desc> </classmeta> @@ -51,7 +49,7 @@ object <function>GtkItemFactory</function> </funcdef> <paramdef>object <parameter>menu_type</parameter></paramdef> - <paramdef>string <parameter>path</parameter></paramdef> + <paramdef>path <parameter>path</parameter></paramdef> <paramdef>object <parameter>accel_group</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -225,8 +223,7 @@ <literal>&quot;&lt;CheckItem&gt;&quot;</literal>: A check item. </member> <member> - <literal>&quot;&lt;ToggleItem&gt;&quot;</literal>: Creates a toggle - item. + <literal>&quot;&lt;ToggleItem&gt;&quot;</literal>: A toggle item. </member> <member> <literal>&quot;&lt;RadioItem&gt;&quot;</literal>: A radio item. @@ -298,16 +295,16 @@ <literal>y</literal> coordinates. Coordinates when given as integers are relative to the top left corner of the screen; the root coordinates shown in the sample refer to the screen position of the mouse because they are - defined via the signal. The popup is displayed when a + defined via $signal. The popup is displayed when a <literal>button_press_event</literal> signal is fired. </para> <para> The parameter <literal>button</literal> refers to the integer value of the mouse-button; left == 1, middle == 2 and right == 3. <programlisting> -function show_menu_popup($event) { +function show_menu_popup($signal) { global $factory; -$factory-&gt;popup((int)$event-&gt;x_root, (int)$event-&gt;y_root, 3, time()); +$factory-&gt;popup((int)$signal-&gt;x_root, (int)$signal-&gt;y_root, 3, time()); } </programlisting> </para> Index: php-gtk/docs/en/classes/gtkobject.xml diff -u php-gtk/docs/en/classes/gtkobject.xml:1.12 php-gtk/docs/en/classes/gtkobject.xml:1.13 --- php-gtk/docs/en/classes/gtkobject.xml:1.12 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/en/classes/gtkobject.xml Tue Apr 24 08:43:26 2001 @@ -364,7 +364,7 @@ <funcdef> void <function>emit_stop_by_name</function> </funcdef> - <paramdef>object <parameter>signalname</parameter></paramdef> + <paramdef>string <parameter>signalname</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> @@ -385,7 +385,7 @@ <funcdef> int <function>connect</function> </funcdef> - <paramdef>object <parameter>signalname</parameter></paramdef> + <paramdef>string <parameter>signalname</parameter></paramdef> <paramdef>function <parameter>event_handler</parameter></paramdef> <paramdef>mixed <parameter>[additional arguments]</parameter></paramdef> </funcprototype> @@ -414,7 +414,7 @@ <funcdef> int <function>connect_after</function> </funcdef> - <paramdef>object <parameter>signalname</parameter></paramdef> + <paramdef>string <parameter>signalname</parameter></paramdef> <paramdef>function <parameter>event_handler</parameter></paramdef> <paramdef>mixed <parameter>[additional arguments]</parameter></paramdef> </funcprototype> @@ -465,7 +465,7 @@ <funcdef> int <function>connect_object_after</function> </funcdef> - <paramdef>object <parameter>signalname</parameter></paramdef> + <paramdef>string <parameter>signalname</parameter></paramdef> <paramdef>function <parameter>event_handler</parameter></paramdef> <paramdef>mixed <parameter>[additional arguments]</parameter></paramdef> </funcprototype> Index: php-gtk/docs/en/classes/gtktipsquery.xml diff -u php-gtk/docs/en/classes/gtktipsquery.xml:1.9 php-gtk/docs/en/classes/gtktipsquery.xml:1.10 --- php-gtk/docs/en/classes/gtktipsquery.xml:1.9 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/en/classes/gtktipsquery.xml Tue Apr 24 08:43:27 2001 @@ -76,7 +76,7 @@ <funcdef> void <function>set_caller</function> </funcdef> - <paramdef>object <parameter>$widget</parameter></paramdef> + <paramdef>object <parameter>widget</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Index: php-gtk/docs/en/classes/gtkwidget.xml diff -u php-gtk/docs/en/classes/gtkwidget.xml:1.8 php-gtk/docs/en/classes/gtkwidget.xml:1.9 --- php-gtk/docs/en/classes/gtkwidget.xml:1.8 Tue Apr 24 04:34:25 2001 +++ php-gtk/docs/en/classes/gtkwidget.xml Tue Apr 24 08:43:27 2001 @@ -663,7 +663,7 @@ </funcprototype> </funcsynopsis> <shortdesc> - Removes accelerator? + Removes accelerator. </shortdesc> <desc> <para> @@ -684,7 +684,7 @@ </funcprototype> </funcsynopsis> <shortdesc> - Removes accelerators? + Removes accelerators. </shortdesc> <desc> <para> @@ -982,7 +982,7 @@ </funcprototype> </funcsynopsis> <shortdesc> - Sets state.? + Sets state. </shortdesc> <desc> <para> @@ -1547,7 +1547,7 @@ <desc> <para> - - - - <programlisting>$widget-&gt;shape_combine_mask();</programlisting> + <programlisting>$widget-&gt;shape_combine_mask($shape_mask, $offset_x, $offset_y);</programlisting> </para> </desc> </method> @@ -1588,7 +1588,7 @@ <desc> <para> - - - - <programlisting>$widget-&gt;path();</programlisting> + <programlisting>$widget-&gt;path($length, $path, $reversed);</programlisting> </para> </desc> </method> @@ -1610,7 +1610,7 @@ <desc> <para> - - - - <programlisting>$widget-&gt;class_path();</programlisting> + <programlisting>$widget-&gt;class_path($length, $path, $reversed);</programlisting> </para> </desc> </method> Index: php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl diff -u php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.7 php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.8 --- php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.7 Tue Apr 24 04:34:26 2001 +++ php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl Tue Apr 24 08:43:27 2001 @@ -53,6 +53,9 @@ <xsl:when test="$classname='GtkBin'"> <xsl:text>gtk.gtkbin</xsl:text> </xsl:when> +<xsl:when test="$classname='GtkAlignment'"> +<xsl:text>gtk.gtkalignment</xsl:text> +</xsl:when> <xsl:when test="$classname='GtkWindow'"> <xsl:text>gtk.gtkwindow</xsl:text> </xsl:when> @@ -405,12 +408,6 @@ <xsl:when test="$funcname='get_item_by_action'"> <xsl:text>gtk.gtkitemfactory.method.get_item_by_action</xsl:text> </xsl:when> -<xsl:when test="$funcname=''"> -<xsl:text></xsl:text> -</xsl:when> -<xsl:when test="$funcname=''"> -<xsl:text></xsl:text> -</xsl:when> <xsl:when test="$funcname='create_items'"> <xsl:text>gtk.gtkitemfactory.method.create_items</xsl:text> </xsl:when> @@ -542,6 +539,12 @@ </xsl:when> <xsl:when test="$funcname='child_composite_name'"> <xsl:text>gtk.gtkcontainer.method.child_composite_name</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkAlignment'"> +<xsl:text>gtk.gtkalignment.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set'"> +<xsl:text>gtk.gtkalignment.method.set</xsl:text> </xsl:when> <xsl:when test="$funcname='GtkWindow'"> <xsl:text>gtk.gtkwindow.constructor</xsl:text> Index: php-gtk/docs/en/classes/gtkalignment.xml +++ php-gtk/docs/en/classes/gtkalignment.xml <classentry id="gtk.gtkalignment"> <classmeta> <classtitle>GtkAlignment</classtitle> <classparent>GtkBin</classparent> <shortdesc> Aligns and sizes its child widget. </shortdesc> <desc> <para> Aligns and sizes its child widget within a container widget. You can only have one child and one container per GtkAlignment, but it is possible to include an aligned object within an aligned container. </para> </desc> </classmeta> <constructor id="gtk.gtkalignment.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkAlignment</function> </funcdef> <paramdef>double <parameter>x_align</parameter></paramdef> <paramdef>double <parameter>y_align</parameter></paramdef> <paramdef>double <parameter>x_scale</parameter></paramdef> <paramdef>double <parameter>y_scale</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Constructs a GtkAlignment object. </shortdesc> <desc> <para> This function aligns and sizes a single child widget within a container object. The range of <literal>x_align</literal> and <literal>y_align</literal> are 0.0 to 1.0, with 0.0 being top or left, and 1.0 being bottom or right. The range of values for <literal>x_scale</literal> and <literal>y_scale</literal> are also 0.0 to 1.0, with 0.0 not showing the child at all and 1.0 (for both) expanding the child to fill all the available space. <programlisting> $align = &amp;new GtkAlignment(1.0, 0.5, 0.1, 0.1); $button = &amp;new GtkButton(&quot;Testing Alignment&quot;); $align->add($button); $align->show(); $window->add($align); </programlisting> </para> </desc> </constructor> <methods> <method id="gtk.gtkalignment.method.set"> <funcsynopsis> <funcprototype> <funcdef>void <function>set</function></funcdef> <paramdef>double <parameter>x_align</parameter></paramdef> <paramdef>double <parameter>y_align</parameter></paramdef> <paramdef>double <parameter>x_scale</parameter></paramdef> <paramdef>double <parameter>y_scale</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Sets alignment and scale values. </shortdesc> <desc> <para> Sets alignment and scale values for an existing GtkAlignment object. This could be useful if (for example) you required a child widget to display elsewhere for the duration of a looped process. See the construct method above for full details of the parameter values. <programlisting>$align->set(0.5, 0.5, 0.1, 0.1);</programlisting> </para> </desc> </method> </methods> </classentry>
« previous php.gtk (#1505) next »