;;;; ;;;; T k - c l a s s e s . s t k l o s -- A set of autoloads for Tk classes ;;;; ;;;; Copyright © 1993-1998 Erick Gallesio - I3S-CNRS/ESSI ;;;; ;;;; Permission to use, copy, and/or distribute this software and its ;;;; documentation for any purpose and without fee is hereby granted, provided ;;;; that both the above copyright notice and this permission notice appear in ;;;; all copies and derived works. Fees for distribution or use of this ;;;; software or derived works may only be charged with express written ;;;; permission of the copyright holder. ;;;; This software is provided ``as is'' without express or implied warranty. ;;;; ;;;; $Id: Tk-classes.stklos 1.17 Sat, 26 Sep 1998 19:19:52 +0200 eg $ ;;;; ;;;; Author: Erick Gallesio [eg@unice.fr] ;;;; Creation date: 19-Sep-1994 16:00 ;;;; Last file update: 26-Sep-1998 16:00 (require "Tk-meta") ; for all the Tk meta classes (with-module STklos+Tk (define-macro (add-autoload name . l) `(begin ;; Specify a suffix for autoload because filenames are not case ;; sensitive under Win32! (autoload ,(string-append name ".stklos") ,@l) (export ,@l))) (define-macro (make-autoload name . l) ;; make 'name' autoload iff not already provided. `(unless (provided? ,name) (add-autoload ,name ,@l) (provide ,name))) ;; to avoid double definition. This is ugly ;==== Basic Tk widgets (make-autoload "Basics" ) (make-autoload "Button"