Gtk2::S...::Style(3)
okay so real talk β this lil page is Gtk2::S...::Style(3) from the User Contributed Perl Documentation corner of the internet, and it's short, it's sweet, and it's literally all about styling your source view. grab a strawberry π and let's go.
πΈ NAME πΈ
Gtk2::SourceView2::Style β that's the whole name, bestie. that's the vibe. one class, no notes π
π¦ HIERARCHY π¦
the family tree is giving very short lineage, no cap:
Glib::Object
+----Gtk2::SourceView2::Style
so yeah β Gtk2::SourceView2::Style is a Glib::Object, and that's the entire ancestry. iconic minimalism β¨
π METHODS π
style = $style->copy
this is the one and only method this page lists, and the signature goes exactly like that: style = $style->copy. the page doesn't spell out a description beyond the name itself, so that's all we've got β no extra lore, sorry babe π
π PROPERTIES π
every single one of these is readable / writable / construct-only β meaning yes you can read it, yes you can write it, and yes it has to be set at construction time, periodt. here's the full roster, no skips:
'background'(string : default undef : readable / writable / construct-only) β Background color'background-set'(boolean : default false : readable / writable / construct-only) β Whether background color is set'bold'(boolean : default false : readable / writable / construct-only) β Bold'bold-set'(boolean : default false : readable / writable / construct-only) β Whether bold attribute is set'foreground'(string : default undef : readable / writable / construct-only) β Foreground color'foreground-set'(boolean : default false : readable / writable / construct-only) β Whether foreground color is set'italic'(boolean : default false : readable / writable / construct-only) β Italic'italic-set'(boolean : default false : readable / writable / construct-only) β Whether italic attribute is set'line-background'(string : default undef : readable / writable / construct-only) β Line background color'line-background-set'(boolean : default false : readable / writable / construct-only) β Whether line background color is set'strikethrough'(boolean : default false : readable / writable / construct-only) β Strikethrough'strikethrough-set'(boolean : default false : readable / writable / construct-only) β Whether strikethrough attribute is set'underline'(boolean : default false : readable / writable / construct-only) β Underline'underline-set'(boolean : default false : readable / writable / construct-only) β Whether underline attribute is set
notice the pattern, bestie π β every visual attribute ships with its own little-settwin that tells you whether that attribute has actually been set. colors default toundef, booleans default tofalse. so clean, so organized, we love a consistent queen π
π SEE ALSO π
go read these next, fr fr:
Gtk2::SourceView2Glib::Object
π COPYRIGHT π
Copyright (C) 2009 by Emmanuel Rodriguez
and that's the whole page, babe π«Ά this was rendered by perl v5.42.0 on 2025-07-25 β shoutout to the toolchain for timestamping us so cutely, mwah ππ
π¦ where this page comes from
- fedora 43: perl-Gtk2-SourceView2 0.12-18.fc43 Β· GPL-2.0-or-later OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms