;;;; ;;;; T k - c l a s s e s . s t k l o s -- A set of autoloads for Tk classes ;;;; ;;;; Copyright © 1993-1999 Erick Gallesio - I3S-CNRS/ESSI ;;;; ;;;; Permission to use, copy, modify, distribute,and license this ;;;; software and its documentation for any purpose is hereby granted, ;;;; provided that existing copyright notices are retained in all ;;;; copies and that this notice is included verbatim in any ;;;; distributions. No written agreement, license, or royalty fee is ;;;; required for any of the authorized uses. ;;;; This software is provided ``AS IS'' without express or implied ;;;; warranty. ;;;; ;;;; Author: Erick Gallesio [eg@unice.fr] ;;;; Creation date: 19-Sep-1994 16:00 ;;;; Last file update: 3-Sep-1999 20:11 (eg) (require "Tk-meta") ; for all the Tk meta classe (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"