factor/basis/ui/gadgets/borders/borders-docs.factor

19 lines
725 B
Factor
Raw Normal View History

2007-09-20 18:09:08 -04:00
USING: help.markup help.syntax ui.gadgets math ;
IN: ui.gadgets.borders
HELP: border
{ $class-description "A border gadget contains a single child and centers it, with a fixed-width border. Borders are created by calling " { $link <border> } "." } ;
HELP: <border>
{ $values { "child" gadget } { "gap" "a pair of integers" } { "border" "a new " { $link border } } }
2007-09-20 18:09:08 -04:00
{ $description "Creates a new border around the child with the specified horizontal and vertical gap." } ;
ARTICLE: "ui.gadgets.borders" "Border gadgets"
2009-01-07 00:30:08 -05:00
"The " { $vocab-link "ui.gadgets.borders" } " vocabulary implements border gadgets, which add empty space around a child gadget."
{ $subsections
border
<border>
} ;
2007-09-20 18:09:08 -04:00
ABOUT: "ui.gadgets.borders"