blob: 463a8da2c6b7fe29d9b9e9979dca5a343dbe6557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# NOTE: Derived from blib\lib\Tk\Widget.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk::Widget;
#line 1672 "blib\lib\Tk\Widget.pm (autosplit into blib\lib\auto\Tk\Widget\AltKeyInDialog.al)"
# ::tk::AltKeyInDialog --
# <Alt-Key> event handler for standard dialogs. Sends <<AltUnderlined>>
# to button or label which has appropriate underlined character
#
sub AltKeyInDialog
{
my ($w, $key) = @_;
my $target = $w->FindAltKeyTarget($key);
return if !$target;
$target->eventGenerate('<<AltUnderlined>>');
}
# end of Tk::Widget::AltKeyInDialog
1;
|