;;; -*- mode: Lisp; Syntax: Common-Lisp; -*- ;;; ;;; Copyright (c) 2009 by the authors. ;;; ;;; See LICENCE for details. (in-package :hu.dwim.presentation) ;;;;;; ;;; list/widget (def (component e) list/widget (standard/widget list/layout selection/mixin command-bar/mixin context-menu/mixin resizable/mixin scrollable/mixin collapsible/mixin page-navigation-bar/mixin) () (:documentation "A LIST/WIDGET has several COMPONENTs inside either positioned vertically or horizontally. It supports expanding, resizing, scrolling, page navigation, selection, highlighting and commands.")) (def (macro e) list/widget ((&rest args &key &allow-other-keys) &body contents) `(make-instance 'list/widget ,@args :contents (list ,@contents))) (def render-xhtml list/widget (bind (((:read-only-slots id style-class custom-style orientation contents page-navigation-bar) -self-))