/usr/share/gtk-doc/html/pygtk/class-gtkrequisition.html is in python-gtk2-doc 2.24.0-4.
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>gtk.Requisition</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="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkrecentmanager.html" title="gtk.RecentManager"><link rel="next" href="class-gtkruler.html" title="gtk.Ruler"></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">gtk.Requisition</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkrecentmanager.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkruler.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Requisition"><a name="class-gtkrequisition"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Requisition</h2><p>gtk.Requisition — an object containing information about the desired space
requirements of a widget.</p></div><div class="refsect1" title="Synopsis"><a name="id3879259"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Requisition</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkrequisition.html#method-gtkrequisition--copy" title="gtk.Requisition.copy">copy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkrequisition.html#method-gtkrequisition--free" title="gtk.Requisition.free">free</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Attributes"><a name="id3879325"></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">"width"</td><td valign="top">Read-Write</td><td valign="top">the desired width of the widget</td></tr><tr valign="top"><td valign="top">"height"</td><td valign="top">Read-Write</td><td valign="top">the desired height of the widget</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="id3879415"></a><h2>Description</h2><p>A <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
holds the information about the desired space requirements (width and
height) of a widget. A <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
object has <code class="literal">width</code> and <code class="literal">height</code> attributes
that can be read and written.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>There appears to be no way to create or use a <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
in PyGTK other than as an argument in the handler for the <a class="link" href="class-gtkwidget.html" title="gtk.Widget"><code class="classname">gtk.Widget</code></a> "<a class="link" href="class-gtkwidget.html#signal-gtkwidget--size-request" title='The "size-request" gtk.Widget Signal'>size-request</a>" signal.</p></div></div><div class="refsect1" title="Methods"><a name="id3879486"></a><h2>Methods</h2><div class="refsect2" title="gtk.Requisition.copy"><a name="method-gtkrequisition--copy"></a><h3>gtk.Requisition.copy</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">copy</span>(<span class="methodparam"></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 copy of the <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a></td></tr></tbody></table><p>The <code class="methodname">copy</code>() method returns a copy of the
<a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>.</p></div><div class="refsect2" title="gtk.Requisition.free"><a name="method-gtkrequisition--free"></a><h3>gtk.Requisition.free</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">free</span>(<span class="methodparam"></span>)</code></pre><div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>This method is deprecated and should not be used since it can
crash your application.</p></div><p>The <code class="methodname">free</code>() method frees the resources
allocated to the <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>.</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-gtkrecentmanager.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkruler.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.RecentManager </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Ruler</td></tr></table></div></body></html>
|