Gtk2::T...ference(3)

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

πŸ’– NAME πŸ’–

Gtk2::TreeRowReference β€” it's a lil wrapper around GtkTreeRowReference, bestie. That's the whole vibe.


🌸 HIERARCHY 🌸

ok so the family tree goes like this, no cap:

Glib::Boxed
+----Gtk2::TreeRowReference

It's a Glib::Boxed girlie, and Gtk2::TreeRowReference is her whole personality. πŸ‘‘


✨ METHODS ✨

πŸ¦‹ treerowreference or undef = Gtk2::TreeRowReference->new ($model, $path)

bestie, this is the constructor. you hand it stuff and it hands you back a shiny new reference (or undef, we don't gatekeep). here's what you gotta pass in:

  • $model (Gtk2::TreeModel) β€” the model, the whole model, nothing but the model πŸ’…
  • $path (Gtk2::TreePath) β€” the path you want to point at 🎯

πŸ’œ treemodel or undef = $reference->get_model

gets you the model back. returns a treemodel, or undef if that's the mood.

Since: gtk+ 2.8 β€” yeah she's been around a minute, respect her. ⭐

πŸŽ€ treepath or undef = $reference->get_path

gets you the treepath back, or undef. iconic behaviour honestly. πŸ“

🌈 boolean = $reference->valid

returns a boolean, so like, is it valid or not? true/false energy. the vibe check of methods, fr fr. βœ…


🌟 SEE ALSO 🌟

  • Gtk2
  • Glib::Boxed

go read those too, iykyk 🫢


Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


k that's the whole page bestie, you ate that πŸ’…βœ¨

this was perl v5.42.0, dated 2025-07-25 β€” mwah, love u, bye πŸŽ€πŸ’–

πŸ“¦ where this page comes from