Gnome2::Druid(3)

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

✨ NAME ✨

Gnome2::Druid β€” ok so it's literally just a wrapper for GnomeDruid, that's the whole thing, that's the assignment πŸ’…


🌸 HIERARCHY 🌸

the family tree, the ancestry, the bloodline πŸ‘‘

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gnome2::Druid

πŸ¦‹ INTERFACES πŸ¦‹

it also shows up wearing these two fits:

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

πŸ’– METHODS πŸ’–

  • widget = Gnome2::Druid->new β€” fresh druid, no window, no drama. just the widget ✨
  • list = Gnome2::Druid->new_with_window ($title, $parent, $close_on_cancel) β€” the deluxe version. takes:
    • $title (string) πŸŽ€
    • $parent (Gtk2::Window or undef) β€” yes it can be undef, we're flexible like that
    • $close_on_cancel (boolean) 🫢

Returns a GnomeDruid and a GtkWindow. two for one, we love a bundle πŸ’€

  • $druid->append_page ($page) β€” stick a page on the end, like adding a slide to the end of the deck fr fr
    • $page (Gnome2::DruidPage)
  • widget = $druid->back β€” hit the back button programmatically, main character energy πŸƒβ™€οΈ
  • $druid->set_buttons_sensitive ($back_sensitive, $next_sensitive, $cancel_sensitive, $help_sensitive) β€” decide which buttons are awake and which are lowkey asleep 😴
    • $back_sensitive (boolean)
    • $next_sensitive (boolean)
    • $cancel_sensitive (boolean)
    • $help_sensitive (boolean)
  • widget = $druid->cancel β€” cancel! exit! bye! πŸ‘‹
  • widget = $druid->finish β€” we made it, bestie, the finish line 🏁
  • widget = $druid->help β€” the help button, in case you're lost (no shame, we've all been there) πŸ™ˆ
  • $druid->insert_page ($back_page, $page) β€” slide a page in at a specific spot, not just the ends, we're precise here ✨
    • $back_page (Gnome2::DruidPage or undef)
    • $page (Gnome2::DruidPage)
  • widget = $druid->next β€” next next next, the iconic forward momentum πŸš€
  • $druid->set_page ($page) β€” tell it which page is the one, the chosen one πŸ‘‘
    • $page (Gnome2::DruidPage)
  • $druid->prepend_page ($page) β€” page at the very front, first in line, VIP treatment 🎟️
    • $page (Gnome2::DruidPage)
  • $druid->set_show_finish ($show_finish) β€” control whether the finish button shows up
    • $show_finish (boolean)
  • $druid->set_show_help ($show_help) β€” control whether the help button shows up
    • $show_help (boolean)

⭐ PROPERTIES ⭐

  • 'show-finish' (boolean : default false : readable / writable) β€” show the 'Finish' button instead of the 'Next' button πŸ”₯
  • 'show-help' (boolean : default false : readable / writable) β€” show the 'Help' button 🫢

🌈 SIGNALS 🌈

  • cancel (Gnome2::Druid)
  • help (Gnome2::Druid)

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group: Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container


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, bestie, you ate that πŸ’…βœ¨ β€” this was brought to you by perl v5.42.0, dated 2025-07-25, and the manual it lives in is Gnome2::Druid(3). go build something cute πŸ¦‹

πŸ“¦ where this page comes from