Rebol 编程/unview
外观
< Rebol 编程
UNVIEW /all /only face
关闭窗口视图,除了主视图。
UNVIEW 是一个函数值。
- /all -- 关闭所有视图,包括主视图
- /only
- face -- 关闭单个视图(类型:对象)
unview: func [ "Closes window views, except main view." /all "Close all views, including main view" /only face [object!] "Close a single view" /local pane ][ pane: head system/view/screen-face/pane either only [remove find pane face] [ either all [clear pane] [remove back tail pane] ] show system/view/screen-face ]