Gnome2:...PageEdge(3)
β¨ 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::AtkImplementorIfaceGtk2::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β aGnome2::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::Pixbuforundef$watermarkβGtk2::Gdk::Pixbuforundef$top_watermarkβGtk2::Gdk::Pixbuforundef
$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::Pixbuforundef
$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::Pixbuforundef
$druid_page_edge->set_watermark ($watermark)
and the regular watermark π
$watermarkβGtk2::Gdk::Pixbuforundef
π 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:
Gnome2Glib::ObjectGlib::InitiallyUnownedGtk2::ObjectGtk2::WidgetGtk2::ContainerGtk2::BinGnome2::DruidPage
π COPYRIGHT π
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
- 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