Pango::AttrWeight(3)
β¨ NAME β¨
Okay so bestie, youβve landed on the Pango::AttrWeight(3) page from the User Contributed Perl Documentation, and itβs literally all about Pango::AttrWeight π
. Thatβs the whole name section, periodt.
π¦ HIERARCHY π¦
This is the family tree, no cap:
Glib::Boxed
+----Pango::AttrWeight
So Pango::AttrWeight is sitting under Glib::Boxed β iconic inheritance energy π
π METHODS π
πΈ attribute = Pango::AttrWeight->new ($weight, ...)
Constructing one, bestie β hereβs what goes in:
$weight(Pango::Weight) β the weight value, typed as aPango::Weight. Thatβs it, thatβs the listed arg π...(list) β the rest of the arguments, listed as a list. Keep it moving π«Ά
π weight = $attr->value (...)
Grab the weight back out via value. The page lists this one arg:
...(list) β yep, a list again. Slay β¨
π₯ ENUMS AND FLAGS π₯
π enum Pango::Weight
These are the named values and their matching constants β all twelve of them, no skipping:
'thin'/PANGO_WEIGHT_THIN'ultralight'/PANGO_WEIGHT_ULTRALIGHT'light'/PANGO_WEIGHT_LIGHT'semilight'/PANGO_WEIGHT_SEMILIGHT'book'/PANGO_WEIGHT_BOOK'normal'/PANGO_WEIGHT_NORMAL'medium'/PANGO_WEIGHT_MEDIUM'semibold'/PANGO_WEIGHT_SEMIBOLD'bold'/PANGO_WEIGHT_BOLD'ultrabold'/PANGO_WEIGHT_ULTRABOLD'heavy'/PANGO_WEIGHT_HEAVY'ultraheavy'/PANGO_WEIGHT_ULTRAHEAVY
π SEE ALSO π
Go peek at these besties:
PangoGlib::Boxed
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
π cute little sign-off: this page is from perl v5.42.0, dated 2019-09-16 β mwah, bestie π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms