Gnome2:...PageEdge(3)

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

✨ NAME ✨

okay so bestie, this is Gnome2::DruidPageEdge β€” literally just a wrapper for GnomeDruidPageEdge πŸ’… that's it, that's the whole vibe. it's the wrapper. periodt.


🌸 HIERARCHY 🌸

the family tree, and yes it's giving deep ancestry 🧚:

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

that's seven levels of inheritance before you even get to this class. iconic lineage honestly πŸ‘‘


πŸ¦‹ INTERFACES πŸ¦‹

the roles it plays, the hats it wears:

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

πŸ’– METHODS πŸ’–

here's where it gets good. every single one, no skipping πŸ”₯

widget = Gnome2::DruidPageEdge->new ($position)

makes you a fresh new page at wherever you tell it πŸ’«

  • $position β€” a Gnome2::EdgePosition (see the enums section below, bestie, it's important)

widget = Gnome2::DruidPageEdge->new_aa ($position)

same energy as new, except this one's the antialiased version ✨ smooth edges, no crunch.

  • $position β€” Gnome2::EdgePosition

widget = Gnome2::DruidPageEdge->new_with_vals ($position, $antialiased, $title=undef, $text=undef, $logo=undef, $watermark=undef, $top_watermark=undef)

the main character constructor 🌟 you can set literally everything in one go. no cap.

  • $position β€” Gnome2::EdgePosition
  • $antialiased β€” boolean, true/false, the smoothness toggle
  • $title β€” string, the heading text
  • $text β€” string, the body text
  • $logo β€” Gtk2::Gdk::Pixbuf or undef
  • $watermark β€” Gtk2::Gdk::Pixbuf or undef
  • $top_watermark β€” Gtk2::Gdk::Pixbuf or undef

$druid_page_edge->set_bg_color ($color)

sets the background colour 🎨

  • $color β€” Gtk2::Gdk::Color

$druid_page_edge->set_logo_bg_color ($color)

background colour, but specifically behind the logo. the logo's own little spotlight 🫢

  • $color β€” Gtk2::Gdk::Color

$druid_page_edge->set_logo ($logo_image)

drops in the logo image πŸ–ΌοΈ

  • $logo_image β€” Gtk2::Gdk::Pixbuf or undef

$druid_page_edge->set_text_color ($color)

colour of the body text. yes you can make it whatever. yes that's a choice πŸ’€

  • $color β€” Gtk2::Gdk::Color

$druid_page_edge->set_text ($text)

sets the actual text content ✍️

  • $text β€” string

$druid_page_edge->set_textbox_color ($color)

colour of the textbox itself, the little home the text lives in 🏠

  • $color β€” Gtk2::Gdk::Color

$druid_page_edge->set_title_color ($color)

colour of the title. make it pop, bestie 🌈

  • $color β€” Gtk2::Gdk::Color

$druid_page_edge->set_title ($title)

sets the title text πŸ‘‘

  • $title β€” string

$druid_page_edge->set_top_watermark ($top_watermark_image)

watermark, but at the top this time 🌊

  • $top_watermark_image β€” Gtk2::Gdk::Pixbuf or undef

$druid_page_edge->set_watermark ($watermark)

and the regular watermark 🌊

  • $watermark β€” Gtk2::Gdk::Pixbuf or undef

πŸŽ€ ENUMS AND FLAGS πŸŽ€

enum Gnome2::EdgePosition

four positions, four vibes, pick your fighter:

  • 'start' / GNOME_EDGE_START
  • 'finish' / GNOME_EDGE_FINISH
  • 'other' / GNOME_EDGE_OTHER
  • 'last' / GNOME_EDGE_LAST

πŸ‘€ SEE ALSO πŸ‘€

go read these too, they're all connected, iykyk:

  • 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.

ngl, 2003-2004? the gtk2-perl team was out here doing the most and we're still grateful fr fr πŸ™

and that's the whole page, bestie 🫢 this was Gnome2:...PageEdge(3), served up as User Contributed Perl Documentation, generated by perl v5.42.0 on 2025-07-25 β€” slay, go build something cute with it πŸ’–βœ¨

πŸ“¦ where this page comes from