Rebol 程式設計/set-face
外觀
SET-FACE face value /no-show
設定一個面的主要值。返回面對象(用於顯示)。
SET-FACE 是一個函式值。
- face -- (型別:任何)
- value -- (型別:任何)
- /no-show -- 暫不顯示更改
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
]