Handbook
Glossary
$
Vocabulary
ui
.
gadgets
.
layout
Syntax
$ PLACEHOLDER-NAME $
Word description
Defines an insertion point in a template named PLACEHOLDER-NAME which can be used by calling its name
Definition
USING:
assocs
kernel
lexer
namespaces
parser
sequences
words
;
IN:
ui.gadgets.layout
SYNTAX:
$
scan-new-word
dup
[
[
dup
templates
get
at
[
nip
,
]
[
not-in-template
]
if*
]
curry
( -- )
define-declared
"$"
expect
]
[
[
<placeholder>
[
swap
templates
get
set-at
]
keep
,
]
curry
]
bi
append!
;