;;;; ;;;; T k - m e t a . s t k -- Metaclasses definitions ;;;; ;;;; 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-meta.stklos 1.8 Fri, 10 Apr 1998 07:13:18 +0000 eg $ ;;;; ;;;; Author: Erick Gallesio [eg@unice.fr] ;;;; Creation date: 24-Feb-1994 15:08 ;;;; Last file update: 6-Apr-1998 10:03 ;;;; ;;;; ;;;; Compatibility: ;;;; - the :pseudo allocation is now replaced by :tk-virtual (Rob DeLine ;;;; proposition). However both name are accepted. Avoid to use :pseudo ;;;; since it will disappear in the future. ;;;; ;;;; - the :special allocation is now replaced by :propagated (Rob DeLine ;;;; proposition). However both name are accepted. Avoid to use :special ;;;; since it will disappear in the future. ;;;; ;;;; - the :propagate option for propagated slots is now replaced by ;;;; :propagate-to. Avoid to use :propagate since it will disappear in ;;;; the future. (require "stklos") ;;;; ;;;; Stuff for declaring the new module STklos+Tk and import it in STk ;;;; Note that the module Tk, is also defined here. This is useless, except ;;;; when making images (i.e. probably the -no-window option has been used, ;;;; avoiding the Tk initialization, and hence the Tk module definition) (define-module Tk) ; See comment above (define-module STklos+Tk (import STklos Tk)) ; Define module STklos+Tk (with-module STk (import STklos+Tk)) ; Import STklos+Tk in STk (select-module STklos+Tk) ; Rest of this file belongs ; to STklos+Tk module ;;;; ;;;; Metaclases exported by this file ;;;; (export ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; ;;;; class ;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; Define Tk slots getters and setters. In fact this metaclass permits ;; a direct mapping of STklos slots to the Tk-library widget options. ;; For instance, a