NAME
Curses::Toolkit::Widget::HPaned - a container with two panes arranged horizontally
VERSION
version 0.100680
Appearence
With a border
+-----------------+
| |
| Widget 1 |
| |
+-----------------+
| |
| Widget 2 |
| |
+-----------------+
DESCRIPTION
This widget contain 2 widgets. The children are packed horizontally.
CONSTRUCTOR
new
input : none
output : a Curses::Toolkit::Widget::HPaned
METHODS
add1
Add a widget in the left box
input : the child widget
output : the current widget (not the child widget)
add2
Add a widget in the right box
input : the child widget
output : the current widget (not the child widget)
set_gutter_position
Set the position of the gutter from the left
input : the position (an integer)
output : the current widget (not the child widget)
get_gutter_position
Return the position of the gutter from the left
input : none
output : the current gutter position
get_desired_space
Given a coordinate representing the available space, returns the space desired
input : a Curses::Toolkit::Object::Coordinates object
output : a Curses::Toolkit::Object::Coordinates object
get_minimum_space
Given a coordinate representing the available space, returns the minimum space needed to properly display itself
input : a Curses::Toolkit::Object::Coordinates object
output : a Curses::Toolkit::Object::Coordinates object
AUTHOR
Damien "dams" Krotkine
COPYRIGHT AND LICENSE
This software is copyright (c) 2008 by Damien "dams" Krotkine.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.