home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netrunner 2004 October
/
NETRUNNER0410.ISO
/
regular
/
ActivePerl-5.8.4.810-MSWin32-x86.msi
/
_f0345a6136f84b5cc71aecdd6b547983
< prev
next >
Wrap
Text File
|
2004-06-01
|
677b
|
25 lines
# NOTE: Derived from blib\lib\Tk\Toplevel.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Tk::Toplevel;
#line 172 "blib\lib\Tk\Toplevel.pm (autosplit into blib\lib\auto\Tk\Toplevel\FG_In.al)"
# tkFocusGroup_In --
#
# Handles the <FocusIn> event. Calls the FocusIn command for the newly
# focused widget in the focus group.
#
sub FG_In {
my($t, $w, $detail) = @_;
if (defined $t->{'_focus'} and $t->{'_focus'} eq $w) {
# This is already in focus
return;
} else {
$t->{'_focus'} = $w;
$t->{'_FocusIn'}{$w}->Call if exists $t->{'_FocusIn'}{$w};
}
}
# end of Tk::Toplevel::FG_In
1;