NAME
TUI::StdDlg::FileInputLine - input line view for file dialog interaction
HIERARCHY
TObject
TView
TInputLine
TFileInputLine
SYNOPSIS
use TUI::StdDlg;
my $input = new_TFileInputLine(
$bounds,
$maxLen
);
DESCRIPTION
TFileInputLine implements a specialized input line used by standard Turbo Vision file dialogs for entering file and directory names.
The control extends TInputLine with file-dialog-specific behavior, such as custom keyboard handling and interaction with other dialog components. It is typically embedded in a TFileDialog and participates in focus navigation and command processing within the dialog.
CONSTRUCTOR
new
my $input = TFileInputLine->new(
bounds => $bounds,
maxLen => $maxLen
);
Creates a new file input line.
- bounds
-
Bounding rectangle defining the position and size of the input line (TRect).
- maxLen
-
Maximum length of the input text (Int).
new_TFileInputLine
my $input = new_TFileInputLine($bounds, $maxLen);
Factory-style constructor using positional arguments.
METHODS
handleEvent
$input->handleEvent($event);
Processes keyboard and command events specific to file dialog interaction.
This method extends the default input line behavior to integrate with file selection and dialog-level commands.
SEE ALSO
TUI::StdDlg::FileDialog, TUI::Dialogs::InputLine, TUI::Views::View
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).