Curses::Toolkit::Widget::HPaned - a container with two panes arranged horizontally
version 0.208
This widget contain 2 widgets. The children are packed horizontally.
With a border
+-----------------+ | | | Widget 1 | | | +-----------------+ | | | Widget 2 | | | +-----------------+
input : none output : a Curses::Toolkit::Widget::HPaned
Add a widget in the left box
input : the child widget output : the current widget (not the child widget)
Add a widget in the right box
Set the position of the gutter from the left
input : the position (an integer) output : the current widget (not the child widget)
Return the position of the gutter from the left
input : none output : the current gutter position
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
Given a coordinate representing the available space, returns the minimum space needed to properly display itself
Damien "dams" Krotkine
This software is copyright (c) 2011 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.
To install Curses::Toolkit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Curses::Toolkit
CPAN shell
perl -MCPAN -e shell install Curses::Toolkit
For more information on module installation, please visit the detailed CPAN module installation guide.