Gnome2::PopupMenu(3)

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

πŸ’– Gnome2::PopupMenu πŸ’–

okay so bestie, say hi to Gnome2::PopupMenu β€” a whole little Perl module from the Gnome2 era, living its best life as part of the User Contributed Perl Documentation. it's giving popup-menu realness, and the methods are listed right below. no cap, it's all here πŸŽ€


✨ METHODS ✨

  • widget = Gnome2::PopupMenu->new ($uiinfo, $accelgroup=undef) β€” makes you a shiny new popup menu widget. the args:
    • $uiinfo (Gnome2::UIInfo)
    • $accelgroup (Gtk2::AccelGroup)
  • widget = Gnome2::PopupMenu->new_with_accelgroup ($uiinfo, $accelgroup=undef) β€” same energy as new, but it's the accelgroup-forward version. args:
    • $uiinfo (Gnome2::UIInfo)
    • $accelgroup (Gtk2::AccelGroup)
  • $widget->add_popup_items ($uiinfo, $user_data=undef) β€” adds the popup items, duh. args:
    • $uiinfo (Gnome2::UIInfo)
    • $user_data (scalar)
  • $popup->append_from ($uiinfo) β€” appends stuff from your uiinfo. args:
    • $uiinfo (Gnome2::UIInfo)
  • $popup->attach_to ($widget, $user_data=undef) β€” attaches the popup to a widget, like besties linking arms 🫢. args:
    • $widget (Gtk2::Widget)
    • $user_data (scalar)
  • $popup->do_popup ($pos_func, $pos_data, $event, $user_data, $for_widget) β€” the actual pop-up moment. main character energy πŸ”₯. args:
    • $pos_func (scalar)
    • $pos_data (scalar)
    • $event (Gtk2::Gdk::Event)
    • $user_data (scalar)
    • $for_widget (Gtk2::Widget)
  • integer = $popup->do_popup_modal ($pos_func, $pos_data, $event, $user_data, $for_widget) β€” the modal version, and it hands you back an integer. args:
    • $pos_func (scalar)
    • $pos_data (scalar)
    • $event (Gtk2::Gdk::Event)
    • $user_data (scalar)
    • $for_widget (Gtk2::Widget)

πŸ‘€ SEE ALSO πŸ‘€

  • Gnome2 β€” go read it, iykyk πŸ’…

Copyright (C) 2003-2004 by the gtk2-perl team. πŸ’œ

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


and that's the whole vibe check bestie ✨ this page was served up by perl v5.42.0, dated 2025-07-25, filed under Gnome2::PopupMenu(3). slay, go build something iconic πŸŒΈπŸ’–πŸ¦‹

πŸ“¦ where this page comes from