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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-06-22 16:49:42 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090622164942-19zeltp4z0u5iw72
Tags: 2.15.2-0ubuntu1
* New upstream version:
  - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message
  - Allow pango.Context creation 
  - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward
    compatibility accepting also chars 
  - Protect window obj from GC in gtk.window_get_toplevels 
  - Plug huge number of memory leaks in Pango wrappers 
  - Add gtk.gdk.WINDOWING constant 
  - Wrap gdk_pixbuf_apply_embedded_orientation 
  - Modernize constructors of seven more types 
  - Don't free a string we don't own 
  - Some docs tweaking 
* debian/control.in:
  - set vcs location
* debian/patches/02_fix_get_application_info_crash.patch:
  - the change is in the new 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.Border</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-gtkbin.html" title="gtk.Bin"><link rel="next" href="class-gtkbox.html" title="gtk.Box"></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.Border</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkbin.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkbox.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkborder"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Border</h2><p>gtk.Border — an object containing data for a border (new in PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3242312"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Border</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
2
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkborder.html#method-gtkborder--copy" title="gtk.Border.copy">copy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkborder.html#method-gtkborder--free" title="gtk.Border.free">free</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3058880"></a><h2>Attributes</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>All attributes are available in PyGTK 2.16 and above.</p></div><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">"left"</td><td valign="top">Read-Write</td><td valign="top">The width of the left border margin.</td></tr><tr valign="top"><td valign="top">"right"</td><td valign="top">Read-Write</td><td valign="top">The width of the right border margin.</td></tr><tr valign="top"><td valign="top">"top"</td><td valign="top">Read-Write</td><td valign="top">The width of the bottom border margin.</td></tr><tr valign="top"><td valign="top">"bottom"</td><td valign="top">Read-Write</td><td valign="top">The width of the bottom border margin.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="id3219441"></a><h2>Description</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This object is available in PyGTK 2.4 and above.</p></div><p>A <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a> object
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Border</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-gtkbin.html" title="gtk.Bin"><link rel="next" href="class-gtkbox.html" title="gtk.Box"></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.Border</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkbin.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkbox.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtkborder"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Border</h2><p>gtk.Border — an object containing data for a border (new in PyGTK 2.4)</p></div><div class="refsect1" lang="en"><a name="id3471806"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Border</span></span>(<span class="ooclass"><span class="classname">gobject.GBoxed</span></span>):
 
2
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkborder.html#method-gtkborder--copy" title="gtk.Border.copy">copy</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtkborder.html#method-gtkborder--free" title="gtk.Border.free">free</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3341706"></a><h2>Attributes</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>All attributes are available in PyGTK 2.16 and above.</p></div><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">"left"</td><td valign="top">Read-Write</td><td valign="top">The width of the left border margin.</td></tr><tr valign="top"><td valign="top">"right"</td><td valign="top">Read-Write</td><td valign="top">The width of the right border margin.</td></tr><tr valign="top"><td valign="top">"top"</td><td valign="top">Read-Write</td><td valign="top">The width of the bottom border margin.</td></tr><tr valign="top"><td valign="top">"bottom"</td><td valign="top">Read-Write</td><td valign="top">The width of the bottom border margin.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" lang="en"><a name="id3492999"></a><h2>Description</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This object is available in PyGTK 2.4 and above.</p></div><p>A <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a> object
3
3
contains the integer values for the left, right, top and bottom values of a
4
4
border. <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a> is used
5
5
in <a class="link" href="class-gtkstyle.html" title="gtk.Style"><code class="classname">gtk.Style</code></a>
13
13
      new <a class="link" href="class-gtkborder.html" title="gtk.Border"><code class="classname">gtk.Border</code></a> with
14
14
      the attributes specified
15
15
      by <em class="parameter"><code>left</code></em>, <em class="parameter"><code>right</code></em>, <em class="parameter"><code>top</code></em>
16
 
      and <em class="parameter"><code>bottom</code></em>. Any unspecified attributes default to 0.</p></div><div class="refsect1" lang="en"><a name="id3288649"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkborder--copy"></a><h3>gtk.Border.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 border.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">copy</code>() method returns a copy of the
 
16
      and <em class="parameter"><code>bottom</code></em>. Any unspecified attributes default to 0.</p></div><div class="refsect1" lang="en"><a name="id3534961"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtkborder--copy"></a><h3>gtk.Border.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 border.</td></tr></tbody></table><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><p>The <code class="methodname">copy</code>() method returns a copy of the
17
17
border object.</p></div><div class="refsect2" lang="en"><a name="method-gtkborder--free"></a><h3>gtk.Border.free</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">free</span>(<span class="methodparam"></span>)</code></pre><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.4 and above.</p></div><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
18
18
        crash your application.</p></div><p>The <code class="methodname">free</code>() method frees the memory used
19
19
      by the border.</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-gtkbin.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-gtkbox.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.Bin </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.Box</td></tr></table></div></body></html>