summaryrefslogtreecommitdiff
path: root/docs/reference/pygtk-gtkbutton.xml
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-06-04 01:31:05 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-06-04 01:31:05 +0000
commitcbaca8779709fef59694d531155823d768693f71 (patch)
tree743cb5431e7f1915cae3ecb1d489216ca6ec4558 /docs/reference/pygtk-gtkbutton.xml
parentdaf0213817a3237d3578052def0812bed5514828 (diff)
downloadpygtk-cbaca8779709fef59694d531155823d768693f71.tar.gz
Add new property descriptions.
* pygtk-gtkbutton.xml ("inner-border", "displace-focus") ("image-position"): Add new property descriptions. * pygtk-gtkcellrendereraccel.xml: Add. * pygtk-gtk-classes.xml: Add pygtk-gtkcellrendereraccel.xml * pygtk-gtk-constants.xml (GTK CellRendererAccel Mode Constants): Add.
Diffstat (limited to 'docs/reference/pygtk-gtkbutton.xml')
-rw-r--r--docs/reference/pygtk-gtkbutton.xml57
1 files changed, 43 insertions, 14 deletions
diff --git a/docs/reference/pygtk-gtkbutton.xml b/docs/reference/pygtk-gtkbutton.xml
index f639595b..98b94a73 100644
--- a/docs/reference/pygtk-gtkbutton.xml
+++ b/docs/reference/pygtk-gtkbutton.xml
@@ -165,6 +165,16 @@ This property is available in GTK+ 2.6 and above.</entry>
</row>
<row valign="top">
+ <entry>"image-position"</entry>
+ <entry>Read/Write</entry>
+ <entry>The position of the image relative to the text inside the
+ button. One of the <xref linkend="gtk-position-type-constants"
+ endterm="gtk-position-type-constants-title"></xref>. Default
+ value: <literal>gtk.POS_LEFT</literal>. This property is
+ available in GTK+ 2.10 and above.</entry>
+ </row>
+
+ <row valign="top">
<entry>"label"</entry>
<entry>Read/Write</entry>
<entry>Text of the label widget inside the button, if the button
@@ -243,33 +253,52 @@ This property is available in GTK+ 2.4 and above.</entry>
<colspec column="3" colwidth="3.5in"/>
<tbody>
- <row valign="top">
- <entry>"child-displacement-y"</entry>
- <entry>Read/Write</entry>
- <entry>The number of pixels in the y direction to move the child
-when the button is depressed</entry>
- </row>
-
<row valign="top">
<entry>"child-displacement-x"</entry>
- <entry>Read/Write</entry>
+ <entry>Read</entry>
<entry>The number of pixels in the x direction to move the child
-when the button is depressed</entry>
+when the button is depressed. Default value: 0</entry>
</row>
+ <row valign="top">
+ <entry>"child-displacement-y"</entry>
+ <entry>Read</entry>
+ <entry>The number of pixels in the y direction to move the child
+when the button is depressed. Default value: 0</entry>
+ </row>
+
<row valign="top">
<entry>"default-border"</entry>
- <entry>Read/Write</entry>
+ <entry>Read</entry>
<entry>The extra space to add for
-<literal>gtk.CAN_DEFAULT</literal> buttons</entry>
+ <literal>gtk.CAN_DEFAULT</literal> buttons as a <link
+ linkend="class-gtkborder"><classname>gtk.Border</classname></link></entry>
</row>
<row valign="top">
<entry>"default-outside-border"</entry>
- <entry>Read/Write</entry>
+ <entry>Read</entry>
<entry>The extra space to add for
-<literal>gtk.CAN_DEFAULT</literal> buttons always drawn outside the
-border</entry>
+ <literal>gtk.CAN_DEFAULT</literal> buttons always drawn outside
+ the border as a <link
+ linkend="class-gtkborder"><classname>gtk.Border</classname></link></entry>
+ </row>
+
+ <row valign="top">
+ <entry>"displace-focus"</entry>
+ <entry>Read</entry>
+ <entry>If <literal>TRUE</literal> the "child-displacement-x" and
+ "child-displacement-y" properties should also affect the focus
+ rectangle. Default value: <literal>FALSE</literal>. This property
+ is available in GTK+ 2.6 and above.</entry>
+ </row>
+
+ <row valign="top">
+ <entry>"inner-border"</entry>
+ <entry>Read</entry>
+ <entry>The border between the button edges and child as a <link
+ linkend="class-gtkborder"><classname>gtk.Border</classname></link>.
+ This property is available in GTK+ 2.10 and above.</entry>
</row>
</tbody>