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,