Gtk2::S...conEntry(3)
π 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β aGtk2::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β aGtk2::Sexy::IconEntry::Position
$entry->set_icon_highlight ($position, $highlight)
sets the highlight on an icon. you're in charge now π
$positionβ aGtk2::Sexy::IconEntry::Position$highlightβ aboolean
$entry->set_icon ($position, $icon)
picks which icon goes where. decorate herrr π
$positionβ aGtk2::Sexy::IconEntry::Position$iconβ aGtk2::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::SexyGlib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::Entry
β COPYRIGHT β
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
- 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