home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / perl / Enter.al < prev    next >
Encoding:
Text File  |  2003-11-16  |  559 b   |  22 lines

  1. # NOTE: Derived from ..\blib\lib\Tk\Scrollbar.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Tk::Scrollbar;
  5.  
  6. #line 86 "..\blib\lib\Tk\Scrollbar.pm (autosplit into ..\blib\lib\auto\Tk\Scrollbar\Enter.al)"
  7. sub Enter
  8. {
  9.  my $w = shift;
  10.  my $e = $w->XEvent;
  11.  if ($Tk::strictMotif)
  12.   {
  13.    my $bg = $w->cget('-background');
  14.    $activeBg = $w->cget('-activebackground');
  15.    $w->configure('-activebackground' => $bg);
  16.   }
  17.  $w->activate($w->identify($e->x,$e->y));
  18. }
  19.  
  20. # end of Tk::Scrollbar::Enter
  21. 1;
  22.