Gnome2:...Standard(3)

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

πŸ¦‹ Gnome2::DruidPageStandard β€” the whole vibe

okay bestie, gather round, because this is Gnome2::DruidPageStandard from the Perl docs (you'll see it filed under Gnome2:...Standard(3) in the wild, that's just the truncation being dramatic πŸ’…). It's a lil wrapper around GnomeDruidPageStandard β€” like, it is the thing, but make it Perl-flavored. Think of it as the sparkly standard-issue page for your Gnome druid. Iconic. ✨


🌸 HIERARCHY

the family tree, and yes she's got ancestors:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gnome2::DruidPage
                                +----Gnome2::DruidPageStandard

so she's a Gnome2::DruidPage with main character energy. 🫢


πŸŽ€ INTERFACES

she also shows up wearing these:

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

✨ METHODS

widget = Gnome2::DruidPageStandard->new

just. make. one. no args, no stress. πŸ’–

widget = Gnome2::DruidPageStandard->new_with_vals ($title, $logo=undef, $top_watermark=undef)

same deal but you get to pass the goods up front:

  • $title (string)
  • $logo (Gtk2::Gdk::Pixbuf or undef)
  • $top_watermark (Gtk2::Gdk::Pixbuf or undef)

$druid_page_standard->append_item ($question, $item, $additional_info)

slap another item onto the page, with a question and some extra tea:

  • $question (string)
  • $item (Gtk2::Widget)
  • $additional_info (string)

$druid_page_standard->set_background ($color)

  • $color (Gtk2::Gdk::Color)

$druid_page_standard->set_contents_background ($color)

  • $color (Gtk2::Gdk::Color)

$druid_page_standard->set_logo_background ($color)

  • $color (Gtk2::Gdk::Color)

$druid_page_standard->set_logo ($logo_image)

  • $logo_image (Gtk2::Gdk::Pixbuf or undef)

$druid_page_standard->set_title_foreground ($color)

  • $color (Gtk2::Gdk::Color)

$druid_page_standard->set_title ($title)

  • $title (string)

$druid_page_standard->set_top_watermark ($top_watermark_image)

  • $top_watermark_image (Gtk2::Gdk::Pixbuf or undef)

widget = $druid_page_standard->vbox

yep. that's the whole thing. you get a widget. 🎁


πŸ’œ PROPERTIES

every single one, no skips, we're thorough in this house:

  • 'background' (string : default undef : writable)
    • Background color
  • 'background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
    • Background color as a GdkColor
  • 'background-set' (boolean : default false : readable / writable)
    • Background color is set
  • 'contents-background' (string : default undef : writable)
    • Contents Background color
  • 'contents-background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
    • Contents Background color as a GdkColor
  • 'contents-background-set' (boolean : default false : readable / writable)
    • Contents Background color is set
  • 'logo' (Gtk2::Gdk::Pixbuf : default undef : readable / writable)
    • Logo image
  • 'logo-background' (string : default undef : writable)
    • Logo Background color
  • 'logo-background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
    • Logo Background color as a GdkColor
  • 'logo-background-set' (boolean : default false : readable / writable)
    • Logo Background color is set
  • 'title' (string : default undef : readable / writable)
    • Title of the druid
  • 'title-foreground' (string : default undef : writable)
    • Foreground color of the title
  • 'title-foreground-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
    • Foreground color of the title as a GdkColor
  • 'title-foreground-set' (boolean : default false : readable / writable)
    • Foreground color of the title is set
  • 'top-watermark' (Gtk2::Gdk::Pixbuf : default undef : readable / writable)
    • Watermark image for the top
notice how every -set boolean defaults to false and every color/image defaults to undef? yeah that's the pattern, lowkey elegant 🧚

🌈 SEE ALSO

go read these next, bestie, they're the friend group:

  • Gnome2
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gtk2::Widget
  • Gtk2::Container
  • Gtk2::Bin
  • Gnome2::DruidPage

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 page, periodt. πŸ’… this was served up by perl v5.42.0, dated 2025-07-25 β€” mwah, love that for us. πŸŽ€βœ¨

πŸ“¦ where this page comes from