Gtk2::Spell(3)

NAME
Gtk2::Spell - (DEPRECATED) Bindings for GtkSpell with Gtk2

SYNOPSIS
  use Gtk2;
  use Gtk2::Spell;

  $txtview = Gtk2::TextView->new;
  $spell = Gtk2::Spell->new_attach($txtview);
  $spell2 = Gtk2::Spell->get_from_text_view($txtview);
  # $spell2 will be the same object as $spell
  $spell->set_language(SOME_LANG);
  $spell->recheck_all;
  $spell->detach;

ABSTRACT
DEPRECATED Perl bindings to GtkSpell, used in concert with Gtk2::TextView.

DESCRIPTION
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE

This module has been deprecated by the Gtk-Perl project. This means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI. The Git repo for this module has been archived (made read-only), it will no longer possible to submit new commits to it. You are more than welcome to ask about this module on the Gtk-Perl mailing list, but our priorities going forward will be maintaining Gtk-Perl modules that are supported and maintained upstream; this module is neither.

Since this module is licensed under the LGPL v2.1, you may also fork this module, if you wish, but you will need to use a different name for it on CPAN, and the Gtk-Perl team requests that you use your own resources (mailing list, Git repos, bug trackers, etc.) to maintain your fork going forward.

•   Perl URL: https://gitlab.gnome.org/GNOME/perl-gtk2-spell

•   Upstream URL: http://gtkspell.sourceforge.net/

•   Last upstream version: 2.0.16

•   Last upstream release date: 2009-10-22

•   Migration path for this module: G:O:I

•   Migration module URL: https://metacpan.org/pod/Glib::Object::Introspection

NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE

Perl bindings to GtkSpell, used in concert with Gtk2::TextView. Provides mis-spelled word highlighting in red and offers a right click pop-up menu with suggested corrections.

FUNCTIONS

$spell = Gtk2::Spell->new(GTK2_TEXT_VIEW)
$spell = Gtk2::Spell->new_attach(GTK2_TEXT_VIEW)
    Creates and returns a new Gtk2::Spell object attached to GTK2_TEXT_VIEW.

$spell->set_language(LANG_STR)
    Sets the language which the underlying spell-checker will use. According to the GtkSpell API reference this 'appears to be a locale specifier.'

$spell->recheck_all
    Rechecks the spelling of the entire text view buffer.

Gtk2::Spell->get_from_text_view(GTK2_TEXT_VIEW)
    Returns the Gtk2::Spell object attached to the given Gtk2::TextBuffer or undef if there isn't one attached.

$spell->detach
    Detaches the Gtk2::Spell from it's associated text view.

SEE ALSO
perl(1), Glib(1), Gtk2(1).

AUTHOR
rwmcfa1 <rwmcfa1@neces.com>

COPYRIGHT AND LICENSE
Copyright 2003 by rwmcfa1

Copyright 2003 by the gtk2-perl team.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, see <https://www.gnu.org/licenses/>.