File: class-gtksourcetagtable.html

package info (click to toggle)
gnome-python-desktop 2.14.0-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,684 kB
  • ctags: 711
  • sloc: xml: 8,851; sh: 8,693; ansic: 2,137; python: 1,016; makefile: 438
file content (20 lines) | stat: -rw-r--r-- 8,502 bytes parent folder | download
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=ISO-8859-1"><title>gtksourceview.SourceTagTable</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Python GtkSourceView Reference Manual"><link rel="up" href="gtksourcesview-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" lang="en"><a name="class-gtksourcetagtable"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtksourceview.SourceTagTable</h2><p>gtksourceview.SourceTagTable &#8212; Text Tag Table object for <a href="class-gtksourceview.html" title="gtksourceview.SourceView">gtksourceview.SourceView</a></p></div><div class="refsect1" lang="en"><a name="id2469678"></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 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 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 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" lang="en"><a name="id2535849"></a><h2>Ancestry</h2><pre class="synopsis">+-- gobject.GObject
  +-- gtk.TextTagTable
    +-- <a href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable">gtksourceview.SourceTagTable</a>
</pre></div><div class="refsect1" lang="en"><a name="id2535889"></a><h2>Signal Prototypes</h2><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><span class="term">"<a href="class-gtksourcetagtable.html#signal-gtksourcetagtable--changed" title='The "changed" gtksourceview.SourceTagTable Signal'>"changed"</a>"</span></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" lang="en"><a name="description-gtksourcetagtable"></a><h2>Description</h2><p>

</p></div><div class="refsect1" lang="en"><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><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></td><td>a new <a href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"><code class="classname">gtksourceview.SourceTagTable</code></a>.</td></tr></tbody></table><p>
    Creates a new <a href="class-gtksourcetagtable.html" title="gtksourceview.SourceTagTable"><code class="classname">gtksourceview.SourceTagTable</code></a> object.
  </p></div><div class="refsect1" lang="en"><a name="id2569741"></a><h2>Methods</h2><div class="refsect2" lang="en"><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><span class="term"><strong class="parameter"><code>tags</code></strong>:</span></td><td> a list conteining 
      <a 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" lang="en"><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" lang="en"><a name="id2563797"></a><h2>Signals</h2><div class="refsect2" lang="en"><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><span class="term"><em class="parameter"><code>sourcetagtable</code></em>:</span></td><td>the sourcetagtable that received the signal</td></tr><tr><td><span class="term"><em class="parameter"><code>user_param1</code></em>:</span></td><td>the first user parameter (if any) specified with the 
          <code class="methodname">connect</code>() method</td></tr><tr><td><span class="term"><em class="parameter"><code>...</code></em>:</span></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="gtksourcesview-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>