;;; -*- mode: Lisp; Syntax: Common-Lisp; -*- ;;; ;;; Copyright (c) 2009 by the authors. ;;; ;;; See LICENCE for details. (in-package :hu.dwim.presentation) ;;;;;; ;;; node/widget (def (component e) node/widget (node/component collapsible/component standard/widget content/component child-nodes/mixin context-menu/mixin collapsible/mixin selectable/mixin frame-unique-id/mixin) ()) (def (macro e) node/widget ((&rest args &key &allow-other-keys) content &body child-nodes) `(make-instance 'node/widget ,@args :content ,content :child-nodes (list ,@child-nodes))) (def render-xhtml node/widget (bind (((:read-only-slots id child-nodes) -self-))