< Rebol Programming

USAGE:

RESET-FACE face /no-show 

DESCRIPTION:

Resets the primary value of a face.

RESET-FACE is a function value.

ARGUMENTS

  • face -- (Type: any)

REFINEMENTS

  • /no-show -- Do not show change yet

SOURCE CODE

reset-face: func [
    "Resets the primary value of a face." 
    face 
    /no-show "Do not show change yet" 
    /local access
][
    if all [
        access: get in face 'access 
        in access 'reset-face*
    ] [
        access/reset-face* face
    ] 
    if not no-show [show face] 
    face
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.