home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netrunner 2004 October
/
NETRUNNER0410.ISO
/
regular
/
ActivePerl-5.8.4.810-MSWin32-x86.msi
/
_9a6592e748938fd1ccb9adb6e67251e2
< prev
next >
Wrap
Text File
|
2004-06-01
|
875b
|
33 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 188 "blib\lib\Tk\Toplevel.pm (autosplit into blib\lib\auto\Tk\Toplevel\FG_Out.al)"
# tkFocusGroup_Out --
#
# Handles the <FocusOut> event. Checks if this is really a lose
# focus event, not one generated by the mouse moving out of the
# toplevel window. Calls the FocusOut command for the widget
# who loses its focus.
#
sub FG_Out {
my($t, $w, $detail) = @_;
if ($detail ne 'NotifyNonlinear' and $detail ne 'NotifyNonlinearVirtual') {
# This is caused by mouse moving out of the window
return;
}
unless (exists $t->{'_FocusOut'}{$w}) {
return;
} else {
$t->{'_FocusOut'}{$w}->Call;
delete $t->{'_focus'};
}
}
1;
__END__
1;
# end of Tk::Toplevel::FG_Out