
Curses::Toolkit::Widget::Border - a border widget

version 0.207

This widget consists of a border, and a child widget in that border
This widget can contain 0 or 1 other widget.

+----------+ | | +----------+

input : none output : a Curses::Toolkit::Widget::Border
Given a coordinate representing the available space, returns the space desired The Border desires as much as its children desires, plus its width
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
input : a Curses::Toolkit::Object::Coordinates object output : a Curses::Toolkit::Object::Coordinates object

To set/get a theme properties, you should do :
$border->set_theme_property(property_name => $property_value);
$value = $border->get_theme_property('property_name');
Here is the list of properties related to the border, that can be changed in the associated theme. See the Curses::Toolkit::Theme class used for the default (default class to look at is Curses::Toolkit::Theme::Default)
Don't forget to look at properties from the parent class, as these are also inherited from !
Sets the width of the border. If not set, the border will be invisible

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.