NAME

TUI::Gadgets::Const - constants for gadget components

SYNOPSIS

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

# or import specific constant groups
use TUI::Gadgets::Const qw( :cmXXXX );

DESCRIPTION

These module defines constants used by TUI::Vision gadget components.

The constants in this module are grouped by purpose and exported via tag-based export groups. They are used by gadget views to identify commands and events specific to diagnostic and auxiliary user interface elements.

This module only defines constants. The semantic meaning and practical usage of these constants is documented in the corresponding gadget modules.

CONSTANTS

Gadget command constants (cmXXXX)

Command identifiers used by gadget components.

These values are delivered via $event->{command} and are handled by gadget views such as event viewers and diagnostic tools.

Gadget color palettes (cpXXXX)

Color palette constants used by gadget components.

These values define the color schemes for various gadget elements, such as the mouse pointer in TClickTester.

History identifiers for dialogs (hlXXXX)

History identifiers used by gadget dialogs.

These values are used to track the history of user interactions within dialogs, such as the change directory dialog.

EXPORT TAGS

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

  • :cmXXXX - gadget command identifiers

  • :cpXXXX - gadget color palettes

  • :hlXXXX - history identifiers for dialogs

  • :all - import all constants

SEE ALSO

Gadgets, TEventViewer, TEvent

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).