| Server IP : 172.67.220.81 / Your IP : 216.73.216.12 Web Server : Apache System : Linux semi1.us.cloudlogin.co 5.10.244-xeon-hst #1 SMP Sun Sep 14 17:09:20 UTC 2025 x86_64 User : xessglobal ( 271017) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : ON Directory : /proc/self/root/lib64/perl5/vendor_perl/auto/Tk/Listbox/ |
Upload File : |
# NOTE: Derived from ../blib/lib/Tk/Listbox.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk::Listbox;
#line 838 "../blib/lib/Tk/Listbox.pm (autosplit into ../blib/lib/auto/Tk/Listbox/SelectAll.al)"
# SelectAll
#
# This procedure is invoked to handle the "select all" operation.
# For single and browse mode, it just selects the active element.
# Otherwise it selects everything in the widget.
#
# Arguments:
# w - The listbox widget.
sub SelectAll
{
my $w = shift;
my $mode = $w->cget('-selectmode');
if ($mode eq 'single' || $mode eq 'browse')
{
$w->selectionClear(0,'end');
$w->selectionSet('active')
}
else
{
$w->selectionSet(0,'end')
}
$w->eventGenerate("<<ListboxSelect>>");
}
# end of Tk::Listbox::SelectAll
1;