/usr/share/gtk-doc/html/pygtk/class-atkrectangle.html is in python-gtk2-doc 2.24.0-5.1ubuntu2.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.Rectangle</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="atk-class-reference.html" title="The atk Class Reference"><link rel="prev" href="class-atkobjectfactory.html" title="atk.ObjectFactory"><link rel="next" href="class-atkregistry.html" title="atk.Registry"></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">atk.Rectangle</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkobjectfactory.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkregistry.html">Next</a></td></tr></table><hr></div><div class="refentry" title="atk.Rectangle"><a name="class-atkrectangle"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.Rectangle</h2><p>atk.Rectangle — an object holding data about a rectangle</p></div><div class="refsect1" title="Synopsis"><a name="id2941064"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Rectangle</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-atkrectangle.html#constructor-atkrectangle" title="atk.Rectangle">atk.Rectangle</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span><span class="initializer">=0</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Attributes"><a name="id2974679"></a><h2>Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table cellpadding="5" width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"x"</td><td valign="top">Read-Write</td><td valign="top">The X coordinate of the top left corner of the
rectangle.</td></tr><tr valign="top"><td valign="top">"y"</td><td valign="top">Read-Write</td><td valign="top">The Y coordinate of the top left corner of the
rectangle.</td></tr><tr valign="top"><td valign="top">"width"</td><td valign="top">Read-Write</td><td valign="top">The width of the rectangle.</td></tr><tr valign="top"><td valign="top">"height"</td><td valign="top">Read-Write</td><td valign="top">The height of the rectangle.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="id2963749"></a><h2>Description</h2><p>A <a class="link" href="class-gdkrectangle.html" title="gtk.gdk.Rectangle"><code class="classname">atk.Rectangle</code></a>
holds the position and size of a rectangle. The position is specified by
the "x" and "y" attributes and the size, by the "width" and "height"
attributes.</p></div><div class="refsect1" title="Constructor"><a name="id2962113"></a><h2>Constructor</h2><div class="refsect2" title="atk.Rectangle"><a name="constructor-atkrectangle"></a><h3>atk.Rectangle</h3><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">atk.Rectangle</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>x</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>y</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>width</code></strong></span><span class="initializer">=0</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>height</code></strong></span><span class="initializer">=0</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"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-atkrectangle.html" title="atk.Rectangle"><code class="classname">atk.Rectangle</code></a></td></tr></tbody></table><p>Creates a new <a class="link" href="class-atkrectangle.html" title="atk.Rectangle"><code class="classname">atk.Rectangle</code></a>
with the attributes specified by <em class="parameter"><code>x</code></em>,
<em class="parameter"><code>y</code></em>, <em class="parameter"><code>width</code></em> and
<em class="parameter"><code>height</code></em>. Any unspecified attributes default to
0.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-atkobjectfactory.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="atk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-atkregistry.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">atk.ObjectFactory </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> atk.Registry</td></tr></table></div></body></html>
|