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

From: Date: Fri, 13 Apr 2001 16:06:33 +0000
Subject: cvs: php-gtk /docs/en/classes gtkitemfactory.xml
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1370@lists.php.net to get a copy of this message
jmoore Fri Apr 13 09:06:33 2001 EDT Modified files: /php-gtk/docs/en/classes gtkitemfactory.xml Log: Editing punctuation, few minor gramatical correction and slight rewording. Index: php-gtk/docs/en/classes/gtkitemfactory.xml diff -u php-gtk/docs/en/classes/gtkitemfactory.xml:1.5 php-gtk/docs/en/classes/gtkitemfactory.xml:1.6 --- php-gtk/docs/en/classes/gtkitemfactory.xml:1.5 Fri Apr 13 08:50:05 2001 +++ php-gtk/docs/en/classes/gtkitemfactory.xml Fri Apr 13 09:06:32 2001 @@ -8,15 +8,15 @@ GtkItemFactory is a widget providing a shortcut to menu creation in PHP-GTK. </simpara> <simpara> - There are three possible menutype options: GtkMenu, GtkMenuBar or - GtkOptionMenu. GtkMenu is a container rather than a menu format and is + There are three possible different types of menu: GtkMenu, GtkMenuBar and + GtkOptionMenu. GtkMenu is a container rather than a menu format and is (for practical purposes) an abstract class when using GtkItemFactory, although an essential component when creating menus manually. </simpara> <para> <example> <title>Using GTKOptionMenu</title> - <simpara>Creating a GtkOptionMenu with GtkItemFactory </simpara> + <simpara>Creating a GtkOptionMenu with GtkItemFactory.</simpara> <programlisting> $opt_menu = &amp;new GtkOptionMenu(); $accel_group = &amp;new GtkAccelGroup(); @@ -24,7 +24,7 @@ GtkItemFactory($opt_menu->get_type(),&quot;&lt;path>&quot;, $accel_group); </programlisting> <simpara> - See below for information regarding the menu array + See below for information regarding the menu array. </simpara> <programlisting> $itemfactory->create_items($menu_array); @@ -50,15 +50,17 @@ </funcprototype> </funcsynopsis> <shortdesc> - Constructs a GtkItemFactory menu + Constructs a GtkItemFactory menu. </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 + found by using + <classname>GtkMenuBar</classname>::<function>get_type</function>() + as this first argument. The path name is arbitrary but must be placed within <literal>&lt;</literal> and <literal>&gt;</literal> - The third parameter is provided by a reference to a declared GtkAccelGroup. + tags. The third parameter is provided by a reference to a + declared GtkAccelGroup. </para> </desc> </method> @@ -93,13 +95,15 @@ </funcprototype> </funcsynopsis> <shortdesc> - Calls the GtkItemFactory menu widget by its path identity + Calls the <classname>GtkItemFactory</classname> menu widget + by its path identity. </shortdesc> <desc> <simpara> - Calls the GtkItemFactory menu widget by its path identity. The path - identity allocated does not seem to be important here, however it is only - valid within its home function. + Calls the <classname>GtkItemFactory</classname> menu widget by + its path identity. The path identity allocated does not seem + to be important here, however it is only valid within its + home function. </simpara> </desc> </method> @@ -154,12 +158,12 @@ </listitem> <listitem> <simpara> - The callback function; + The callback function. </simpara> </listitem> <listitem> <simpara> - The callback action. The default is 0. NEED TO LOOK INTO THIS FURTHER; + The callback action. The default is 0. NEED TO LOOK INTO THIS FURTHER. </simpara> </listitem> <listitem> @@ -234,12 +238,17 @@ </funcprototype> </funcsynopsis> <shortdesc> - Deletes item specified by path parameter + Deletes item specified by path parameter. </shortdesc> <desc> <para> - Deletes menu (entire array) specified by path name. Needs to be called by - reference. + Deletes menu (entire array) specified by path name. + <note> + <simpara> + <!-- Steph: You sure on this? Please check it out --> + This function needs to be called by reference. + </simpara> + </note> <example> <title>Deleting a Menu</title> <programlisting> @@ -272,8 +281,8 @@ <para> Creates an instance of the menu which is not automatically deleted or frozen should another instance be created. This method can be - used in place of show(); to create something very like a familiar - proprietary windows environment ;) + used in place of <function>show</function>(); to create + something very like a familiar proprietary windows environment ;) </para> <note> <simpara>

« previous php.gtk (#1370) next »