Gtk2::S...conEntry(3)

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

πŸ’– Gtk2::Sexy::IconEntry β€” the whole vibe πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation, and it's all about Gtk2::Sexy::IconEntry. yes the manual name literally has an ellipsis in it (Gtk2::S...conEntry(3)), that's just how the man page titles got squished, don't worry about it, she's fine πŸ’…


✨ NAME ✨

Gtk2::Sexy::IconEntry β€” that's her. that's the whole name. iconic behavior honestly.


🌸 HIERARCHY 🌸

so here's the family tree, and yes she comes from a long line of distinguished ancestors:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Entry
                      +----Gtk2::Sexy::IconEntry

look at that lineage. main character energy all the way down πŸ’œ


πŸ¦‹ INTERFACES πŸ¦‹

she's got range, she does all of these:

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Editable
  Gtk2::CellEditable

πŸŽ€ METHODS πŸŽ€

widget = Gtk2::Sexy::IconEntry->new

makes you a brand new one, bestie. slay ✨

$entry->add_clear_button

adds a lil clear button. no extra args, she just does the thing 🫢

image = $entry->get_icon ($position)

hands you back the icon image at a given spot.

  • $position β€” a Gtk2::Sexy::IconEntry::Position (so like, which corner you're talking about)

boolean = $entry->get_icon_highlight ($position)

tells you whether that icon is currently highlighted or not. yes/no, true/false, iconic/not-iconic.

  • $position β€” a Gtk2::Sexy::IconEntry::Position

$entry->set_icon_highlight ($position, $highlight)

sets the highlight on an icon. you're in charge now πŸ‘‘

  • $position β€” a Gtk2::Sexy::IconEntry::Position
  • $highlight β€” a boolean

$entry->set_icon ($position, $icon)

picks which icon goes where. decorate herrr πŸŽ€

  • $position β€” a Gtk2::Sexy::IconEntry::Position
  • $icon β€” a Gtk2::Image

πŸ”₯ SIGNALS πŸ”₯

she emits these, and the signatures are literally:

  • icon-pressed (Gtk2::Sexy::IconEntry, integer, integer)
  • icon-released (Gtk2::Sexy::IconEntry, integer, integer)

press and release, the classic duo πŸ’…


🌈 ENUMS AND FLAGS 🌈

enum Gtk2::Sexy::IconEntry::Position

two spots, two vibes, pick your fighter:

  • 'primary' / SEXY_ICON_ENTRY_PRIMARY
  • 'secondary' / SEXY_ICON_ENTRY_SECONDARY

πŸ’œ SEE ALSO πŸ’œ

go read these next, iykyk:

  • 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 bestie, you ate that 🫢 this was perl v5.42.0, dated 2025-07-25, and it lives in the manual as Gtk2::S...conEntry(3). go forth and icon-entry πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from