Prima::Widget::IntIndents - indenting support
Provides the common functionality for the widgets that delegate part of their surface to the border elements. A list box can be of an example, where its scroll bars and 3-d borders are such elements.
Contains four integers, specifying the breadth of decoration elements for each side. The first integer is width of the left element, the second - height of the lower element, the third - width of the right element, the fourth - height of the upper element.
The property can accept and return the array either as a four scalars, or as an anonymous array of four scalars.
Calculates and returns the extension of the area without the border elements, or the active area. The extension are related to the current size of a widget, however, can be overridden by specifying WIDTH and HEIGHT. TYPE is an integer, indicating the type of calculation:
Returns four integers, defining the area in the inclusive-exclusive coordinates.
Returns four integers, defining the area in the inclusive-inclusive coordinates.
Returns two integers, the size of the area.
Dmitry Karasik, <dmitry@karasik.eu.org>.
Prima, Prima::Widget
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.