/usr/share/gtk-doc/html/pygoocanvas/class-canvas-group-model.html is in python-pygoocanvas 0.14.1-1.2.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.GroupModel</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.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-grid-model.html" title="goocanvas.GridModel"><link rel="next" href="class-canvas-image-model.html" title="goocanvas.ImageModel"></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.GroupModel</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-grid-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="class-canvas-image-model.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="class-canvas-group-model"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.GroupModel</h2><p>goocanvas.GroupModel — A model for group of items.</p></div><div class="refsect1"><a name="idm7844"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.GroupModel</span></span>(<span class="ooclass"><span class="classname">goocanvas.ItemModelSimple</span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-canvas-group-model.html#constructor-canvas-group-model" title="Constructor">goocanvas.GroupModel</a></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"><a name="idm7857"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
+-- <a class="link" href="class-canvas-item-model-simple.html" title="goocanvas.ItemModelSimple">goocanvas.ItemModelSimple</a>
+-- <a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel">goocanvas.GroupModel</a>
</pre></div><div class="refsect1"><a name="idm7863"></a><h2>Implemented Interfaces</h2><p>
<a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel"><code class="classname">goocanvas.GroupModel</code></a>
implements
<a class="link" href="class-canvas-item-model.html" title="goocanvas.ItemModel"><code class="classname">goocanvas.ItemModel</code></a>
</p></div><div class="refsect1"><a name="idm7870"></a><h2>Description</h2><a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel"><code class="classname">goocanvas.GroupModel</code></a>
represents a group of items. Groups can be nested to any depth, to create a hierarchy of items.
Items are ordered within each group, with later items being displayed above earlier items.
It is a subclass of
<a class="link" href="class-canvas-item-model-simple.html" title="goocanvas.ItemModelSimple"><code class="classname">goocanvas.ItemModelSimple</code></a>
and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".
Setting a style property on a <a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel"><code class="classname">goocanvas.GroupModel</code></a>
will affect all children of the <a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel"><code class="classname">goocanvas.GroupModel</code></a>
(unless the children override the property setting).
It also implements the <a class="link" href="class-canvas-item-model.html" title="goocanvas.ItemModel"><code class="classname">goocanvas.ItemModel</code></a>
interface, so you can use the <a class="link" href="class-canvas-item-model.html" title="goocanvas.ItemModel"><code class="classname">goocanvas.ItemModel</code></a>
functions such as <code class="methodname"><a class="link" href="class-canvas-item-model.html#method-goocanvasitemmodel--raise-" title="goocanvas.ItemModel.raise_">goocanvas.ItemModel.raise_()</a></code>
and <code class="methodname">goocanvas.ItemModel.rotate()</code>,
and the properties such as "visibility" and "pointer-events".
</div><div class="refsect1"><a name="constructor-canvas-group-model"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.GroupModel</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
<a class="link" href="class-canvas-group-model.html" title="goocanvas.GroupModel"><code class="classname">goocanvas.GroupModel</code></a>
</td></tr></tbody></table><p>
Creates a new canvas model group 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-grid-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="class-canvas-image-model.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.GridModel </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> goocanvas.ImageModel</td></tr></table></div></body></html>
|