widgets/panel/widget.ss
#lang scheme

(require "../../mred-plugin.ss"
         "../../default-values.ss"
         scheme/gui/base)


(make-plugin
 [type 'panel]
 [tooltip "Panel"]
 [button-group "Containers"]
 [widget-class panel%]
 [parent-class container-classes]
 [necessary '(parent)]     ; necessary properties
 [options '(id)]
 ( ; widget properties
  ; optional
  [style (prop:some-of '(border deleted) '())]
  [enabled #t]
  [vert-margin 0]
  [horiz-margin 0]
  [border 0]
  [spacing 0]
  [alignment (alignment-values 'center 'center)]
  [min-width  0]
  [min-height 0]
  [stretchable-width  #t]
  [stretchable-height #t]
  ))