Pango::...Language(3)
okay bestie, welcome to the Pango::...Language(3) page β yes, that's the manual name, User Contributed Perl Documentation and all β and today's main character is Pango::AttrLanguage. π
πΈ NAME πΈ
Pango::AttrLanguage
That's the name. Iconic, no notes. β¨
π¦ HIERARCHY π¦
Here's the family tree, and yes it's giving nepo baby energy:
Glib::Boxed
+----Pango::AttrLanguage
π METHODS π
π οΈ attribute = Pango::AttrLanguage->new ($language, ...)
This is the constructor situation, periodt. You feed it:
$languageβ aPango::Languageobject....β alist.
β οΈ Okay so this is the important part, no cap:Pango::AttrLanguagedoesn't take a reference and doesn't copy thePango::Languageobject, but demands its validity nonetheless. So make sure the language object stays alive at least as long as the attribute.
Like, literally keep it alive at least as long as the attribute. That's the rule, bestie. π«Ά
π language = $attr->value (...)
This one gives you back language, and it takes:
...β alist.
That's the whole documented tea. β
π SEE ALSO π
Go peek at Pango and Glib::Boxed, bestie. That's the list. π
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
This page is from perl v5.42.0, dated 2019-09-16, and the manual is Pango::...Language(3). Bye bestie, go keep those language objects alive ππ¦
π¦ 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