NAME
TWindowInit - class for initializing a frame for TWindows.
SYNOPSIS
use TUI::Views;
my $winInit = TWindowsInit->new($cFrame => sub { ... } );
DESCRIPTION
The TWindowsInit class is used to initialize the frame in TWindows. It provides methods to start and complete the initialization process. This class is essential for setting up the user interface elements in a TWindow class.
ATTRIBUTES
- createFrame
-
A subroutine reference used to create the frame for a window. (CodeRef)
CONSTRUCTOR
new
my $obj = TWindowInit->new(%args);
Initializes the code reference for a frame.
- cFrame
-
Required parameter to specify the frame creation subroutine. (CodeRef)
new_TWindowInit
my $obj = new_TWindowInit($cFrame);
Creates a TWindowInit object from the specified frame creation subroutine.
METHODS
createFrame
my $frame = $self->createFrame($r);
Creates the frame for a TWindow using the specified TRect parameter $r.
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) 2021-2026 the "AUTHORS" as listed above.
This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).