logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

"Tickit::Widget::Placegrid" - a placeholder grid display

Author

       Original rendering code by Tom Molesworth <cpan@entitymodel.com>

       Widget wrapping by Paul Evans <leonerd@leonerd.org.uk>

perl v5.40.0                                       2024-09-16                     Tickit::Widget::Placegrid(3pm)

Constructor

$placegrid=Tickit::Widget::Placegrid->new(%args)
       Constructs a new "Tickit::Widget::Placegrid" object.

       Takes the following named arguments.

       title => STR
               Optional. If provided, prints an identifying title just above the box dimensions in the centre of
               the grid.

Description

       This class provides a widget which displays a simple grid pattern in its display area, and prints the
       size of the area in its centre.

       It is intended as a placeholder for other widget code while applications are under development. It easily
       allows a container to have a child that can take any size, and will keep its window area painted (so
       avoiding bugs caused by "empty" containers that do not clear unused child areas).

Name

       "Tickit::Widget::Placegrid" - a placeholder grid display

Style

       The default style pen is used as the widget pen. The following style pen prefixes are also used:

       grid => PEN
           The pen used to render the grid lines

See Also