Tickit...acegrid(3pm)
π Tickit::Widget::Placegrid β a placeholder grid display π
okay bestie, welcome to the Tickit::Widget::Placegrid page from the User Contributed Perl Documentation (that's the 3pm section, iykyk) π
β¨ NAME β¨
Tickit::Widget::Placegrid β a placeholder grid display π¦
πΈ DESCRIPTION πΈ
So this class hands you a widget that literally just draws a simple grid pattern inside its display area, and then prints the size of the area right in the middle of it. That's it. That's the whole vibe. π
It's a placeholder β like, the widget equivalent of putting a sticky note on your laptop that says "something goes here later." You use it while your actual widget code is still under development, and it lets a container have a child that can take any size it wants, and it keeps its window area painted the whole time. Which matters way more than it sounds, because it avoids bugs caused by "empty" containers that don't clear their unused child areas. No cap, that's a real bug source and this thing just β¨ prevents it β¨
π STYLE π
The default style pen is used as the widget pen. Simple. Clean. Iconic.
The following style pen prefixes are also used:
grid => PENβ the pen used to render the grid lines πβ¨
π CONSTRUCTOR π
$placegrid = Tickit::Widget::Placegrid->new( %args )
Constructs a brand new Tickit::Widget::Placegrid object. Main character energy, fr fr. π
It takes the following named arguments:
title => STRβ Optional. If you provide it, it prints an identifying title just above the box dimensions, right there in the centre of the grid. So cute, so informative. π·οΈπ
π AUTHOR π
- Original rendering code by Tom Molesworth
<cpan@entitymodel.com>π«Ά - Widget wrapping by Paul Evans
<leonerd@leonerd.org.uk>π«Ά
π reminder bestie: it's a placeholder. It's meant to be basic. It's doing exactly what it says on the tin and it's slaying at it.
perl v5.40.0 Β· 2024-09-16 β that's the version and date this page came from, and that's the whole page!! tysm for reading, go build something gorgeous π§ππΈ
π¦ where this page comes from
- ubuntu resolute: libtickit-widgets-perl 0.42-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtickit-widgets-perl 0.42-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms