Gtk2::S...llEntry(3)
β¨ NAME β¨
Gtk2::Sexy::SpellEntry β bestie, it's a spell-checking text entry widget π
This page lives in the User Contributed Perl Documentation manual, and honestly? It's giving niche-but-iconic. π
πΈ HIERARCHY πΈ
The family tree, and yes every one of these is its ancestor, no cap:
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Entry
+----Gtk2::Sexy::SpellEntry
π¦ INTERFACES π¦
Stuff this widget shows up dressed as (it implements all of these, periodt):
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::EditableGtk2::CellEditable
π METHODS π
widget = Gtk2::Sexy::SpellEntry->new
Make a whole new SpellEntry from scratch. Fresh out the box, main character energy. β¨
$entry->activate_default_languages
Turn on the default languages. The chill, no-arguments way to just get spell checking going. π
boolean = $entry->activate_language ($lang)
$lang(string) β the language you're tryna switch on
Activates one specific language. Returns a boolean, so you'll know if it slayed or flopped. π
list = $entry->get_active_languages
Hands you back the list of languages that are currently active. π
boolean = $entry->set_active_languages (...)
...(list) β the languages you want active, all of them
Sets the whole active-language roster in one go. Returns a boolean. π
$entry->set_checked ($checked)
$checked(boolean) β true/false vibe
Flip the checked state on or off. π
$entry->deactivate_language ($lang)
$lang(string) β the language getting benched
Turns a single language back off. Not me removing a language π
boolean = $entry->is_checked
Tells you whether it's checked. Boolean, obvi. β
boolean = $entry->language_is_active ($lang)
$lang(string) β the language you're asking about
Asks "is this language active rn?" and answers in booleans. π§
string = $entry->get_language_name ($lang)
$lang(string) β the language whose name you want
Gives you back the human-readable name of a language. πΈ
list = $entry->get_languages
Returns the full list of languages. The whole roster, bestie. π
π₯ SIGNALS π₯
boolean = word-check (Gtk2::Sexy::SpellEntry, string)
The word-check signal β it hands you back a boolean and takes a string. iykyk. π
π« SEE ALSO π«
Go read these too, they're all connected:
Gtk2::SexyGlib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::Entry
π COPYRIGHT π
Copyright (C) 2005-2008 by Florian Ragwitz
okay that's the whole page, mwah π«Ά this doc was written for perl v5.42.0 and dated 2025-07-25 β go forth and spell-check, bestie πβ¨
π¦ where this page comes from
- fedora 43: perl-Gtk2-Sexy 0.05-57.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms