|
NAME"Tickit::Widget::HLine" - a widget displaying a horizontal line SYNOPSISuse Tickit::Widget::VBox; use Tickit::Widget::HLine; my $vbox = Tickit::Widget::VBox->new; $vbox->add( ... ); $vbox->add( Tickit::Widget::HLine->new ); $vbox->add( ... ); Tickit->new( root => $vbox )->run; DESCRIPTIONThis class provides a widget which displays a single horizontal line, using line-drawing characters. It consumes the full width of the window given to it by its parent. By default it is drawn in the vertical middle of the window but this can be adjusted by the "valign" style value. STYLEThe default style pen is used as the widget pen. The following additional style keys are used:
CONSTRUCTORnew$hline = Tickit::Widget::HLine->new( %args ); Constructs a new "Tickit::Widget::HLine" object. AUTHORPaul Evans <leonerd@leonerd.org.uk>
|