Gnome2::Druid(3)
β¨ 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::Windoworundef) β yes it can beundef, 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::DruidPageorundef)$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 : defaultfalse: readable / writable) β show the'Finish'button instead of the'Next'button π₯'show-help'(boolean : defaultfalse: 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 π
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
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms