NAME
App::Lorem::Tickit::Widget - Tickit widget for lorem ipsum generator.
SYNOPSIS
use App::Lorem::Tickit::Widget;
my $widget = App::Lorem::Tickit::Widget->new(
'version' => '0.01',
);
METHODS
new
my $widget = App::Lorem::Tickit::Widget->new(%params);
Constructor.
Returns instance of object.
CAN_FOCUS
my $can_focus = $widget->CAN_FOCUS;
Returns true value.
cols
my $cols = $widget->cols;
Returns requested number of columns.
lines
my $lines = $widget->lines;
Returns requested number of lines.
window_gained
$widget->window_gained($window);
Create and place the choice widget window.
window_lost
$widget->window_lost($window);
Release the choice widget window.
on_key
my $handled = $widget->on_key($event);
Process keyboard event.
reshape
$widget->reshape;
Resize and reposition the choice widget window.
render_to_rb
$widget->render_to_rb($render_buffer, $rect);
Render widget to Tickit render buffer.
DEPENDENCIES
App::Lorem::Tickit::TextWidget, Text::Lorem, Tickit::Pen, Tickit::Widget, Tickit::Widget::Choice, Tickit::Widget::ScrollBox.
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