File: class-gtksourcetagtable.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 (20 lines) | stat: -rw-r--r-- 8,878 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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>gtksourceview.SourceTagTable</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-gtksourcetag.html" title="gtksourceview.SourceTag"><link rel="next" href="class-gtksourcetagstyle.html" title="gtksourceview.SourceTagStyle"></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.SourceTagTable</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtksourcetag.html">Prev</a> </td><th width="60%" align="center">The GtkSourceView Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtksourcetagstyle.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtksourceview.SourceTagTable"><a name="class-gtksourcetagtable"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtksourceview.SourceTagTable</h2><p>gtksourceview.SourceTagTable — Text Tag Table object for <a class="link" href="class-gtksourceview.html" title="gtksourceview.SourceView">gtksourceview.SourceView</a></p></div><div class="refsect1" title="Synopsis"><a name="id2573443"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtksourceview.SourceTagTable</span></span>(<span class="ooclass"><span class="classname">gtk.TextTagTable</span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtksourcetagtable.html#constructor-gtksourcetagtable" title="Constructor">gtksourceview.SourceTagTable</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-gtksourcetagtable.html#method-gtksourcetagtable--add-tags" title="gtksourceview.SourceTagTable.add_tags">add_tags</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>tags</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcetagtable.html#method-gtksourcetagtable--remove-source-tags" title="gtksourceview.SourceTagTable.remove_source_tags">remove_source_tags</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id2606415"></a><h2>Ancestry</h2><pre class="synopsis">+-- gobject.GObject
  +-- gtk.TextTagTable
    +-- <a class="link" href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable">gtksourceview.SourceTagTable</a>
</pre></div><div class="refsect1" title="Signal Prototypes"><a name="id2606454"></a><h2>Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term">"<a class="link" href="class-gtksourcetagtable.html#signal-gtksourcetagtable--changed" title='The "changed" gtksourceview.SourceTagTable Signal'>"changed"</a>"</span></p></td><td><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>sourcetagtable</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></span></span>)</code></td></tr></tbody></table></div><div class="refsect1" title="Description"><a name="description-gtksourcetagtable"></a><h2>Description</h2><p>

</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtksourcetagtable"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtksourceview.SourceTagTable</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-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"><code class="classname">gtksourceview.SourceTagTable</code></a>.</td></tr></tbody></table><p>
    Creates a new <a class="link" href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"><code class="classname">gtksourceview.SourceTagTable</code></a> object.
  </p></div><div class="refsect1" title="Methods"><a name="id2606305"></a><h2>Methods</h2><div class="refsect2" title="gtksourceview.SourceTagTable.add_tags"><a name="method-gtksourcetagtable--add-tags"></a><h3>gtksourceview.SourceTagTable.add_tags</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">add_tags</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>tags</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>tags</code></strong> :</span></p></td><td> a list conteining 
      <a class="link" href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"><code class="classname">gtksourceview.SourceTag</code></a> objects.</td></tr></tbody></table><p>
      The <code class="methodname">set_check_brackets</code>() method Add a list of tag to the table. 
      The added tags are assigned the highest priority in the table.
      If a tag is already present in table or has the same name as an already-added tag, then it is not added to the table.
	  </p></div><div class="refsect2" title="gtksourceview.SourceTagTable.remove_source_tags"><a name="method-gtksourcetagtable--remove-source-tags"></a><h3>gtksourceview.SourceTagTable.remove_source_tags</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">remove_source_tags</span>(<span class="methodparam"></span>)</code></pre><p>
      The <code class="methodname">remove_source_tags</code>() method removes all the source tags from the table. 
      This will remove the table's reference to the tags, so be careful - tags will end up destroyed if you don't have a reference to them.
    </p></div></div><div class="refsect1" title="Signals"><a name="id2604159"></a><h2>Signals</h2><div class="refsect2" title='The "changed" gtksourceview.SourceTagTable Signal'><a name="signal-gtksourcetagtable--changed"></a><h3>The "changed" gtksourceview.SourceTagTable Signal</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">callback</span>(<span class="methodparam"><span class="parameter"><em class="parameter"><code>sourcetagtable</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>user_param1</code></em></span></span>, <span class="methodparam"><span class="parameter"><em class="parameter"><code>...</code></em></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"><em class="parameter"><code>sourcetagtable</code></em> :</span></p></td><td>the sourcetagtable that received the signal</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_param1</code></em> :</span></p></td><td>the first user parameter (if any) specified with the 
          <code class="methodname">connect</code>() method</td></tr><tr><td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td><td>additional user parameters (if any)</td></tr></tbody></table><p>
      The "changed" signal is emitted when ....
    </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-gtksourcetag.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-gtksourcetagstyle.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtksourceview.SourceTag </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtksourceview.SourceTagStyle</td></tr></table></div></body></html>