cvs: php-gtk-doc /manual/en/reference/gtk gtkimagemenuitem.xml
| From: | Christian Weiske | Date: | Sun, 06 Aug 2006 07:00:50 +0000 |
| Subject: | cvs: php-gtk-doc /manual/en/reference/gtk gtkimagemenuitem.xml | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-2749@lists.php.net to get a copy of this message | ||
cweiske Sun Aug 6 07:00:50 2006 UTC
Modified files:
/php-gtk-doc/manual/en/reference/gtk gtkimagemenuitem.xml
Log:
Fixing GtkImageMenuItem stuff
http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml?r1=1.3&r2=1.4&diff_format=u
Index: php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml
diff -u php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml:1.3
php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml:1.4
--- php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml:1.3 Tue Dec 20 22:43:29 2005
+++ php-gtk-doc/manual/en/reference/gtk/gtkimagemenuitem.xml Sun Aug 6 07:00:50 2006
@@ -3,7 +3,7 @@
<classmeta>
<classtitle>GtkImageMenuItem</classtitle>
<classparent>GtkMenuItem</classparent>
- <classimage fileref="&directory.images;/reference/gtk/gtkimagemenuitem.png"/>
+ <classimage fileref="&directory.images;/reference/gtk/gtkimagemenuitem.png"
border="1"/>
<shortdesc>
A menu item with an icon.
</shortdesc>
@@ -19,15 +19,11 @@
</classmeta>
<constructors>
-
<constructor id="gtk.gtkimagemenuitem.constructor">
<funcsynopsis>
<funcprototype>
<funcdef> <function>GtkImageMenuItem</function></funcdef>
- <!-- FIXME funny behavior! -->
- <optional>
- <paramdef>string <parameter>label</parameter></paramdef>
- </optional>
+ <paramdef>string
<parameter><optional>label</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -36,68 +32,33 @@
<desc>
<para>
Use the constructor to generate a new menu item with an icon. You may
- pass a string as the label, or a stock id, if you want to use the
- existing stock icons.
+ pass a string as the label, or a
+ <link linkend="gtk.enum.stockitems">stock id</link>, if you want to use
+ the existing stock icons.
</para>
<para>
You may even precede a character of the label with an
<literal>_</literal> to indicate the mnemonic for the menu item.
</para>
+ <example>
+ <title>Creating image menu items</title>
+ <programlisting role="php">
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+
href="&directory.examples;/reference/gtk/gtkseparatormenuitem/constructor.phpw"
parse="text">
+ <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
+ </xi:include>
+ </programlisting>
+ </example>
</desc>
</constructor>
-
- <constructor id="gtk.gtkimagemenuitem.constructor.new_from_stock">
- <funcsynopsis>
- <funcprototype>
- <funcdef>
<function>GtkImageMenuItem::new_from_stock</function></funcdef>
- <paramdef>string <parameter>stock_id</parameter></paramdef>
- <paramdef>GtkAccelGroup <parameter>accel_group</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- <shortdesc>
- <!-- FIXME Not yet implemented -->
- </shortdesc>
- <desc>
- </desc>
- </constructor>
-
- <constructor id="gtk.gtkimagemenuitem.constructor.new_with_label">
- <funcsynopsis>
- <funcprototype>
- <funcdef>
<function>GtkImageMenuItem::new_with_label</function></funcdef>
- <paramdef>string <parameter>label</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- <shortdesc>
- <!-- FIXME Not yet implemented -->
- </shortdesc>
- <desc>
- </desc>
- </constructor>
-
- <constructor id="gtk.gtkimagemenuitem.constructor.new_with_mnemonic">
- <funcsynopsis>
- <funcprototype>
- <funcdef>
<function>GtkImageMenuItem::new_with_mnemonic</function></funcdef>
- <paramdef>string <parameter>label</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
- <shortdesc>
- <!--FIXME No need for this, automatically done with constructor -->
- </shortdesc>
- <desc>
-
- </desc>
- </constructor>
-
</constructors>
- <methods>
+ <methods>
<method id="gtk.gtkimagemenuitem.method.get_image">
<funcsynopsis>
<funcprototype>
- <funcdef>GtkWidget <function>get_image</function></funcdef>
+ <funcdef><classname>GtkWidget</classname>
<function>get_image</function></funcdef>
<paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
@@ -120,7 +81,7 @@
<funcsynopsis>
<funcprototype>
<funcdef>void <function>set_image</function></funcdef>
- <paramdef>GtkWidget <parameter>image</parameter></paramdef>
+ <paramdef><classname>GtkWidget</classname>
<parameter>image</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -137,7 +98,6 @@
</para>
</desc>
</method>
-
</methods>
-</classentry>
+</classentry>
\ No newline at end of file