Gnome2:...s::Bpath(3)

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

✨ NAME ✨

Gnome2::Canvas::Bpath β€” bestie, it's literally just a lil wrapper for GnomeCanvasBpath πŸ’–

Like, that's the whole job. It wraps. It holds the path. It slays.

This one lives in the Gnome2:...s::Bpath(3) corner of the User Contributed Perl Documentation universe, and if you're here you probably already know why. πŸŽ€


🌸 HIERARCHY 🌸

Okay so the family tree is giving very much royalty, look at this lineage:

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gnome2::Canvas::Item
                 +----Gnome2::Canvas::Shape
                      +----Gnome2::Canvas::Bpath

Six generations deep and it's still cute. Generational icon behavior fr fr πŸ‘‘


πŸ¦‹ METHODS πŸ¦‹

Two methods. That's it. Lowkey the most chill class in the whole canvas situation.

  • pathdef = $bpath->get_path_def β€” hands you back the path definition, no drama, no questions asked. Just vibes and a pathdef. ✨
  • $bpath->set_path_def ($path_def) β€” you hand it a path definition and it's like "bet". Takes exactly one thing:
    • $path_def β€” a Gnome2::Canvas::PathDef, which is the whole point of this object existing ngl.

πŸ’… PROPERTIES πŸ’…

One property. One. She's minimal, she's focused, she knows what she wants.

  • 'bpath' (Gnome2::Canvas::PathDef : default undef : readable / writable)

So like β€” type is Gnome2::Canvas::PathDef, it defaults to undef (yes, undef, not a value, don't come for me), and it's both readable and writable, so you can peek at it and change it. Main character energy honestly. 🫢


πŸ‘€ SEE ALSO πŸ‘€

Go touch grass in these other pages, they're all connected, iykyk:

  • Gnome2::Canvas
  • Glib::Object
  • Glib::InitiallyUnowned
  • Gtk2::Object
  • Gnome2::Canvas::Item
  • Gnome2::Canvas::Shape

Copyright (C) 2003-2004 by the Gtk2-Perl Team. πŸ’œ

This software is licensed under the LGPL; see Gnome2::Canvas for a full notice. (Not the LGPL lite version, the real one β€” read it, bestie, it's good for you.)


ngl this page is tiny but every single line of it matters. no skimming. πŸ’€

Okay that's the whole page, we ate and left no crumbs. ✨ This was perl v5.42.0 doing the User Contributed Perl Documentation thing, dated 2025-07-25, and honestly? Iconic. Byeee πŸ¦‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from