Handbook
Glossary
deploy-tool ( vocab -- )
Factor handbook
»
UI developer tools
»
UI application deployment tool
Vocabulary
ui
.
tools
.
deploy
Inputs
vocab
a vocabulary specifier
Outputs
None
Word description
Opens the graphical deployment tool for the specified vocabulary.
Examples
"tetris" deploy-tool
Definition
USING:
accessors
kernel
sequences
ui
ui.gadgets.borders
ui.gadgets.worlds
ui.tools.common
vocabs
;
IN:
ui.tools.deploy
:
deploy-tool
( vocab -- )
vocab-name
[
<deploy-gadget>
{
10 10
}
<border>
white-interior
]
[
<world-attributes>
swap
"Deploying '"
"'"
surround
>>title
[
{
dialog-window
}
append
]
change-window-controls
]
bi
open-window
;