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

10 lines
508 B
Factor
Raw Normal View History

2008-01-05 17:27:15 -05:00
USING: help.markup help.syntax ui.gadgets models ;
IN: ui.gadgets.viewports
2007-09-20 18:09:08 -04:00
HELP: viewport
2007-11-14 16:35:17 -05:00
{ $class-description "A viewport is a control which positions a child gadget translated by the " { $link control-value } " vector. Viewports can be created directly by calling " { $link <viewport> } "." } ;
2007-09-20 18:09:08 -04:00
HELP: <viewport>
{ $values { "content" gadget } { "model" model } { "viewport" "a new " { $link viewport } } }
{ $description "Creates a new " { $link viewport } " containing " { $snippet "content" } "." } ;