cvs: php-gtk /docs/en/classes gtkbutton.xml
| From: | Andrei Zmievski | Date: | Tue, 08 May 2001 22:04:57 +0000 |
| Subject: | cvs: php-gtk /docs/en/classes gtkbutton.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1759@lists.php.net to get a copy of this message | ||
andrei Tue May 8 15:04:57 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtkbutton.xml
Log:
Start docs on GtkButton.
Index: php-gtk/docs/en/classes/gtkbutton.xml
diff -u php-gtk/docs/en/classes/gtkbutton.xml:1.2 php-gtk/docs/en/classes/gtkbutton.xml:1.3
--- php-gtk/docs/en/classes/gtkbutton.xml:1.2 Mon Apr 30 19:59:06 2001
+++ php-gtk/docs/en/classes/gtkbutton.xml Tue May 8 15:04:57 2001
@@ -3,11 +3,17 @@
<classtitle>GtkButton</classtitle>
<classparent>GtkBin</classparent>
<shortdesc>
- Button.
+ A container widget that emits a signal when clicked on.
</shortdesc>
<desc>
<para>
- - - -
+ The GtkButton widget is a container widget that can hold any valid child
+ widget derived from <classname>GtkWidget</classname>. The most commonly
+ used child widget is a <classname>GtkLabel</classname>.
+ </p>
+ <p>
+ The GtkButton widget is most commonly used to call some function the button
+ is pressed.
</para>
</desc>
</classmeta>
@@ -16,17 +22,19 @@
<funcsynopsis>
<funcprototype>
<funcdef>
- object <function>GtkButton</function>
+ <function>GtkButton</function>
</funcdef>
- <paramdef>string <parameter>label</parameter></paramdef>
+ <paramdef>string
<parameter><optional>label</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
- Constructs a GtkButton with a label.
+ Creates a button.
</shortdesc>
<desc>
<para>
- - - -
+ This function creates and returns a <classname>GtkButton</classname>
+ widget; if optional <parameter>label</parameter> is passed the button will
+ contain a <classname>GtkLabel</classname> widget with the given text.
</para>
</desc>
</constructor>