NAME

TUI::Dialogs::Const - constants for dialog components

SYNOPSIS

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

# or import specific constant groups
use TUI::Dialogs::Const qw(:bfXXXX :cmXXXX :cpXXXX);

DESCRIPTION

TUI::Dialogs::Const defines constants used by TUI::Vision dialog components such as dialogs, buttons, labels, input lines, and history views.

The constants in this module are grouped by purpose and exported via tag-based export groups. They control dialog behavior, button flags, command handling, palette layouts, and dialog palette selection.

This module only defines constants. The semantic meaning and practical usage of these constants is documented in higher-level modules such as TUI::Dialogs, TDialog, and the individual dialog view classes.

CONSTANTS

Button flags (bfXXXX)

Flags controlling the behavior and appearance of dialog buttons.

These flags are used when creating button views and may be combined to modify default handling, focus behavior, and event broadcasting.

Dialog command constants (cmXXXX)

Command identifiers used by dialog-related components.

These values are delivered via $event->{command} and are handled by dialogs, buttons, and history components.

Dialog palette layouts (cpXXXX)

Palette layouts used by dialog views and dialog-related components.

These constants define the color layout for dialogs, buttons, labels, input lines, clusters, and history views.

Dialog palette selectors (dpXXXX)

Constants used to select the active dialog palette variant.

These values identify the blue, cyan, and gray dialog palette configurations.

EXPORT TAGS

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

  • :bfXXXX - button flags

  • :cmXXXX - dialog command identifiers

  • :cpXXXX - dialog palette layouts

  • :dpXXXX - dialog palette selectors

  • :all - import all constants

SEE ALSO

TUI::Dialogs, TUI::Dialogs::Dialog, TUI::Dialogs::Button, TUI::Dialogs::InputLine, TUI::Dialogs::History

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) 2026 the "AUTHORS" as listed above.

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