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

« back to all changes in this revision

Viewing changes to docs/html/class-gtktextchildanchor.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.TextChildAnchor</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-gtktextbuffer.html" title="gtk.TextBuffer"><link rel="next" href="class-gtktextiter.html" title="gtk.TextIter"></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.TextChildAnchor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktextbuffer.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktextiter.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtktextchildanchor"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TextChildAnchor</h2><p>gtk.TextChildAnchor — a location in a textbuffer for placing widgets</p></div><div class="refsect1" lang="en"><a name="id3733668"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TextChildAnchor</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
2
 
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#constructor-gtktextchildanchor" title="Constructor">gtk.TextChildAnchor</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#method-gtktextchildanchor--get-widgets" title="gtk.TextChildAnchor.get_widgets">get_widgets</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#method-gtktextchildanchor--get-deleted" title="gtk.TextChildAnchor.get_deleted">get_deleted</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3733759"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.TextChildAnchor</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-gtktextbuffer.html" title="gtk.TextBuffer"><link rel="next" href="class-gtktextiter.html" title="gtk.TextIter"></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.TextChildAnchor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktextbuffer.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktextiter.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.TextChildAnchor"><a name="class-gtktextchildanchor"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TextChildAnchor</h2><p>gtk.TextChildAnchor — a location in a textbuffer for placing widgets</p></div><div class="refsect1" title="Synopsis"><a name="id4043686"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TextChildAnchor</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
 
2
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#constructor-gtktextchildanchor" title="Constructor">gtk.TextChildAnchor</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#method-gtktextchildanchor--get-widgets" title="gtk.TextChildAnchor.get_widgets">get_widgets</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextchildanchor.html#method-gtktextchildanchor--get-deleted" title="gtk.TextChildAnchor.get_deleted">get_deleted</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id4043777"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
3
3
  +-- <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor">gtk.TextChildAnchor</a>
4
 
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtktextchildanchor"></a><h2>gtk.TextChildAnchor Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id3733805"></a><h2>Description</h2><p>A <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a> 
 
4
</pre></div><div class="refsect1" title="gtk.TextChildAnchor Signal Prototypes"><a name="signal-prototypes-gtktextchildanchor"></a><h2>gtk.TextChildAnchor Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" title="Description"><a name="id4043823"></a><h2>Description</h2><p>A <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a> 
5
5
provides a location in a <a class="link" href="class-gtktextbuffer.html" title="gtk.TextBuffer"><code class="classname">gtk.TextBuffer</code></a>
6
6
for placing child widgets in a <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a>.
7
7
Since a <a class="link" href="class-gtktextbuffer.html" title="gtk.TextBuffer"><code class="classname">gtk.TextBuffer</code></a>
8
8
can be associated with more than one <a class="link" href="class-gtktextview.html" title="gtk.TextView"><code class="classname">gtk.TextView</code></a> a
9
9
<a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a> 
10
10
can have a different child widget inserted for each textview it is displayed
11
 
in.</p></div><div class="refsect1" lang="en"><a name="constructor-gtktextchildanchor"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.TextChildAnchor</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 new <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a> 
 
11
in.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtktextchildanchor"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtk.TextChildAnchor</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 new <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a> 
12
12
object</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtktextchildanchor.html" title="gtk.TextChildAnchor"><code class="classname">gtk.TextChildAnchor</code></a>. 
13
13
Usually you would then insert it into a <a class="link" href="class-gtktextbuffer.html" title="gtk.TextBuffer"><code class="classname">gtk.TextBuffer</code></a>
14
14
with the <a class="link" href="class-gtktextbuffer.html#method-gtktextbuffer--insert-child-anchor" title="gtk.TextBuffer.insert_child_anchor"><code class="methodname">gtk.TextBuffer.insert_child_anchor</code>()</a> 
15
15
method. To perform the creation and insertion in one step, use the
16
16
convenience method <a class="link" href="class-gtktextbuffer.html#method-gtktextbuffer--create-child-anchor" title="gtk.TextBuffer.create_child_anchor"><code class="methodname">gtk.TextBuffer.create_child_anchor</code>()</a> 
17
 
method.</p></div><div class="refsect1" lang="en"><a name="id3733960"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktextchildanchor--get-widgets"></a><h3>gtk.TextChildAnchor.get_widgets</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_widgets</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 list of widgets anchored at the child
 
17
method.</p></div><div class="refsect1" title="Methods"><a name="id4043978"></a><h2>Methods</h2><div class="refsect2" title="gtk.TextChildAnchor.get_widgets"><a name="method-gtktextchildanchor--get-widgets"></a><h3>gtk.TextChildAnchor.get_widgets</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_widgets</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 list of widgets anchored at the child
18
18
anchor</td></tr></tbody></table><p>The <code class="methodname">get_widgets</code>() method returns a list
19
19
of all widgets anchored at this child anchor from all the associated
20
 
textviews.</p></div><div class="refsect2" lang="en"><a name="method-gtktextchildanchor--get-deleted"></a><h3>gtk.TextChildAnchor.get_deleted</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_deleted</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><code class="literal">True</code> if the child anchor has
 
20
textviews.</p></div><div class="refsect2" title="gtk.TextChildAnchor.get_deleted"><a name="method-gtktextchildanchor--get-deleted"></a><h3>gtk.TextChildAnchor.get_deleted</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_deleted</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><code class="literal">True</code> if the child anchor has
21
21
been deleted from its textbuffer</td></tr></tbody></table><p>The <code class="methodname">get_deleted</code>() method returns
22
22
<code class="literal">True</code> if the child anchor has been deleted from its
23
23
textbuffer.</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-gtktextbuffer.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-gtktextiter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.TextBuffer </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.TextIter</td></tr></table></div></body></html>