Jump to content

Rebol Programming/find-window

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
FIND-WINDOW face 

DESCRIPTION:

[edit | edit source]

Find a face's window face.

FIND-WINDOW is a function value.

ARGUMENTS

[edit | edit source]
  • face -- (Type: object)

SOURCE CODE

[edit | edit source]
find-window: func [
    "Find a face's window face." 
    face [object!]
][
    while [face/parent-face] [face: face/parent-face] 
    face
]