reset-faces function
reset-faces: func [ faces [block!] "Block of face objects, or words that refer to faces." ][ foreach face faces [ reset-face either object? face [face] [get face] ] ]
12374 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
reset-faces: func [ faces [block!] "Block of face objects, or words that refer to faces." ][ foreach face faces [ reset-face either object? face [face] [get face] ] ]
clear-faces: func [ faces [block!] "Block of face objects, or words that refer to faces." ][ foreach face faces [ clear-face either object? face [face] [get face] ] ]
bring-to-front: func [face] [ append remove find face/parent-face/pane face face show face ] send-to-back: func [face] [ insert head remove find face/parent-face/pane face face show face/parent-face ]
click-face: func [ "Simulate a mouse click" face ][ face/feel/engage face 'down none ]