Curses::Toolkit::Widget::HBox - an horizontal box widget
version 0.211
This widget can contain 0 or more widgets. The children are packed horizontally.
input : none output : a Curses::Toolkit::Widget::HBox
Add a widget in the horizontal box, at the start of the box. You can call pack_start multiple time to add more widgets.
input : the child widget optionally, a hash containing options output : the current widget (not the child widget)
The hash containing options can contain :
expand : TRUE if the new child is to be given extra space allocated to box. The extra space will be divided evenly between all children of box that use this option
fill : TRUE if space given to child by the expand option is actually allocated to child, rather than just padding it. This parameter has no effect if expand is set to FALSE. A child is always allocated the full height of a GtkHBox and the full width of a GtkVBox. This option affects the other dimension
padding : extra space in pixels to put between this child and its neighbors, over and above the global amount specified by "spacing" property. If child is a widget at one of the reference ends of box, then padding pixels are also put between child and the reference edge of box
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.