home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / auto / Tk / Checkbutton / ClassInit.al < prev    next >
Encoding:
Text File  |  1997-08-10  |  337 b   |  15 lines

  1. # NOTE: Derived from blib\lib\Tk\Checkbutton.pm.  Changes made here will be lost.
  2. package Tk::Checkbutton;
  3.  
  4. sub ClassInit
  5. {
  6.  my ($class,$mw) = @_;
  7.  $mw->bind($class,"<Enter>", "Enter");
  8.  $mw->bind($class,"<Leave>", "Leave");
  9.  $mw->bind($class,"<1>", "Invoke");
  10.  $mw->bind($class,"<space>", "Invoke");
  11.  return $class;
  12. }
  13.  
  14. 1;
  15.