Pango::AttrStyle(3)

πŸŽ€ Pango::AttrStyle πŸŽ€

okay so this page is all about Pango::AttrStyle, bestie, and it’s coming at you from the User Contributed Perl Documentation ✨ no cap, that’s the manual-name vibe near the top so you know where we are.


🌸 NAME 🌸

Pango::AttrStyle β€” that’s the whole name, iconic, short, and to the point πŸ’…


πŸ¦‹ HIERARCHY πŸ¦‹

The family tree is giving very β€œmy parent is Glib::Boxed” energy:

Glib::Boxed
+----Pango::AttrStyle

so yeah, Pango::AttrStyle sits under Glib::Boxed 🫢


πŸ’– METHODS πŸ’–

✨ attribute = Pango::AttrStyle->new ($style, ...)

This is the constructor situation: you call Pango::AttrStyle->new ($style, ...) and get an attribute back πŸ’«

  • $style β€” a Pango::Style πŸŽ€
  • ... β€” a list, bestie, literally ... πŸ“‹

✨ style = $attr->value (...)

This one gives you a style when you call $attr->value (...) 🌈

  • ... β€” a list again, yes ma’am 🧚

πŸ‘‘ ENUMS AND FLAGS πŸ‘‘

πŸ“ enum Pango::Style

These are the enum values and their matching constants, periodt:

  • 'normal' / PANGO_STYLE_NORMAL β€” the normal one πŸ’…
  • 'oblique' / PANGO_STYLE_OBLIQUE β€” the oblique one, slay πŸ¦‹
  • 'italic' / PANGO_STYLE_ITALIC β€” the italic one, iconic ✨

πŸ”₯ SEE ALSO πŸ”₯

go look at these too, iykyk:

  • Pango
  • Glib::Boxed

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Pango for a full notice.


okay final sign-off bestie 🫢 this page is from perl v5.42.0, dated 2019-09-16, and it’s literally Pango::AttrStyle(3) πŸ’–βœ¨

πŸ“¦ where this page comes from