Gtk2::S...llEntry(3)

πŸ“¦
version 0.05 Β· 2 versions
, in fedora 43

✨ 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::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::Editable
  • Gtk2::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::Sexy
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Entry

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