411 REFERENCE · Wikibooks
Rebol Programming/set-face
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
USAGE:
SET-FACE face value /no-show
DESCRIPTION:
Sets the primary value of a face. Returns face object (for show).
SET-FACE is a function value.
ARGUMENTS
face -- (Type: any)
value -- (Type: any)
REFINEMENTS
/no-show -- Do not show change yet
SOURCE CODE
set-face: func [
{Sets the primary value of a face. Returns face object (for show).}
face
value
/no-show "Do not show change yet"
/local access
][
if all [
access: get in face 'access
in access 'set-face*
] [
access/set-face* face value
]
if not no-show [show face]
face
]