NAME
App::Lorem::Tickit::TextWidget - Scrollable text widget for lorem ipsum output.
SYNOPSIS
use App::Lorem::Tickit::TextWidget;
my $widget = App::Lorem::Tickit::TextWidget->new;
$widget->set_text($text, 76);
METHODS
new
my $widget = App::Lorem::Tickit::TextWidget->new;
Constructor.
Returns instance of object.
lines
my $lines = $widget->lines;
Returns number of wrapped text lines.
cols
my $cols = $widget->cols;
Returns requested number of columns.
set_text
$widget->set_text($text, $width);
Set text and wrapping width.
render_to_rb
$widget->render_to_rb($render_buffer, $rect);
Render visible wrapped text lines to Tickit render buffer.
DEPENDENCIES
REPOSITORY
https://github.com/michal-josef-spacek/App-Lorem-Tickit
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2026 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01