1Gtk2::Spell(3) User Contributed Perl Documentation Gtk2::Spell(3)
2
3
4
6 Gtk2::Spell - (DEPRECATED) Bindings for GtkSpell with Gtk2
7
9 use Gtk2;
10 use Gtk2::Spell;
11
12 $txtview = Gtk2::TextView->new;
13 $spell = Gtk2::Spell->new_attach($txtview);
14 $spell2 = Gtk2::Spell->get_from_text_view($txtview);
15 # $spell2 will be the same object as $spell
16 $spell->set_language(SOME_LANG);
17 $spell->recheck_all;
18 $spell->detach;
19
21 DEPRECATED Perl bindings to GtkSpell, used in concert with
22 Gtk2::TextView.
23
25 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
26
27 This module has been deprecated by the Gtk-Perl project. This means
28 that the module will no longer be updated with security patches, bug
29 fixes, or when changes are made in the Perl ABI. The Git repo for this
30 module has been archived (made read-only), it will no longer possible
31 to submit new commits to it. You are more than welcome to ask about
32 this module on the Gtk-Perl mailing list, but our priorities going
33 forward will be maintaining Gtk-Perl modules that are supported and
34 maintained upstream; this module is neither.
35
36 Since this module is licensed under the LGPL v2.1, you may also fork
37 this module, if you wish, but you will need to use a different name for
38 it on CPAN, and the Gtk-Perl team requests that you use your own
39 resources (mailing list, Git repos, bug trackers, etc.) to maintain
40 your fork going forward.
41
42 • Perl URL: https://gitlab.gnome.org/GNOME/perl-gtk2-spell
43
44 • Upstream URL: http://gtkspell.sourceforge.net/
45
46 • Last upstream version: 2.0.16
47
48 • Last upstream release date: 2009-10-22
49
50 • Migration path for this module: G:O:I
51
52 • Migration module URL:
53 https://metacpan.org/pod/Glib::Object::Introspection
54
55 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
56
57 Perl bindings to GtkSpell, used in concert with Gtk2::TextView.
58 Provides mis-spelled word highlighting in red and offers a right click
59 pop-up menu with suggested corrections.
60
62 $spell = Gtk2::Spell->new(GTK2_TEXT_VIEW)
63 $spell = Gtk2::Spell->new_attach(GTK2_TEXT_VIEW)
64 Creates and returns a new Gtk2::Spell object attached to
65 GTK2_TEXT_VIEW.
66
67 $spell->set_language(LANG_STR)
68 Sets the language which the underlying spell-checker will use.
69 According to the GtkSpell API reference this 'appears to be a
70 locale specifier.'
71
72 $spell->recheck_all
73 Rechecks the spelling of the entire text view buffer.
74
75 Gtk2::Spell->get_from_text_view(GTK2_TEXT_VIEW)
76 Returns the Gtk2::Spell object attached to the given
77 Gtk2::TextBuffer or undef if there isn't one attached.
78
79 $spell->detach
80 Detaches the Gtk2::Spell from it's associated text view.
81
83 perl(1), Glib(1), Gtk2(1).
84
86 rwmcfa1 <rwmcfa1@neces.com>
87
89 Copyright 2003 by rwmcfa1
90
91 Copyright 2003 by the gtk2-perl team.
92
93 This library is free software; you can redistribute it and/or modify it
94 under the terms of the GNU Library General Public License as published
95 by the Free Software Foundation; either version 2.1 of the License, or
96 (at your option) any later version.
97
98 This library is distributed in the hope that it will be useful, but
99 WITHOUT ANY WARRANTY; without even the implied warranty of
100 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
101 Library General Public License for more details.
102
103 You should have received a copy of the GNU Library General Public
104 License along with this library; if not, see
105 <https://www.gnu.org/licenses/>.
106
107
108
109perl v5.34.0 2021-07-22 Gtk2::Spell(3)