Damien Krotkine > Curses-Toolkit > Curses::Toolkit::Widget::Bin

Download:
Curses-Toolkit-0.211.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.211   Source  

NAME ^

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

VERSION ^

version 0.211

DESCRIPTION ^

This widget can contain 0 or 1 other widget.

CONSTRUCTOR ^

new

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

METHODS ^

add_widget

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)

remove_widget

Removes the child widget.

  input  : none
  output : the current widget (not the child widget)

AUTHOR ^

Damien "dams" Krotkine

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: