Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # NOTE: Derived from blib/lib/Tk.pm. |
2 | # Changes made here will be lost when autosplit is run again. | |
3 | # See AutoSplit.pm. | |
4 | package Tk; | |
5 | ||
6 | #line 615 "blib/lib/Tk.pm (autosplit into blib/lib/auto/Tk/FirstMenu.al)" | |
7 | # tkFirstMenu -- | |
8 | # This procedure traverses to the first menubutton in the toplevel | |
9 | # for a given window, and posts that menubutton's menu. | |
10 | # | |
11 | # Arguments: | |
12 | # w - Name of a window. Selects which toplevel | |
13 | # to search for menubuttons. | |
14 | sub FirstMenu | |
15 | { | |
16 | my $w = shift; | |
17 | $w = $w->toplevel->FindMenu(''); | |
18 | } | |
19 | ||
20 | # end of Tk::FirstMenu | |
21 | 1; |