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

« back to all changes in this revision

Viewing changes to docs/html/class-gtktextmark.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>gtk.TextMark</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-gtktextiter.html" title="gtk.TextIter"><link rel="next" href="class-gtktexttag.html" title="gtk.TextTag"></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.TextMark</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtktextiter.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtktexttag.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="class-gtktextmark"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.TextMark</h2><p>gtk.TextMark — a position in a textbuffer that is preserved across
2
 
textbuffer modifications</p></div><div class="refsect1" lang="en"><a name="id3719873"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TextMark</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
3
 
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--set-visible" title="gtk.TextMark.set_visible">set_visible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-visible" title="gtk.TextMark.get_visible">get_visible</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-name" title="gtk.TextMark.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-deleted" title="gtk.TextMark.get_deleted">get_deleted</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-buffer" title="gtk.TextMark.get_buffer">get_buffer</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-left-gravity" title="gtk.TextMark.get_left_gravity">get_left_gravity</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3720032"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
 
2
textbuffer modifications</p></div><div class="refsect1" lang="en"><a name="id3920780"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.TextMark</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
 
3
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--set-visible" title="gtk.TextMark.set_visible">set_visible</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-visible" title="gtk.TextMark.get_visible">get_visible</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-name" title="gtk.TextMark.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-deleted" title="gtk.TextMark.get_deleted">get_deleted</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-buffer" title="gtk.TextMark.get_buffer">get_buffer</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtktextmark.html#method-gtktextmark--get-left-gravity" title="gtk.TextMark.get_left_gravity">get_left_gravity</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" lang="en"><a name="id3920939"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
4
4
  +-- <a class="link" href="class-gtktextmark.html" title="gtk.TextMark">gtk.TextMark</a>
5
 
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtktextmark"></a><h2>gtk.TextMark Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id3720078"></a><h2>Description</h2><p>A <a class="link" href="class-gtktextmark.html" title="gtk.TextMark"><code class="classname">gtk.TextMark</code></a> is
 
5
</pre></div><div class="refsect1" lang="en"><a name="signal-prototypes-gtktextmark"></a><h2>gtk.TextMark Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p></div><div class="refsect1" lang="en"><a name="id3920985"></a><h2>Description</h2><p>A <a class="link" href="class-gtktextmark.html" title="gtk.TextMark"><code class="classname">gtk.TextMark</code></a> is
6
6
like a bookmark in a textbuffer - it preserves a position in the text. You
7
7
can get an iterator corresponding to a textmark by using the <a class="link" href="class-gtktextbuffer.html#method-gtktextbuffer--get-iter-at-mark" title="gtk.TextBuffer.get_iter_at_mark"><code class="methodname">gtk.TextBuffer.get_iter_at_mark</code>()</a> 
8
8
method. Unlike iterators, textmarks remain valid across buffer modifications
17
17
has two built-in <a class="link" href="class-gtktextmark.html" title="gtk.TextMark"><code class="classname">gtk.TextMark</code></a>
18
18
objects named: <code class="literal">insert</code> and
19
19
<code class="literal">selection_bound</code> which refer to the insertion point and
20
 
the boundary of the selection (these may refer to the same location).</p></div><div class="refsect1" lang="en"><a name="id3720162"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktextmark--set-visible"></a><h3>gtk.TextMark.set_visible</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_visible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>setting</code></strong> :</span></p></td><td>if <code class="literal">True</code> the textmark is
 
20
the boundary of the selection (these may refer to the same location).</p></div><div class="refsect1" lang="en"><a name="id3921069"></a><h2>Methods</h2><div class="refsect2" lang="en"><a name="method-gtktextmark--set-visible"></a><h3>gtk.TextMark.set_visible</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_visible</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>setting</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>setting</code></strong> :</span></p></td><td>if <code class="literal">True</code> the textmark is
21
21
visible</td></tr></tbody></table><p> The <code class="methodname">set_visible</code>() method sets the
22
22
visibility of the textmark to the value specified by
23
23
<em class="parameter"><code>setting</code></em>. If <em class="parameter"><code>setting</code></em> is