Tickit::Widget::SegmentDisplay - show a single character like a segmented display
Tickit::Widget::SegmentDisplay
This class provides a widget that immitates a segmented LED or LCD display. It shows a single character by lighting or shading fixed rectangular bars.
The default style pen is used as the widget pen, though only the background colour will actually matter as the widget does not directly display text.
The following style keys are used:
Colour descriptions (index or name) for the lit and unlight segments of the display.
Constructs a new Tickit::Widget::SegmentDisplay object.
Takes the following named arguments
Sets an initial value.
The type of display. Supported types are:
A 7-segment bar display
A static :
:
Return or set the character on display
Paul Evans <leonerd@leonerd.org.uk>
To install Tickit::Widget::SegmentDisplay, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tickit::Widget::SegmentDisplay
CPAN shell
perl -MCPAN -e shell install Tickit::Widget::SegmentDisplay
For more information on module installation, please visit the detailed CPAN module installation guide.