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

« back to all changes in this revision

Viewing changes to docs/html/class-atkimage.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
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>atk.Image</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="atk-class-reference.html" title="The atk Class Reference"><link rel="prev" href="class-atkhypertext.html" title="atk.Hypertext"><link rel="next" href="class-atkimplementor.html" title="atk.Implementor"></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.Image</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-atkhypertext.html">Prev</a> </td><th width="60%" align="center">The atk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-atkimplementor.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-atkimage"></a><div class="titlepage"></div><div class="refnamediv"><h2>atk.Image</h2><p>atk.Image — the ATK Interface implemented by components that expose
2
 
      image or pixmap content on-screen.  </p></div><div class="refsect1" lang="en"><a name="id2805343"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Image</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
3
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-description" title="atk.Image.get_image_description">get_image_description</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-size" title="atk.Image.get_image_size">get_image_size</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--set-image-description" title="atk.Image.set_image_description">set_image_description</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>description</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-position" title="atk.Image.get_image_position">get_image_position</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>coord_type</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2767793"></a><h2>Description</h2><p><a class="link" href="class-atkimage.html" title="atk.Image"><code class="classname">atk.Image</code></a> should
 
2
      image or pixmap content on-screen.  </p></div><div class="refsect1" lang="en"><a name="id3006047"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">atk.Image</span></span>(<span class="ooclass"><span class="classname">gobject.GInterface</span></span>):
 
3
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-description" title="atk.Image.get_image_description">get_image_description</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-size" title="atk.Image.get_image_size">get_image_size</a></span>()</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--set-image-description" title="atk.Image.set_image_description">set_image_description</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>description</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-atkimage.html#method-atkimage--get-image-position" title="atk.Image.get_image_position">get_image_position</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>coord_type</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id2968497"></a><h2>Description</h2><p><a class="link" href="class-atkimage.html" title="atk.Image"><code class="classname">atk.Image</code></a> should
4
4
    be implemented by <a class="link" href="class-atkobject.html" title="atk.Object"><code class="classname">atk.Object</code></a>
5
5
    subtypes on behalf of components which display image/pixmap information
6
6
    onscreen, and which provide information (other than just widget borders,
11
11
    (useful for screen review mode of screenreaders, and for use by onscreen
12
12
    magnifiers), and descriptive information.  The descriptive information
13
13
    is provided for alternative, text-only presentation of the most
14
 
    significant information present in the image.</p></div><div class="refsect1" lang="en"><a name="id2780840"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkimage--get-image-description"></a><h3>atk.Image.get_image_description</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_image_description</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 string representing the image
 
14
    significant information present in the image.</p></div><div class="refsect1" lang="en"><a name="id2981544"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-atkimage--get-image-description"></a><h3>atk.Image.get_image_description</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_image_description</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 string representing the image
15
15
          description</td></tr></tbody></table><p>Get a textual description of this image.</p></div><div class="refsect2" lang="en"><a name="method-atkimage--get-image-size"></a><h3>atk.Image.get_image_size</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_image_size</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 2-tuple containing the width and height of
16
16
          the image</td></tr></tbody></table><p>Get the width and height in pixels for the specified image. The
17
17
      width and height are returned as -1 if the values cannot be