Rebol 程式設計/in-window?
外觀
IN-WINDOW? window face
如果視窗包含給定面,則返回 true。
IN-WINDOW? 是一個函式值。
- window -- (型別:任何)
- face -- (型別:任何)
in-window?: func [
"Return true if a window contains a given face."
window face
][
if face = window [return true]
if none? face/parent-face [return false]
in-window? window face/parent-face
]