File: class-gtksourcetag.html

package info (click to toggle)
gnome-python-desktop 2.32.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,548 kB
  • sloc: sh: 10,214; xml: 8,851; ansic: 3,428; python: 1,457; makefile: 664
file content (18 lines) | stat: -rw-r--r-- 7,733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>gtksourceview.SourceTag</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-gtksourcestylescheme.html" title="gtksourceview.SourceStyleScheme"><link rel="next" href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"></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.SourceTag</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtksourcestylescheme.html">Prev</a> </td><th width="60%" align="center">The GtkSourceView Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtksourcetagtable.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtksourceview.SourceTag"><a name="class-gtksourcetag"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtksourceview.SourceTag</h2><p>gtksourceview.SourceTag — Tag object for <a class="link" href="class-gtksourceview.html" title="gtksourceview.SourceView">gtksourceview.SourceView</a></p></div><div class="refsect1" title="Synopsis"><a name="id2569592"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtksourceview.SourceTag</span></span>(<span class="ooclass"><span class="classname">gtk.TextTag</span></span>):
<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcetag.html#method-gtksourcetag--get-id" title="gtksourceview.SourceTag.get_id">get_id</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcetag.html#method-gtksourcetag--get-style" title="gtksourceview.SourceTag.get_style">get_style</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcetag.html#method-gtksourcetag--set-style" title="gtksourceview.SourceTag.set_style">set_style</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>style</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2605561"></a><h2>Ancestry</h2><pre class="synopsis">+-- gobject.GObject
  +-- gtk.TextTag
    +-- <a class="link" href="class-gtksourcetag.html" title="gtksourceview.SourceTag">gtksourceview.SourceTag</a>
      +-- gtksourceview.SourceSyntaxTag
      +-- gtksourceview.SourcePatternTag
</pre></div><div class="refsect1" title="Properties"><a name="id2605615"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"id"</td><td valign="top">Read-Write</td><td valign="top">ID used to refer to the source tag.</td></tr><tr valign="top"><td valign="top">"tag-style"</td><td valign="top">Read-Write</td><td valign="top">The style associated to the source tag.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="description-gtksourcetag"></a><h2>Description</h2><p>

</p></div><div class="refsect1" title="Constructors"><a name="constructor-gtksourcetag"></a><h2>Constructors</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtksourceview.SourceTag</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-gtksourcetag.html" title="gtksourceview.SourceTag"><code class="classname">gtksourceview.SourceTag</code></a>.</td></tr></tbody></table><p>
    Creates a new <a class="link" href="class-gtksourcetag.html" title="gtksourceview.SourceTag"><code class="classname">gtksourceview.SourceTag</code></a>.
  </p></div><div class="refsect1" title="Methods"><a name="id2586451"></a><h2>Methods</h2><div class="refsect2" title="gtksourceview.SourceTag.get_id"><a name="method-gtksourcetag--get-id"></a><h3>gtksourceview.SourceTag.get_id</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_id</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>.......</td></tr></tbody></table><p>
    The <code class="methodname">get_id</code>() method .....
	</p></div><div class="refsect2" title="gtksourceview.SourceTag.get_style"><a name="method-gtksourcetag--get-style"></a><h3>gtksourceview.SourceTag.get_style</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_style</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-gtksourcetagstyle.html" title="gtksourceview.SourceTagStyle"><code class="classname">gtksourceview.SourceTagStyle</code></a> 
        if found, or <code class="literal">None</code> if not found.</td></tr></tbody></table><p>
      The <code class="methodname">get_style</code>() method gets the style associated with the tag.
    </p></div><div class="refsect2" title="gtksourceview.SourceTag.set_style"><a name="method-gtksourcetag--set-style"></a><h3>gtksourceview.SourceTag.set_style</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_style</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>style</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>style</code></strong> :</span></p></td><td> the <a class="link" href="class-gtksourcetagstyle.html" title="gtksourceview.SourceTagStyle"><code class="classname">gtksourceview.SourceTagStyle</code></a>.</td></tr></tbody></table><p>
      The <code class="methodname">set_style</code>() Associates a given <em class="parameter"><code>style</code></em> with the current tag.
	  </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-gtksourcestylescheme.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-gtksourcetagtable.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtksourceview.SourceStyleScheme </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtksourceview.SourceTagTable</td></tr></table></div></body></html>