Gnome2:...mapEntry(3)

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

✨ Gnome2::PixmapEntry β€” ok bestie lemme put you on πŸ’…

No cap, this page is for Gnome2::PixmapEntry, which is literally just a wrapper for GnomePixmapEntry. That's the whole NAME situation, we move.


🌈 HIERARCHY

So here's the family tree, and yes it's giving deeply nested. Follow the branches, bestie:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Box
                           +----Gtk2::VBox
                                +----Gnome2::FileEntry
                                     +----Gnome2::PixmapEntry

Look at that lineage. Generations of widgets. Ancestry.com could never. πŸ’€


πŸ¦‹ INTERFACES

These are the interfaces it's serving, periodt:

  • Glib::Object::_Unregistered::AtkImplementorIface
  • Gtk2::Buildable
  • Gtk2::Orientable
  • Gtk2::Editable

πŸŽ€ METHODS

widget = Gnome2::PixmapEntry->new ($history_id, $browse_dialog_title, $do_preview)

Making a brand new one, bestie. It takes:

  • $history_id (string)
  • $browse_dialog_title (string)
  • $do_preview (boolean)

string = $pentry->get_filename

Gimme the filename, and it hands it back as a string. Slay. ✨

$pentry->set_pixmap_subdir ($subdir)

Setting the pixmap subdir, obviously.

  • $subdir (string)

$pentry->set_preview ($do_preview)

Turning the preview situation on or off.

  • $do_preview (boolean)

$pentry->set_preview_size ($preview_w, $preview_h)

Sizing up that preview, the way that it needs two numbers:

  • $preview_w (integer)
  • $preview_h (integer)

widget = $pentry->preview_widget

Hands you the preview widget. 🫢

widget = $pentry->scrolled_window

And hands you the scrolled window too. Two widgets, zero drama.


πŸ’– PROPERTIES

  • 'do-preview' (boolean : default false : readable / writable) β€” whether the pixmap entry should have a preview. That's it, that's the vibe check.

πŸ‘‘ SEE ALSO

Everything in the group chat:

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox, Gnome2::FileEntry


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

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


ok that's the whole page, you ate it, no crumbs πŸ’…βœ¨

This was perl v5.42.0, dated 2025-07-25, straight from the User Contributed Perl Documentation β€” mwah, bye bestie πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from