
$line=Paw::Line-new($length, [$name], [$char], [$direction])>;
Parameter
$name => name of the widget [optionally]
$char => character that will be used to build the line
(ACS_HLINE) [optionally]
$direction => "v"ertically or "h"orizontally (default) [optional]
$length => length in characters of the line
Example
$l=Paw::Line->new(length=>$columns, char=>"#");
the widget moves to the new absolute screen position. if you set only one of the two parameters, the other one keeps the old value.
Example
$l->abs_move_widget( new_x=>5 ); #y-pos is the same
returns an array of two values, the x-position and the y-position of the widget.
Example
($xpos,$ypos)=$l->get_widget_pos();
Set a new color_pair for the widget.
Example
$box->set_color(3);
activates the border of the widget (optionally also with shadows).
Example
$widget->set_border("shade"); or $widget->set_border();