Tickit...dWidget(3pm)
π Tickit::SingleChildWidget π
okay bestie, so this one is from the User Contributed Perl Documentation section, and it's called Tickit::SingleChildWidget β an abstract base class for widgets that contain a single other widget. yes, exactly one. no more, no less. it's giving only-child energy and honestly? iconic. π
β¨ NAME β¨
Tickit::SingleChildWidget β abstract base class for widgets that contain a single other widget π
πΈ SYNOPSIS πΈ
TODO
no like literally, that's what it says. the synopsis is a TODO. bestie the docs said "figure it out" and moved on. π we respect the honesty tho.
π¦ DESCRIPTION π¦
okay so listen. Tickit::SingleChildWidget is a subclass of Tickit::ContainerWidget, and it acts as an abstract base class for widgets that contain exactly one other widget. one. singular. a single child. π
it enforces that only one child widget may be contained at any one time β so if you were thinking about sneaking a second one in there, the vibe check says no. π«β¨
and then, because it's a generous queen, it also provides a convenient accessor so you can actually get to that one child widget. periodt. π
π CONSTRUCTOR π
π new
$widget = Tickit::SingleChildWidget->new( %args );
Constructs a new Tickit::SingleChildWidget object. that's it. that's the whole thing. build your widget, give it %args, and let it be the main character it was born to be. β¨π«Ά
π AUTHOR π
Paul Evans <leonerd@leonerd.org.uk>
shoutout to Paul, fr fr. π«‘π
okay that's the whole page bestie, no cap. this was documented as perl v5.40.0 on 2024-09-16 β go forth and contain exactly one child widget, it's the law π
πΈ
π¦ 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