NAME
TUI::Outline::Const - constants for outline views
SYNOPSIS
use TUI::Outline;
my $flags = ovExpanded | ovChildren;
DESCRIPTION
This module defines the constants used by the TUI::Vision outline subsystem.
The constants in this module are grouped by purpose and exported via tag-based export groups. They are used by outline viewers and outlines to describe the graph drawn for each node, to report commands, and to select palette entries.
This module only defines constants. The semantic meaning and practical usage of these constants is documented in the corresponding outline classes.
CONSTANTS
Outline node flags (ovXXXX)
Flags describing the state of a node while its graph is drawn. These flags may be combined.
ovExpanded(0x01)Set if the node is expanded or has no children. If it is not set, the node has children and is retracted.
ovChildren(0x02)Set if the node has children and is expanded.
ovLast(0x04)Set if the node is the last child of its parent.
Command constants (cmXXXX)
cmOutlineItemSelected(301)Command identifier for the selection of an outline item. The outline viewers of this port do not send this command.
Palette identifiers (cpXXXX)
cpOutlineViewerPalette layout of
TOutlineViewer, used by itsgetPalettemethod.
EXPORT TAGS
Constants are exported using tag-based export groups corresponding to the functional groups described above.
An additional :all export tag is provided to import all constants at once.
SEE ALSO
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).