Gtk2::S...w2::Mark(3)

πŸ“¦
version 0.12 Β· 2 versions
, in fedora 43

πŸ’– 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, or undef (yes, undef is 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, or undef

🌈 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, or undef

πŸŽ€ PROPERTIES πŸŽ€

  • 'category' (string : default undef : 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::SourceView2
  • Glib::Object
  • Gtk2::TextMark

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