FutureBasic Logo

<<    Index    >> FutureBasic

window function   object



Syntax
value = window( [selector] )

Description
The window function returns information related to a window (usually the current output window). The value you specify in selector determines what kind of information is returned. Calling this function with no selector will return the currently active (key) window.

Selectors
Selector
Return value
_windowKeyThe current key window (default)
_windowOutputThe current output window's tag value
_windowWidthThe width of the current output window
_windowHeightThe height of the current output window
_windowContentWidthThe content width of the current output window
_windowContentHeightThe content height of the current output window
Negative valueIf you specify a negative value in selector, returns a non-zero value if there exists a window whose tag value is abs(selector); it returns zero otherwise. The returned value does not depend on whether the window is currently visible or not; it only depends on whether the window has been created and not yet closed.
 

See also
window

Apple documentation
NSWindow
NSApplication