/usr/share/gtk-doc/html/pygoocanvas/class-canvas-table-model.html is in python-pygoocanvas 0.14.1-1ubuntu8.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.TableModel</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-model-items.html" title="PyGooCanvas Canvas Item Models Reference"><link rel="prev" href="class-canvas-text-model.html" title="goocanvas.TextModel"><link rel="next" href="pygoocanvas-misc-items.html" title="PyGooCanvas Miscellaneous Items Reference"></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.TableModel</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-text-model.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Canvas Item Models Reference</th><td width="20%" align="right"> <a accesskey="n" href="pygoocanvas-misc-items.html">Next</a></td></tr></table><hr></div><div class="refentry" title="goocanvas.TableModel"><a name="class-canvas-table-model"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.TableModel</h2><p>goocanvas.TableModel — A model for a table container to layout items.</p></div><div class="refsect1" title="Synopsis"><a name="idp3141312"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.TableModel</span></span>(<span class="ooclass"><span class="classname">goocanvas.GroupModel</span></span>):
<code class="constructorsynopsis"> <span class="methodname">goocanvas.TableModel</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="idp3146800"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
+-- goocanvas.ItemModelModelSimple
+-- goocanvas.GroupModel
+-- goocanvas.TableModel
</pre></div><div class="refsect1" title="goocanvas.TableModel Properties"><a name="properties-goocanvastablemodel"></a><h2>goocanvas.TableModel 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">"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">"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></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="goocanvas.TableModel Child Properties"><a name="child-properties-goocanvastablemodel"></a><h2>goocanvas.TableModel 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="idp3212608"></a><h2>Implemented Interfaces</h2><p>
<code class="classname">goocanvas.TableModel</code>
implements
<code class="classname">goocanvas.ItemModel</code>
</p></div><div class="refsect1" title="Description"><a name="idp3215664"></a><h2>Description</h2><p>
<code class="classname">goocanvas.TableModel</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.TableModel</code> is a subclass of
<code class="classname">goocanvas.ItemModelSimple</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.TableModel</code>
will affect all children of the <code class="classname">goocanvas.TableModel</code>
(unless the children override the property setting).
</p><p>
<code class="classname">goocanvas.TableModel</code> implements the
<code class="classname">goocanvas.ItemModel</code> nterface, so you can use the
<code class="classname">goocanvas.ItemModel</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-model"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.TableModel</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.TableModel</code>
</td></tr></tbody></table><p>
Creates a new canvas table model 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-model.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-model-items.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pygoocanvas-misc-items.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.TextModel </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> PyGooCanvas Miscellaneous Items Reference</td></tr></table></div></body></html>
|