File: class-gtksourcemarker.html

package info (click to toggle)
gnome-python-desktop 2.32.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,528 kB
  • ctags: 983
  • sloc: sh: 10,214; xml: 8,851; ansic: 3,428; python: 1,457; makefile: 664
file content (22 lines) | stat: -rw-r--r-- 11,453 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>gtksourceview.SourceMarker</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="Python GtkSourceView Reference Manual"><link rel="up" href="gtksourceview-class-reference.html" title="The GtkSourceView Class Reference"><link rel="prev" href="class-gtksourcelanguagesmanager.html" title="gtksourceview.SourceLanguagesManager"><link rel="next" href="class-gtksourcestylescheme.html" title="gtksourceview.SourceStyleScheme"></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">gtksourceview.SourceMarker</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtksourcelanguagesmanager.html">Prev</a> </td><th width="60%" align="center">The GtkSourceView Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtksourcestylescheme.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtksourceview.SourceMarker"><a name="class-gtksourcemarker"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtksourceview.SourceMarker</h2><p>gtksourceview.SourceMarker — Marker object for <a class="link" href="class-gtksourceview.html" title="gtksourceview.SourceView">gtksourceview.SourceView</a></p></div><div class="refsect1" title="Synopsis"><a name="id2568935"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtksourceview.SourceMarker</span></span>(<span class="ooclass"><span class="classname">gtk.TextMark</span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtksourcemarker.html#constructor-gtksourcemarker" title="Constructor">gtksourceview.SourceMarker</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--set-marker-type" title="gtksourceview.SourceMarker.set_marker_type">set_marker_type</a></span>(<span class="methodparam">type</span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--get-marker-type" title="gtksourceview.SourceMarker.get_marker_type">get_marker_type</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--get-line" title="gtksourceview.SourceMarker.get_line">get_line</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--get-name" title="gtksourceview.SourceMarker.get_name">get_name</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--get-buffer" title="gtksourceview.SourceMarker.get_buffer">get_buffer</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--next" title="gtksourceview.SourceMarker.next">next</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcemarker.html#method-gtksourcemarker--prev" title="gtksourceview.SourceMarker.prev">prev</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2583365"></a><h2>Ancestry</h2><pre class="synopsis">+-- gobject.GObject
  +-- <a class="link" href="class-gtksourcemarker.html" title="gtksourceview.SourceMarker">gtksourceview.SourceMarker</a>
</pre></div><div class="refsect1" title="Description"><a name="description-gtktextmarker"></a><h2>Description</h2><p>

</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtksourcemarker"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtksourceview.SourceMarker</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></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"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtksourcemarker.html" title="gtksourceview.SourceMarker"><code class="classname">gtksourceview.SourceMarker</code></a>.</td></tr></tbody></table><p>
    Creates a new <a class="link" href="class-gtksourcemarker.html" title="gtksourceview.SourceMarker"><code class="classname">gtksourceview.SourceMarker</code></a> object.
  </p></div><div class="refsect1" title="Methods"><a name="id2565745"></a><h2>Methods</h2><div class="refsect2" title="gtksourceview.SourceMarker.set_marker_type"><a name="method-gtksourcemarker--set-marker-type"></a><h3>gtksourceview.SourceMarker.set_marker_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_marker_type</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>type</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>type</code></strong> :</span></p></td><td>	the type of marker.</td></tr></tbody></table><p>
      The <code class="methodname">set_marker_type</code>() method sets the type of marker to the value of <em class="parameter"><code>type</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.get_marker_type"><a name="method-gtksourcemarker--get-marker-type"></a><h3>gtksourceview.SourceMarker.get_marker_type</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_marker_type</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> the marker type.</td></tr></tbody></table><p>
      The <code class="methodname">get_marker_type</code>() method gets the marker type of this <em class="parameter"><code>marker</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.get_line"><a name="method-gtksourcemarker--get-line"></a><h3>gtksourceview.SourceMarker.get_line</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_line</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> the line number.</td></tr></tbody></table><p>
      The <code class="methodname">get_line</code>() method gets the line number of this <em class="parameter"><code>marker</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.get_name"><a name="method-gtksourcemarker--get-name"></a><h3>gtksourceview.SourceMarker.get_name</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_name</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> the name.</td></tr></tbody></table><p>
      The <code class="methodname">get_name</code>() method gets the name of this <em class="parameter"><code>marker</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.get_buffer"><a name="method-gtksourcemarker--get-buffer"></a><h3>gtksourceview.SourceMarker.get_buffer</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_buffer</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> the <a class="link" href="class-gtksourcebuffer.html" title="gtksourceview.SourceBuffer"><code class="classname">gtksourceview.SourceBuffer</code></a>.</td></tr></tbody></table><p>
      The <code class="methodname">get_buffer</code>() method gets the buffer associated with this <em class="parameter"><code>marker</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.next"><a name="method-gtksourcemarker--next"></a><h3>gtksourceview.SourceMarker.next</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">next</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 <a class="link" href="class-gtksourcemarker.html" title="gtksourceview.SourceMarker"><code class="classname">gtksourceview.SourceMarker</code></a>.</td></tr></tbody></table><p>
      The <code class="methodname">next</code>() method gets the next marker after <em class="parameter"><code>marker</code></em>.
	  </p></div><div class="refsect2" title="gtksourceview.SourceMarker.prev"><a name="method-gtksourcemarker--prev"></a><h3>gtksourceview.SourceMarker.prev</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">prev</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 <a class="link" href="class-gtksourcemarker.html" title="gtksourceview.SourceMarker"><code class="classname">gtksourceview.SourceMarker</code></a>.</td></tr></tbody></table><p>
      The <code class="methodname">prev</code>() method gets the previous marker before <em class="parameter"><code>marker</code></em>.
	  </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-gtksourcelanguagesmanager.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtksourceview-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtksourcestylescheme.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtksourceview.SourceLanguagesManager </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtksourceview.SourceStyleScheme</td></tr></table></div></body></html>