/usr/lib/perl5/auto/Tk/TraverseToMenu.al is in perl-tk 1:804.031-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # NOTE: Derived from blib/lib/Tk.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk;
#line 723 "blib/lib/Tk.pm (autosplit into blib/lib/auto/Tk/TraverseToMenu.al)"
# tkTraverseToMenu --
# This procedure implements keyboard traversal of menus. Given an
# ASCII character "char", it looks for a menubutton with that character
# underlined. If one is found, it posts the menubutton's menu
#
# Arguments:
# w - Window in which the key was typed (selects
# a toplevel window).
# char - Character that selects a menu. The case
# is ignored. If an empty string, nothing
# happens.
sub TraverseToMenu
{
my $w = shift;
my $char = shift;
return unless(defined $char && $char ne '');
$w = $w->toplevel->FindMenu($char);
}
# end of Tk::TraverseToMenu
1;
|