The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

UI::Various::PoorTerm::container - abstract helper class for PoorTerm's container UI elements

SYNOPSIS

    # This module should only be used by the container UI element classes of
    # UI::Various::PoorTerm!

ABSTRACT

This module provides some helper functions for the container UI elements of the minimal fallback UI.

DESCRIPTION

The documentation of this module is only intended for developers of the package itself.

All functions of the module will be included as second "base class" (in @ISA) like (and instead of) UI::Various::PoorTerm::base.

Attributes

_active

Container elements may contain a reference to an array containing only the references to the active UI elements (those that are accessible, basically everything not just a simple text output).

METHODS

The module provides the following common (internal) methods for all UI::Various::PoorTerm container UI element classes:

_self_destruct - remove children and self-destruct

    $ui_element->_self_destruct;

description:

Remove all children (to get rid of possible circular references) and remove itself from "Window Manager" UI::Various::PoorTerm::Main.

SEE ALSO

UI::Various

LICENSE

Copyright (C) Thomas Dorner.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.

AUTHOR

Thomas Dorner <dorner (at) cpan (dot) org>