Goo::Ca...bleModel(3)

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

✨ NAME ✨

Goo::Canvas::TableModel β€” bestie, it's literally just a wrapper for GooCanvasTableModel πŸ’…

(also the manual page is called Goo::Ca...bleModel(3) and it lives in the User Contributed Perl Documentation section, iykyk πŸŽ€)


🌸 HIERARCHY 🌸

okay so the family tree is giving ✨legacy✨, here's exactly how it goes:

Glib::Object
+----Goo::Canvas::ItemModelSimple
     +----Goo::Canvas::GroupModel
          +----Goo::Canvas::TableModel

it inherits down the whole line, no cap 🧚


πŸ¦‹ INTERFACES πŸ¦‹

it implements Goo::Canvas::ItemModel β€” that's the vibe check it passes πŸ’œ


πŸ’– METHODS πŸ’–

  • itemmodel = Goo::Canvas::TableModel->new ($parent, ...) β€” the constructor, the main character moment 🫢
    • $parent (Goo::Canvas::ItemModel) β€” your parent item model, the one holding it down
    • ... (list) β€” yeah just, a list, more stuff goes here

πŸŽ€ PROPERTIES πŸŽ€

every single one of these is readable / writable, so go off πŸ‘‘

  • 'column-spacing' (double : default 0 : readable / writable) β€” the default space between columns, fr fr
  • 'homogeneous-columns' (boolean : default false : readable / writable) β€” if all columns are the same width (they said equality πŸ’€)
  • 'homogeneous-rows' (boolean : default false : readable / writable) β€” if all rows are the same height, matching energy ✨
  • 'horz-grid-line-width' (double : default 0 : readable / writable) β€” the width of the grid line to draw between rows
  • 'row-spacing' (double : default 0 : readable / writable) β€” the default space between rows
  • 'vert-grid-line-width' (double : default 0 : readable / writable) β€” the width of the grid line to draw between columns
  • 'x-border-spacing' (double : default 0 : readable / writable) β€” the amount of spacing between the lefmost and rightmost cells and the border grid line
  • 'y-border-spacing' (double : default 0 : readable / writable) β€” the amount of spacing between the topmost and bottommost cells and the border grid line
quick note bestie: the original literally says "lefmost" in 'x-border-spacing' β€” I'm not fixing it, I'm not touching it, it's iconic and it stays πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

go read these too, they're the friend group:

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

Copyright (C) 2025 Gtk2-Perl Team 🌈


okay that's the whole page, slay πŸ’…βœ¨ this was perl v5.42.0, dated 2025-07-25, from the Goo::Ca...bleModel(3) manual β€” periodt, love u, bye πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from