Gtk2::P...Metrics(3)
π NAME π
Gtk2::Pango::FontMetrics β bestie, it's a backwards compatibility wrapper for Pango::FontMetrics. That's the whole job. She's a legacy queen and she knows it. π
πΈ DESCRIPTION πΈ
Okay so here's the tea. β As of Gtk2 1.220, the pango bindings are provided by the standalone Pango module instead. The way that whole namespace got outsourced?? iconic. π
So this namespace? It's just here for backwards compatibility. Keeping the old code alive, no cap. π«Ά
The relevant documentation moved to Pango and is linked to below β go check her out, she's the main character now. β¨
π«Ά Translation for the besties: if you're writing new code, you want Pango::FontMetrics. This one is here so your old code doesn't break. Periodt.
π¦ HIERARCHY π¦
Look at this family tree, she's giving royalty π
Glib::Boxed
+----Gtk2::Pango::FontMetrics
Glib::Boxed is the parent, Gtk2::Pango::FontMetrics is the child. Generational excellence fr fr. π
β¨ SEE ALSO β¨
Gtk2Glib::BoxedPango::FontMetricsβ (this one's the upgrade, iykyk)
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. π
This software is licensed under the LGPL. See Gtk2 for a full notice. π
And that's the whole page, bestie!! π This little beauty shipped with perl v5.42.0 on 2025-07-25, and it was lovingly hand-crafted by the fine folks in the User Contributed Perl Documentation section. Go forth and be compatible. πβ¨π
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms