Offset 1, 14 lines modified |
Offset 1, 14 lines modified |
1 |
<html><head><meta·http-equiv="Content-Type"·content="text/html;·charset=utf-8"><title>gtkspell.Spell</title><link·rel="stylesheet"·type="text/css"·href="style.css"><meta·name="generator"·content="DocBook·XSL·Stylesheets·V1.78.1"><link·rel="home"·href="index.html"·title="Python·GtkSpell·Reference·Manual"><link·rel="up"·href="gtkspell-class-reference.html"·title="The·PyGtkSpell·Class·Reference"><link·rel="prev"·href="gtkspell-class-reference.html"·title="The·PyGtkSpell·Class·Reference"></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">gtkspell.Spell</th></tr><tr><td·width="20%"·align="left"><a·accesskey="p"·href="gtkspell-class-reference.html">Prev</a> </td><th·width="60%"·align="center">The·PyGtkSpell·Class·Reference</th><td·width="20%"·align="right"> </td></tr></table><hr></div><div·class="refentry"><a·name="class-gtkspell"></a><div·class="titlepage"></div><div·class·✂
|
1 |
<html><head><meta·http-equiv="Content-Type"·content="text/html;·charset=utf-8"><title>gtkspell.Spell</title><link·rel="stylesheet"·type="text/css"·href="style.css"><meta·name="generator"·content="DocBook·XSL·Stylesheets·V1.78.1"><link·rel="home"·href="index.html"·title="Python·GtkSpell·Reference·Manual"><link·rel="up"·href="gtkspell-class-reference.html"·title="The·PyGtkSpell·Class·Reference"><link·rel="prev"·href="gtkspell-class-reference.html"·title="The·PyGtkSpell·Class·Reference"></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">gtkspell.Spell</th></tr><tr><td·width="20%"·align="left"><a·accesskey="p"·href="gtkspell-class-reference.html">Prev</a> </td><th·width="60%"·align="center">The·PyGtkSpell·Class·Reference</th><td·width="20%"·align="right"> </td></tr></table><hr></div><div·class="refentry"><a·name="class-gtkspell"></a><div·class="titlepage"></div><div·class·✂
|
2 |
href="../pygtk/class-gtktextview.html"
|
2 |
href="../pygtk/class-gtktextview.html"
|
3 |
>gtk.TextView</a></p></div><div·class="refsect1"><a·name="idm140627766857312"></a><h2>Synopsis</h2><table·bgcolor="#D0E0F0"·width="100%"><tr><td><pre·class="classsynopsis">class·<span·class="ooclass"><span·class="classname">gtkspell.Spell</span></span>(<span·class="ooclass"><span·class="classname"></span></span>):
|
3 |
>gtk.TextView</a></p></div><div·class="refsect1"><a·name="idm140485669836352"></a><h2>Synopsis</h2><table·bgcolor="#D0E0F0"·width="100%"><tr><td><pre·class="classsynopsis">class·<span·class="ooclass"><span·class="classname">gtkspell.Spell</span></span>(<span·class="ooclass"><span·class="classname"></span></span>):
|
4 |
<code·class="constructorsynopsis">····<span·class="methodname"><a·class="link"·href="class-gtkspell.html#constructor-gtkspell"·title="Constructor">gtkspell.Spell</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>text</code></strong></span></span>,·<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>language</code></strong></span><span·class="initializer">=None</span></span>)</code><br><code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#method-gtkspell--set-language"·title="gtkspell.Spell.set_language">set_language</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</code></strong></span></span>)</code><br><code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#method-gtkspell--recheck-all"·title="gtkspell.Spell.recheck_all">recheck_all</a></span>(<span·class="methodparam"></span>)</code><br><co·✂
|
4 |
<code·class="constructorsynopsis">····<span·class="methodname"><a·class="link"·href="class-gtkspell.html#constructor-gtkspell"·title="Constructor">gtkspell.Spell</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>text</code></strong></span></span>,·<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>language</code></strong></span><span·class="initializer">=None</span></span>)</code><br><code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#method-gtkspell--set-language"·title="gtkspell.Spell.set_language">set_language</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</code></strong></span></span>)</code><br><code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#method-gtkspell--recheck-all"·title="gtkspell.Spell.recheck_all">recheck_all</a></span>(<span·class="methodparam"></span>)</code><br><co·✂
|
5 |
<span·class="bold"><strong>Functions</strong></span>
|
5 |
<span·class="bold"><strong>Functions</strong></span>
|
|
|
6 |
<code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#function-gtkspell--get-from-text-view"·title="gtkspell.get_from_text_view">gtkspell.get_from_text_view</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>view</code></strong></span></span>)</code></pre></div><div·class="refsect1"><a·name="idm140627773861520"></a><h2>Ancestry</h2><pre·class="synopsis">+--·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell">gtkspell</a>
|
6 |
<code·class="methodsynopsis">····def·<span·class="methodname"><a·class="link"·href="class-gtkspell.html#function-gtkspell--get-from-text-view"·title="gtkspell.get_from_text_view">gtkspell.get_from_text_view</a></span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>view</code></strong></span></span>)</code></pre></div><div·class="refsect1"><a·name="idm140485677817136"></a><h2>Ancestry</h2><pre·class="synopsis">+--·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell">gtkspell</a>
|
7 |
</pre></div><div·class="refsect1"><a·name="description-gtkspell"></a><h2>Description</h2><p>
|
7 |
</pre></div><div·class="refsect1"><a·name="description-gtkspell"></a><h2>Description</h2><p>
|
8 |
The·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>
|
8 |
The·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>
|
9 |
used·in·concert·with·<a
|
9 |
used·in·concert·with·<a
|
10 |
href="../pygtk/class-gtktextview.html"
|
10 |
href="../pygtk/class-gtktextview.html"
|
11 |
><code·class="classname">gtk.TextView</code></a>·
|
11 |
><code·class="classname">gtk.TextView</code></a>·
|
12 |
provides·mis-spelled·word·highlighting·in·red·and·offers·a·right·click·pop-up·menu·with·suggested·corrections.
|
12 |
provides·mis-spelled·word·highlighting·in·red·and·offers·a·right·click·pop-up·menu·with·suggested·corrections.
|
13 |
</p></div><div·class="refsect1"><a·name="constructor-gtkspell"></a><h2>Constructor</h2><pre·class="programlisting"><code·class="constructorsynopsis">····<span·class="methodname">gtkspell.Spell</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>text</code></strong></span></span>,·<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</code></strong></span><span·class="initializer">=None</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>text</code></strong> :</span></p></td><td>a·<a
|
13 |
</p></div><div·class="refsect1"><a·name="constructor-gtkspell"></a><h2>Constructor</h2><pre·class="programlisting"><code·class="constructorsynopsis">····<span·class="methodname">gtkspell.Spell</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>text</code></strong></span></span>,·<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</code></strong></span><span·class="initializer">=None</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>text</code></strong> :</span></p></td><td>a·<a
|
Offset 16, 30 lines modified |
Offset 16, 30 lines modified |
16 |
><code·class="classname">gtk.TextView</code></a></td></tr><tr><td><p><span·class="term"><strong·class="parameter"><code>lang</code></strong> :</span></p></td><td>the·language·to·use,·in·a·form·like·"en_US"·
|
16 |
><code·class="classname">gtk.TextView</code></a></td></tr><tr><td><p><span·class="term"><strong·class="parameter"><code>lang</code></strong> :</span></p></td><td>the·language·to·use,·in·a·form·like·"en_US"·
|
17 |
········or·<code·class="literal">None</code></td></tr><tr><td><p><span·class="term"><span·class="emphasis"><em>Returns</em></span> :</span></p></td><td>a·new·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>.
|
17 |
········or·<code·class="literal">None</code></td></tr><tr><td><p><span·class="term"><span·class="emphasis"><em>Returns</em></span> :</span></p></td><td>a·new·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>.
|
18 |
········</td></tr></tbody></table><p>
|
18 |
········</td></tr></tbody></table><p>
|
19 |
····Creates·a·new·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object.
|
19 |
····Creates·a·new·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object.
|
20 |
··</p><div·class="note"·style="margin-left:·0.5in;·margin-right:·0.5in;"><h3·class="title">Note</h3>
|
20 |
··</p><div·class="note"·style="margin-left:·0.5in;·margin-right:·0.5in;"><h3·class="title">Note</h3>
|
21 |
····If·<em·class="parameter"><code>lang</code></em>·is·<code·class="literal">None</code>·then·$LANG·will·be·used,·if·also·$LANG·is·<code·class="literal">None</code>·
|
21 |
····If·<em·class="parameter"><code>lang</code></em>·is·<code·class="literal">None</code>·then·$LANG·will·be·used,·if·also·$LANG·is·<code·class="literal">None</code>·
|
22 |
····or·not·valid·then·English·will·be·used·as·default.
|
22 |
····or·not·valid·then·English·will·be·used·as·default.
|
23 |
··</div></div><div·class="refsect1"><a·name="idm140627774298976"></a><h2>Methods</h2><div·class="refsect2"><a·name="method-gtkspell--set-language"></a><h3>gtkspell.Spell.set_language</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">set_language</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</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>lang</code></strong> :</span></p></td><td>the·language·to·use·in·the·form·"en_US".</td></tr></tbody></table><p>
|
23 |
··</div></div><div·class="refsect1"><a·name="idm140485677752960"></a><h2>Methods</h2><div·class="refsect2"><a·name="method-gtkspell--set-language"></a><h3>gtkspell.Spell.set_language</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">set_language</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>lang</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>lang</code></strong> :</span></p></td><td>the·language·to·use·in·the·form·"en_US".</td></tr></tbody></table><p>
|
24 |
······The·<code·class="methodname">set_language</code>()·method·set·the·language·that·have·to·be·used·while·checking·for·mispelled·words.
|
24 |
······The·<code·class="methodname">set_language</code>()·method·set·the·language·that·have·to·be·used·while·checking·for·mispelled·words.
|
25 |
» ··</p></div><div·class="refsect2"><a·name="method-gtkspell--recheck-all"></a><h3>gtkspell.Spell.recheck_all</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">recheck_all</span>(<span·class="methodparam"></span>)</code></pre><p>
|
25 |
» ··</p></div><div·class="refsect2"><a·name="method-gtkspell--recheck-all"></a><h3>gtkspell.Spell.recheck_all</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">recheck_all</span>(<span·class="methodparam"></span>)</code></pre><p>
|
26 |
······The·<code·class="methodname">recheck_all</code>()·method·recheck·the·spelling·in·the·entire·buffer.
|
26 |
······The·<code·class="methodname">recheck_all</code>()·method·recheck·the·spelling·in·the·entire·buffer.
|
27 |
····</p></div><div·class="refsect2"><a·name="method-gtkspell--detach"></a><h3>gtkspell.Spell.detach</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">detach</span>(<span·class="methodparam"></span>)</code></pre><p>
|
27 |
····</p></div><div·class="refsect2"><a·name="method-gtkspell--detach"></a><h3>gtkspell.Spell.detach</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">detach</span>(<span·class="methodparam"></span>)</code></pre><p>
|
28 |
······The·<code·class="methodname">detach</code>()·method·detaches·this·
|
28 |
······The·<code·class="methodname">detach</code>()·method·detaches·this·
|
29 |
······<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·
|
29 |
······<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·
|
30 |
······from·its·<a
|
30 |
······from·its·<a
|
31 |
href="../pygtk/class-gtktextview.html"
|
31 |
href="../pygtk/class-gtktextview.html"
|
32 |
><code·class="classname">gtk.TextView</code></a>,·use·the·function·
|
32 |
><code·class="classname">gtk.TextView</code></a>,·use·the·function·
|
33 |
······<code·class="methodname"><a·class="link"·href="class-gtkspell.html#function-gtkspell--get-from-text-view"·title="gtkspell.get_from_text_view">gtkspell.get_from_text_view</a></code>·
|
33 |
······<code·class="methodname"><a·class="link"·href="class-gtkspell.html#function-gtkspell--get-from-text-view"·title="gtkspell.get_from_text_view">gtkspell.get_from_text_view</a></code>·
|
34 |
······to·retrieve·a·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·from·a·
|
34 |
······to·retrieve·a·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·from·a·
|
35 |
······<a
|
35 |
······<a
|
36 |
href="../pygtk/class-gtktextview.html"
|
36 |
href="../pygtk/class-gtktextview.html"
|
37 |
><code·class="classname">gtk.TextView</code></a>.
|
37 |
><code·class="classname">gtk.TextView</code></a>.
|
38 |
» ··</p></div></div><div·class="refsect1"><a·name="idm140627767565744"></a><h2>Functions</h2><div·class="refsect2"><a·name="function-gtkspell--get-from-text-view"></a><h3>gtkspell.get_from_text_view</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">gtkspell.get_from_text_view</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>view</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>view</code></strong> :</span></p></td><td>·a·<a
|
38 |
» ··</p></div></div><div·class="refsect1"><a·name="idm140485671126096"></a><h2>Functions</h2><div·class="refsect2"><a·name="function-gtkspell--get-from-text-view"></a><h3>gtkspell.get_from_text_view</h3><pre·class="programlisting"><code·class="methodsynopsis">····def·<span·class="methodname">gtkspell.get_from_text_view</span>(<span·class="methodparam"><span·class="parameter"><strong·class="parameter"><code>view</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>view</code></strong> :</span></p></td><td>·a·<a
|
39 |
href="../pygtk/class-gtktextview.html"
|
39 |
href="../pygtk/class-gtktextview.html"
|
40 |
><code·class="classname">gtk.TextView</code></a>.
|
40 |
><code·class="classname">gtk.TextView</code></a>.
|
41 |
········</td></tr><tr><td><p><span·class="term"><span·class="emphasis"><em>Returns</em></span> :</span></p></td><td>·the·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object·
|
41 |
········</td></tr><tr><td><p><span·class="term"><span·class="emphasis"><em>Returns</em></span> :</span></p></td><td>·the·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object·
|
42 |
··········or·<code·class="literal">None</code>·if·there·is·no·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·
|
42 |
··········or·<code·class="literal">None</code>·if·there·is·no·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·
|
43 |
··········attached·to·<em·class="parameter"><code>view</code></em>.</td></tr></tbody></table><p>
|
43 |
··········attached·to·<em·class="parameter"><code>view</code></em>.</td></tr></tbody></table><p>
|
44 |
········Retrieves·the·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object·attached·to·a·text·view.
|
44 |
········Retrieves·the·<a·class="link"·href="class-gtkspell.html"·title="gtkspell.Spell"><code·class="classname">gtkspell.Spell</code></a>·object·attached·to·a·text·view.
|
45 |
······</p></div></div></div><div·class="navfooter"><hr><table·width="100%"·summary="Navigation·footer"><tr><td·width="40%"·align="left"><a·accesskey="p"·href="gtkspell-class-reference.html">Prev</a> </td><td·width="20%"·align="center"><a·accesskey="u"·href="gtkspell-class-reference.html">Up</a></td><td·width="40%"·align="right"> </td></tr><tr><td·width="40%"·align="left"·valign="top">The·PyGtkSpell·Class·Reference </td><td·width="20%"·align="center"><a·accesskey="h"·href="index.html">Home</a></td><td·width="40%"·align="right"·valign="top"> </td></tr></table></div></body></html>
|
45 |
······</p></div></div></div><div·class="navfooter"><hr><table·width="100%"·summary="Navigation·footer"><tr><td·width="40%"·align="left"><a·accesskey="p"·href="gtkspell-class-reference.html">Prev</a> </td><td·width="20%"·align="center"><a·accesskey="u"·href="gtkspell-class-reference.html">Up</a></td><td·width="40%"·align="right"> </td></tr><tr><td·width="40%"·align="left"·valign="top">The·PyGtkSpell·Class·Reference </td><td·width="20%"·align="center"><a·accesskey="h"·href="index.html">Home</a></td><td·width="40%"·align="right"·valign="top"> </td></tr></table></div></body></html>
|