/usr/share/gtk-doc/html/pygoocanvas/class-canvas-table.html is in python-pygoocanvas 0.14.1-1ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.Table</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="PyGooCanvas Reference Manual"><link rel="up" href="pygoocanvas-std-items.html" title="PyGooCanvas Standard Canvas Items Reference"><link rel="prev" href="class-canvas-text.html" title="goocanvas.Text"><link rel="next" href="class-canvas-widget.html" title="goocanvas.Widget"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">goocanvas.Table</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-text.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Standard Canvas Items Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-canvas-widget.html">Next</a></td></tr></table><hr></div><div class="refentry" title="goocanvas.Table"><a name="class-canvas-table"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.Table</h2><p>goocanvas.Table — A table container to layout items.</p></div><div class="refsect1" title="Synopsis"><a name="idp2822512"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.Table</span></span>(<span class="ooclass"><span class="classname">goocanvas.Group</span></span>):
<code class="constructorsynopsis"> <span class="methodname">goocanvas.Table</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="idp2828000"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
+-- goocanvas.ItemSimple
+-- goocanvas.Group
+-- goocanvas.Table
</pre></div><div class="refsect1" title="goocanvas.Table Properties"><a name="properties-goocanvastable"></a><h2>goocanvas.Table Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"column-spacing"</td><td valign="top">Read/Write</td><td valign="top">The default space between columns. Allowed values: >= 0 Default value: 0</td></tr><tr valign="top"><td valign="top">"height"</td><td valign="top">Read/Write</td><td valign="top">The requested height of the table, or -1 to use the default height. Default value: -1</td></tr><tr valign="top"><td valign="top">"homogeneous-columns"</td><td valign="top">Read/Write</td><td valign="top">If all columns are the same width. Default value: False</td></tr><tr valign="top"><td valign="top">"homogeneous-rows"</td><td valign="top">Read/Write</td><td valign="top">If all rows are the same height. Default value: False</td></tr><tr valign="top"><td valign="top">"horiz-grid-line-width"</td><td valign="top">Read/Write</td><td valign="top">The width of the grid line to draw between rows. Allowed values: >= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"row-spacing"</td><td valign="top">Read/Write</td><td valign="top">The default space between rows. Allowed values: >= 0 Default value: 0</td></tr><tr valign="top"><td valign="top">"vert-grid-line-width"</td><td valign="top">Read/Write</td><td valign="top">The width of the grid line to draw between columns. Allowed values: >= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"width"</td><td valign="top">Read/Write</td><td valign="top">The requested width of the table, or -1 to use the default width. Default value: -1</td></tr><tr valign="top"><td valign="top">"x-border-spacing"</td><td valign="top">Read/Write</td><td valign="top">The amount of spacing between the lefmost and rightmost cells and the border grid line.
Allowed values: >= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"y-border-spacing"</td><td valign="top">Read/Write</td><td valign="top">The amount of spacing between the topmost and bottommost cells and the border grid line.
Allowed values: >= 0. Default value: 0.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="goocanvas.Table Child Properties"><a name="child-properties-goocanvastable"></a><h2>goocanvas.Table Child Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"bottom-padding"</td><td valign="top">Read/Write</td><td valign="top">Extra space to add below the item. Allowed values: >= 0 Default value: 0.</td></tr><tr valign="top"><td valign="top">"column"</td><td valign="top">Read/Write</td><td valign="top">The column to place the item in. Allowed values: <= 65535 Default value: 0.</td></tr><tr valign="top"><td valign="top">"columns"</td><td valign="top">Read/Write</td><td valign="top">The number of columns that the item spans. Allowed values: <= 65535 Default value: 1.</td></tr><tr valign="top"><td valign="top">"left-padding"</td><td valign="top">Read/Write</td><td valign="top">Extra space to add to the left of the item. Allowed values: >= 0 Default value: 0.</td></tr><tr valign="top"><td valign="top">"right-padding"</td><td valign="top">Read/Write</td><td valign="top">Extra space to add to the right of the item. Allowed values: >= 0 Default value: 0.</td></tr><tr valign="top"><td valign="top">"row"</td><td valign="top">Read/Write</td><td valign="top">The row to place the item in. Allowed values: <= 65535 Default value: 0.</td></tr><tr valign="top"><td valign="top">"rows"</td><td valign="top">Read/Write</td><td valign="top">The number of rows that the item spans. Allowed values: <= 65535 Default value: 1.</td></tr><tr valign="top"><td valign="top">"top-padding"</td><td valign="top">Read/Write</td><td valign="top">Extra space to add above the item. Allowed values: >= 0 Default value: 0.</td></tr><tr valign="top"><td valign="top">"x-align"</td><td valign="top">Read/Write</td><td valign="top">The horizontal position of the item within its allocated space.
0.0 is left-aligned, 1.0 is right-aligned.
Allowed values: [0,1]
Default value: 0.5.</td></tr><tr valign="top"><td valign="top">"x-expand"</td><td valign="top">Read/Write</td><td valign="top">If the item expands horizontally as the table expands. Default value: False.</td></tr><tr valign="top"><td valign="top">"x-fill"</td><td valign="top">Read/Write</td><td valign="top">If the item fills all horizontal allocated space. Default value: False.</td></tr><tr valign="top"><td valign="top">"x-shrink"</td><td valign="top">Read/Write</td><td valign="top">If the item can shrink smaller than its requested size horizontally. Default value: False.</td></tr><tr valign="top"><td valign="top">"y-align"</td><td valign="top">Read/Write</td><td valign="top">The vertical position of the item within its allocated space.
0.0 is top-aligned, 1.0 is bottom-aligned. Allowed values: [0,1]
Default value: 0.5.</td></tr><tr valign="top"><td valign="top">"y-expand"</td><td valign="top">Read/Write</td><td valign="top">If the item expands vertically as the table expands. Default value: False.</td></tr><tr valign="top"><td valign="top">"y-fill"</td><td valign="top">Read/Write</td><td valign="top">If the item fills all vertical allocated space. Default value: False.</td></tr><tr valign="top"><td valign="top">"y-shrink"</td><td valign="top">Read/Write</td><td valign="top">If the item can shrink smaller than its requested size vertically. Default value: False.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Implemented Interfaces"><a name="idp2903136"></a><h2>Implemented Interfaces</h2><p>
<code class="classname">goocanvas.Table</code>
implements
<code class="classname">goocanvas.Item</code>
</p></div><div class="refsect1" title="Description"><a name="idp2906176"></a><h2>Description</h2><p>
<code class="classname">goocanvas.Table</code>
is a table container used to lay out other canvas items.
It is used in a similar way to how the GtkTable widget is used to lay out GTK+ widgets.
</p><p>
Items are added to the table using the normal methods, then
<code class="methodname">set_child_properties</code>
s used to specify how each child item is to be positioned within the table (i.e. which row and column
it is in, how much padding it should have and whether it should expand or shrink).
</p><p>
<code class="classname">goocanvas.Table</code> is a subclass of
<code class="classname">goocanvas.ItemSimple</code>
and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".
Setting a style property on a <code class="classname">goocanvas.Table</code>
will affect all children of the <code class="classname">goocanvas.Table</code>
(unless the children override the property setting).
</p><p>
<code class="classname">goocanvas.Table</code> implements the
<code class="classname">goocanvas.Item</code> nterface, so you can use the
<code class="classname">goocanvas.Item</code> functions such as
<code class="methodname">raise_</code> and
<code class="methodname">rotate</code>,
and the properties such as "visibility" and "pointer-events".
</p></div><div class="refsect1" title="Constructor"><a name="constructor-canvas-table"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.Table</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>properties</code></strong>:</span></p></td><td>A comma separated properties as **kwargs.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td>A new
<code class="classname">goocanvas.Table</code>
</td></tr></tbody></table><p>
Creates a new canvas table item.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-canvas-text.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-std-items.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-canvas-widget.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.Text </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> goocanvas.Widget</td></tr></table></div></body></html>
|