~ubuntu-branches/ubuntu/natty/pygtk/natty-proposed

« back to all changes in this revision

Viewing changes to docs/html/class-gtkrequisition.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-01-07 11:08:47 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107110847-f5av7e1ttudh7ra6
Tags: 2.17.0-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<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.73.2"><link rel="start" 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" lang="en"><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
2
 
requirements of a widget.</p></div><div class="refsect1" lang="en"><a name="id3663590"></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>):
3
 
<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" lang="en"><a name="id3663655"></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><col><col></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" lang="en"><a name="id3663746"></a><h2>Description</h2><p>A <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
 
1
<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.1"><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
 
2
requirements of a widget.</p></div><div class="refsect1" title="Synopsis"><a name="id3973554"></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>):
 
3
<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="id3973620"></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="id3973710"></a><h2>Description</h2><p>A <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
4
4
holds the information about the desired space requirements (width and
5
5
height) of a widget. A <a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>
6
6
object has <code class="literal">width</code> and <code class="literal">height</code> attributes
7
 
that can be read and written.</p><div class="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>
8
 
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" lang="en"><a name="id3663816"></a><h2>Methods</h2><div class="refsect2" lang="en"><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
9
 
<a class="link" href="class-gtkrequisition.html" title="gtk.Requisition"><code class="classname">gtk.Requisition</code></a>.</p></div><div class="refsect2" lang="en"><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" 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
 
7
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>
 
8
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="id3973781"></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
 
9
<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
10
10
 crash your application.</p></div><p>The <code class="methodname">free</code>() method frees the resources
11
11
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>