]> gitweb.factorcode.org Git - factor.git/blob - basis/ui/gadgets/borders/borders-docs.factor
1c0172041db874b60d907bd01052a43ffb298887
[factor.git] / basis / ui / gadgets / borders / borders-docs.factor
1 USING: help.markup help.syntax ui.gadgets math ;
2 IN: ui.gadgets.borders
3
4 HELP: border
5 { $class-description "A border gadget contains a single child and centers it, with a fixed-width border. Borders are created by calling " { $link <border> } "." } ;
6
7 HELP: <border>
8 { $values { "child" gadget } { "gap" "a pair of integers" } { "border" "a new " { $link border } } }
9 { $description "Creates a new border around the child with the specified horizontal and vertical gap." } ;
10
11 ARTICLE: "ui.gadgets.borders" "Border gadgets"
12 "The " { $vocab-link "ui.gadgets.borders" } " vocabulary implements border gadgets, which add empty space around a child gadget."
13 { $subsection border }
14 { $subsection <border> } ;
15
16 ABOUT: "ui.gadgets.borders"