Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / sun4-solaris / auto / Tk / Listbox / BeginExtend.al
CommitLineData
86530b38
AT
1# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
2# Changes made here will be lost when autosplit is run again.
3# See AutoSplit.pm.
4package Tk::Listbox;
5
6#line 267 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/BeginExtend.al)"
7# BeginExtend --
8#
9# This procedure is typically invoked on shift-button-1 presses. It
10# begins the process of extending a selection in the listbox. Its
11# exact behavior depends on the selection mode currently in effect
12# for the listbox; see the Motif documentation for details.
13#
14# Arguments:
15# w - The listbox widget.
16# el - The element for the selection operation (typically the
17# one under the pointer). Must be in numerical form.
18sub BeginExtend
19{
20 my $w = shift;
21 my $el = shift;
22 if ($w->cget('-selectmode') eq 'extended' && $w->selectionIncludes('anchor'))
23 {
24 $w->Motion($el)
25 }
26}
27
28# end of Tk::Listbox::BeginExtend
291;