NAME

TUI::Menus::Const - constants for menu components

SYNOPSIS

use TUI::Menus::Const qw(:all);

# or import specific constant groups
use TUI::Menus::Const qw(:cpXXXX :menuAction);

DESCRIPTION

TUI::Menus::Const defines constants used by TUI::Vision menu components.

The constants in this module are grouped by purpose and exported via tag-based export groups. They are used by menu views, menu boxes, menu bars, and status lines to control appearance and menu action handling.

This module only defines constants. The semantic meaning and practical usage of these constants is documented in higher-level modules such as TUI::Menus, TMenuView, TMenuBar, and TStatusLine.

CONSTANTS

Palette layouts used by menu-related views.

These constants define the color layout for menu views and status lines.

Action identifiers used internally by menu processing logic.

These constants control how menu selections are handled, such as whether an action is executed immediately, ignored, or returned to the caller.

EXPORT TAGS

Constants are exported using the following tag-based export groups:

  • :cpXXXX - menu palette layouts

  • :menuAction - menu action identifiers

  • :all - import all constants

SEE ALSO

TUI::Menus, TUI::Menus::MenuView, TUI::Menus::MenuBar, TUI::Menus::StatusLine

AUTHORS

  • Borland International (original Turbo Vision design)

  • J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)

COPYRIGHT AND LICENSE

Copyright (c) 1990-1994, 1997 by Borland International

Copyright (c) 2025-2026 the "AUTHORS" as listed above.

This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).