home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2006 December / PCpro_2006_12.ISO / ossdvd / server / Perl2 / site / lib / auto / Tk / Selection.al < prev    next >
Encoding:
Text File  |  2002-12-01  |  516 b   |  19 lines

  1. # NOTE: Derived from blib\lib\Tk.pm.
  2. # Changes made here will be lost when autosplit is run again.
  3. # See AutoSplit.pm.
  4. package Tk;
  5.  
  6. #line 628 "blib\lib\Tk.pm (autosplit into blib\lib\auto\Tk\Selection.al)"
  7. # These wrappers don't use method syntax so need to live
  8. # in same package as raw Tk routines are newXS'ed into.
  9.  
  10. sub Selection
  11. {my $widget = shift;
  12.  my $cmd    = shift;
  13.  croak 'Use SelectionOwn/SelectionOwner' if ($cmd eq 'own');
  14.  croak "Use Selection\u$cmd()";
  15. }
  16.  
  17. # end of Tk::Selection
  18. 1;
  19.