Goo::Ca...thModel(3)

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

πŸ’– Goo::Canvas::PathModel πŸ’–

okay bestie, so this is the User Contributed Perl Documentation page for Goo::Canvas::PathModel(3) β€” yes the manual name is literally Goo::Ca...thModel(3) because someone was too iconic to spell it all out 😭 β€” and we're about to get so acquainted.


✨ NAME ✨

Goo::Canvas::PathModel β€” it's a wrapper for GooCanvasPathModel. that's it, that's the whole job. she's a lil middle-manager and she's slaying at it πŸ’…


πŸ¦‹ HIERARCHY πŸ¦‹

okay so the family tree, and it's giving royalty, lowkey:

Glib::Object
+----Goo::Canvas::ItemModelSimple
     +----Goo::Canvas::PathModel

so she descends from Glib::Object, through Goo::Canvas::ItemModelSimple, and then it's her moment. main character energy fr fr πŸ‘‘


πŸŽ€ INTERFACES πŸŽ€

she implements:

  • Goo::Canvas::ItemModel

periodt. that's the contract she signed and she's honoring it πŸ’œ


🌸 METHODS 🌸

itemmodel = Goo::Canvas::PathModel->new ($parent, $path_data, ...)

the constructor, the birth of a legend, the vibe check that starts it all ✨ here's what you're handing her:

  • $parent (Goo::Canvas::ItemModel) β€” who's the parent, basically whose group chat she's joining
  • $path_data (string) β€” the path data, as a string
  • ... (list) β€” and then, you know, the rest of the list. more args. she's flexible bestie 🫢

πŸ’… PROPERTIES πŸ’…

every single one, no skips, we don't do that here:

  • 'data' (string : default undef : writable) β€” the sequence of path commands. that's the whole itinerary of where the path goes, bestie.
  • 'height' (double : default 0 : readable / writable) β€” the height of the path. you can read it, you can write it, you can do both. flexible icon.
  • 'width' (double : default 0 : readable / writable) β€” the width of the path. same deal. read it, write it, live your truth.
  • 'x' (double : default 0 : readable / writable) β€” the x coordinate of the path. horizontal placement, we love to see it.
  • 'y' (double : default 0 : readable / writable) β€” the y coordinate of the path. vertical placement, equally essential, equally gorgeous.
not me noticing every single one of these defaults to 0 or undef β€” she starts from nothing and builds a whole vibe. we stan an underdog πŸ˜­πŸ’–

🌈 SEE ALSO 🌈

go read these too, they're part of the lore:

  • Glib::Object
  • Goo::Canvas::ItemModelSimple

Copyright (C) 2025 Gtk2-Perl Team

(legal girlies said what they said, we respect it 🫑)


and that's the page bestie!! 🌸 this absolute bop of a manual page shipped with perl v5.42.0, dated 2025-07-25, and it lives at Goo::Ca...thModel(3) forever and ever. mwah πŸ’‹ go forth and build paths, you've got this πŸ¦‹βœ¨πŸ’–

πŸ“¦ where this page comes from