GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Tickit::Widget::HLine(3) User Contributed Perl Documentation Tickit::Widget::HLine(3)

"Tickit::Widget::HLine" - a widget displaying a horizontal line

   use 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;

This 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.

The default style pen is used as the widget pen.

The following additional style keys are used:

The style to draw the line in. Must be one of the "LINE_*" constants from Tickit::RenderBuffer.
A fraction giving a position within the window to draw the line. Defaults to 0.5, which puts it in the middle.

Symbolic names of "top", "middle" and "bottom" are also accepted.

   $hline = Tickit::Widget::HLine->new( %args );

Constructs a new "Tickit::Widget::HLine" object.

Paul Evans <leonerd@leonerd.org.uk>

2025-07-03 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.