Gtk2::S...w2::Mark(3)
π Gtk2::SourceView2::Mark π
okay bestie, so this is Gtk2::SourceView2::Mark β that's the manual name, and yes, it's giving Gtk2::SourceView2 energy, from the User Contributed Perl Documentation collection. it's a lil mark object for the source view. tiny. iconic. let's go π
π¦ HIERARCHY π¦
the family tree, and she's got main character energy all the way down:
Glib::Object
+----Gtk2::TextMark
+----Gtk2::SourceView2::Mark
so like, she is a Gtk2::TextMark, who is a Glib::Object. inheritance slay π
β¨ METHODS β¨
πΈ mark = Gtk2::SourceView2::Mark->new ($name, $category)
bestie you're literally building a new mark from scratch, no cap. here's what you hand her:
$nameβ a string, orundef(yes,undefis allowed, she's flexible like that π)$categoryβ a string
π string = $mark->get_category
she tells you her category. that's it. that's the whole method. short queen π
π mark or undef = $mark->next ($category)
scoot forward to the next mark β and heads up, you might get a mark, or you might get undef (which is the vibe equivalent of "nobody's here, bestie π").
$categoryβ a string, orundef
π mark or undef = $mark->prev ($category)
same energy, but backwards. previous mark, please and thank you. returns a mark or undef fr fr.
$categoryβ a string, orundef
π PROPERTIES π
'category'(string: defaultundef: readable / writable / construct-only) β the mark category. like, that's literally what it is. it's construct-only, so set it when you're born and don't come for her later, periodt π
π SEE ALSO π
go read these next, they're all in the group chat:
Gtk2::SourceView2Glib::ObjectGtk2::TextMark
Β©οΈ COPYRIGHT Β©οΈ
Copyright (C) 2009 by Emmanuel Rodriguez
and that's the whole page, bestie! this manual shipped as part of perl v5.42.0, dated 2025-07-25, filed under User Contributed Perl Documentation. mwah, take care of her π«Άβ¨
π¦ 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