racket/collects/scribblings/gui/subarea-intf.scrbl
Eli Barzilay 264af9a6d0 improved scribble syntax use
svn: r8720
2008-02-19 12:22:45 +00:00

47 lines
1.2 KiB
Racket

#lang scribble/doc
@(require "common.ss")
@definterface/title[subarea<%> (area<%>)]{
A @scheme[subarea<%>] is a containee @scheme[area<%>].
All @scheme[subarea<%>] classes accept the following named
instantiation arguments:
@itemize{
@item{@indexed-scheme[horiz-margin] --- default is @scheme[2] for
@scheme[control<%>] classes and @scheme[group-box-panel%],
@scheme[0] for others; passed to
@method[subarea<%> horiz-margin]}
@item{@indexed-scheme[vert-margin] --- default is @scheme[2] for
@scheme[control<%>] classes and @scheme[group-box-panel%],
@scheme[0] for others; passed to
@method[subarea<%> vert-margin]}
}
@defmethod*[([(horiz-margin)
(integer-in 0 1000)]
[(horiz-margin [margin (integer-in 0 1000)])
void?])]{
Gets or sets the area's horizontal margin, which is added both to the
right and left, for geometry management. See @|geomdiscuss| for more
information.
}
@defmethod*[([(vert-margin)
(integer-in 0 1000)]
[(vert-margin [margin (integer-in 0 1000)])
void?])]{
Gets or sets the area's vertical margin, which is added both to the
top and bottom, for geometry management. See @|geomdiscuss| for more
information.
}}