cvs: php-gtk /docs/en/classes gtkbutton.xml /docs/stylesheets/xsl/html class.xsl name_to_id.xsl
| From: | Andrei Zmievski | Date: | Wed, 09 May 2001 20:26:03 +0000 |
| Subject: | cvs: php-gtk /docs/en/classes gtkbutton.xml /docs/stylesheets/xsl/html class.xsl name_to_id.xsl | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1770@lists.php.net to get a copy of this message | ||
andrei Wed May 9 13:26:03 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtkbutton.xml
/php-gtk/docs/stylesheets/xsl/html class.xsl name_to_id.xsl
Log:
* Fixed XML in gtkbutton.xml.
* Removed bolding from signal names in synoptic mode.
* Added () after method names in synoptic mode (is it possible to make them
part of the link, James?)
* Rearranged signal page a bit, 'Conditions:' part - I think it looks good.
Index: php-gtk/docs/en/classes/gtkbutton.xml
diff -u php-gtk/docs/en/classes/gtkbutton.xml:1.4 php-gtk/docs/en/classes/gtkbutton.xml:1.5
--- php-gtk/docs/en/classes/gtkbutton.xml:1.4 Wed May 9 09:51:19 2001
+++ php-gtk/docs/en/classes/gtkbutton.xml Wed May 9 13:26:03 2001
@@ -44,10 +44,8 @@
<method id="gtk.gtkbutton.method.pressed">
<funcsynopsis>
<funcprototype>
- <funcdef>
- void <function>pressed</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>void <function>pressed</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -63,9 +61,8 @@
<method id="gtk.gtkbutton.method.released">
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>released</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>void <function>released</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -81,9 +78,8 @@
<method id="gtk.gtkbutton.method.clicked">
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>clicked</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>void <function>clicked</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -99,9 +95,8 @@
<method id="gtk.gtkbutton.method.enter">
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>enter</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>void <function>enter</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -117,9 +112,8 @@
<method id="gtk.gtkbutton.method.leave">
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>leave</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>void <function>leave</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -135,9 +129,8 @@
<method id="gtk.gtkbutton.method.set_relief">
<funcsynopsis>
<funcprototype>
- <funcdef>void <function>set_relief</function>
- <paramdef>GtkReliefStyle <parameter>newstyle</parameter></paramdef>
- </funcdef>
+ <funcdef>void <function>set_relief</function></funcdef>
+ <paramdef>GtkReliefStyle <parameter>newstyle</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -155,9 +148,8 @@
<method id="gtk.gtkbutton.method.get_relief">
<funcsynopsis>
<funcprototype>
- <funcdef>GtkReliefStyle <function>get_relief</function>
- <paramdef>void</paramdef>
- </funcdef>
+ <funcdef>GtkReliefStyle <function>get_relief</function></funcdef>
+ <paramdef>void</paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
@@ -176,17 +168,13 @@
<signal id="gtk.gtkbutton.signal.clicked">
<signalname>clicked</signalname>
- <firedwhen>
- fired when the button is clicked
- </firedwhen>
<userfunc>
<funcprototype>
- <funcdef>void <function>userfunc</function>
+ <funcdef>void <function>user_function</function></funcdef>
<paramdef>GtkButton <parameter>button</parameter></paramdef>
- </funcdef>
</funcprototype>
</userfunc>
- <shortdesc>Emitted when the button is clicked.</shortdesc>
+ <shortdesc>Emitted when a button is clicked.</shortdesc>
<desc>
<simpara>
Emitted when a button clicked on by the mouse and the cursor stays on the
Index: php-gtk/docs/stylesheets/xsl/html/class.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/class.xsl:1.36
php-gtk/docs/stylesheets/xsl/html/class.xsl:1.37
--- php-gtk/docs/stylesheets/xsl/html/class.xsl:1.36 Wed May 9 09:51:20 2001
+++ php-gtk/docs/stylesheets/xsl/html/class.xsl Wed May 9 13:26:03 2001
@@ -225,7 +225,7 @@
<xsl:template match="method" mode="synoptic.mode">
<xsl:apply-templates select="./funcsynopsis/funcprototype/funcdef/function"/>
- <xsl:text> —</xsl:text>
+ <xsl:text>() —</xsl:text>
<xsl:apply-templates select="./shortdesc" />
<br />
</xsl:template>
@@ -245,10 +245,8 @@
</xsl:template>
<xsl:template match="signal" mode="synoptic.mode">
- <b>
- <xsl:apply-templates select="./signalname"/>
- <xsl:text>: </xsl:text>
- </b>
+ <xsl:apply-templates select="./signalname"/>
+ <xsl:text>: </xsl:text>
<xsl:apply-templates select="./shortdesc"/>
</xsl:template>
@@ -285,19 +283,13 @@
<xsl:apply-templates select="." mode="title.content"/>
</h1>
<p>
- <b>
- Conditions:
- </b>
- <xsl:apply-templates select="./firedwhen"/>
+ <xsl:apply-templates select="./desc"/>
</p>
<p>
<b>
Callback function:
</b>
<xsl:apply-templates select="./userfunc" />
- </p>
- <p>
- <xsl:apply-templates select="./desc"/>
</p>
</xsl:template>
Index: php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl
diff -u php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.21
php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.22
--- php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.21 Fri May 4 17:43:22 2001
+++ php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl Wed May 9 13:26:03 2001
@@ -2404,7 +2404,10 @@
<xsl:choose>
- <xsl:when test="$signame='disconnect'">
+ <xsl:when test="$signame='clicked'">
+<xsl:text>gtk.gtkbutton.signal.clicked</xsl:text>
+</xsl:when>
+<xsl:when test="$signame='disconnect'">
<xsl:text>gtk.gtkdata.signal.disconnect</xsl:text>
</xsl:when>
<xsl:when test="$signame='start_query'">