Gnome2:...extItem(3)

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

πŸ¦‹ Gnome2::IconTextItem β€” the vibe check ✨

okay bestie, so this is a page from the User Contributed Perl Documentation manual set, and today's main character is Gnome2::IconTextItem β€” a lil' wrapper for GnomeIconTextItem πŸ’…


🌸 NAME 🌸

Gnome2::IconTextItem β€” it's giving wrapper for GnomeIconTextItem πŸŽ€


πŸ‘‘ HIERARCHY πŸ‘‘

so like, here's the family tree, and yes every single ancestor stays named exactly like this, no cap:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gnome2::Canvas::Item
                 +----Gnome2::IconTextItem

✨ METHODS ✨

$iti->configure ($x, $y, $width, $fontname, $text, $is_editable, $is_static)

the big setup moment 🫢 here's the whole guest list:

  • $x (integer)
  • $y (integer)
  • $width (integer)
  • $fontname (string)
  • $text (string)
  • $is_editable (boolean)
  • $is_static (boolean)

editable = $iti->get_editable

hands you back editable, that's it, that's the whole method πŸ“

$iti->focus ($focused)

  • $focused (boolean)

$iti->select ($sel)

  • $sel (boolean)

$iti->setxy ($x, $y)

  • $x (integer)
  • $y (integer)

$iti->start_editing

go off, begin the editing era πŸ”₯

$iti->stop_editing ($accept)

  • $accept (boolean)

string = $iti->get_text

returns a string, literally the text, iconic 🌈


πŸ’– SIGNALS πŸ’–

these fire off like notifications in the group chat, obsessed:

  • editing-started (Gnome2::IconTextItem)
  • editing-stopped (Gnome2::IconTextItem)
  • height-changed (Gnome2::IconTextItem)
  • selection-started (Gnome2::IconTextItem)
  • selection-stopped (Gnome2::IconTextItem)
  • boolean = text-changed (Gnome2::IconTextItem)
  • width-changed (Gnome2::IconTextItem)

πŸ‘€ SEE ALSO πŸ‘€

go read these next, bestie, iykyk:

  • Gnome2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gnome2::Canvas::Item

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2 for a full notice.


no cap, that's the whole page πŸ’œ

perl v5.42.0 Β· 2025-07-25 Β· and that's the sign-off, mwah πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from