
Curses::Toolkit::Widget::Bin - a bin widget

version 0.207

This widget can contain 0 or 1 other widget.

input : none output : a Curses::Toolkit::Widget::Bin

Add a widget as unique child. Only one widget can be added. Fails if a child already exists. Call remove_widget() if you want to call add_widget() again. To know if there is already a widget, call get_children().
The added child widget takes all the available space.
input : the child widget output : the current widget (not the child widget)
Removes the child widget.
input : none output : the current widget (not the child widget)

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.