NAME
TUI::Gadgets::MouseDialog - dialog for configuring mouse options
HIERARCHY
TObject
TView
TGroup
TWindow
TDialog
TMouseDialog
SYNOPSIS
use TUI::Gadgets::MouseDialog;
my $dlg = new_TMouseDialog();
my $result = $deskTop->execView($dlg);
DESCRIPTION
TMouseDialog implements a small configuration dialog for mouse-related options.
The dialog contains a scrollbar that controls the double-click delay, a visual test area for mouse double-click detection and standard OK and Cancel buttons. Changes to the delay value are reflected in the global mouse event configuration.
CONSTRUCTOR
new
my $dlg = TMouseDialog->new();
Creates a new mouse options dialog.
new_TMouseDialog
my $dlg = new_TMouseDialog();
Factory-style constructor.
METHODS
handleEvent
$dlg->handleEvent($event);
Processes command and broadcast events.
The dialog updates $doubleDelay when the scrollbar value changes and restores the original value when the cancel command is received.
SEE ALSO
TUI::Dialogs::Dialog, TUI::Gadgets::ClickTester, TUI::Views::ScrollBar
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).