FutureBasic Logo

<<    Index    >> FutureBasic

window   statement



Syntax
window tag, title, rect, style

Description
This statement does any of the following:
Parameters
Parameter
Description
tag A positive or negative integer whose absolute value is in the range 1 through 1000000.
title A CFString expression.
rect A rectangle in global screen coordinates. You can express it in either of two forms:
(i) (x,y,w,h) where x,y are the origin and w,h the size of the window.
(ii) A CGRect value
style Window style options can be combined using '+':
NSWindowStyleMaskBorderless
NSWindowStyleMaskTitled
NSWindowStyleMaskClosable
NSWindowStyleMaskMiniaturizable
NSWindowStyleMaskResizable
NSWindowStyleMaskTexturedBackground
NSWindowStyleMaskUnifiedTitleAndToolbar
NSWindowStyleMaskFullScreen
NSWindowStyleMaskFullSizeContentView
NSWindowStyleMaskUtilityWindow
NSWindowStyleMaskDocModalWindow
NSWindowStyleMaskNonactivatingPanel
NSWindowStyleMaskHUDWindow


Default: NSWindowStyleMaskTitled + NSWindowStyleMaskClosable + NSWindowStyleMaskMiniaturizable + NSWindowStyleMaskResizable
 
Dialog events
_windowWillBeginSheet
_windowDidEndSheet
_windowWillResize
_windowDidResize
_windowWillStartLiveResize
_windowDidEndLiveResize
_windowWillMiniaturize
_windowDidMiniaturize
_windowDidDeminiaturize
_windowShouldZoom
_windowWillEnterFullScreen
_windowDidEnterFullScreen
_windowWillExitFullScreen
_windowDidExitFullScreen
_windowDidFailToEnterFullScreen
_windowDidFailToExitFullScreen
_windowWillMove
_windowDidMove
_windowDidChangeScreen
_windowShouldClose
_windowWillClose
_windowDidBecomeKey
_windowDidResignKey
_windowDidBecomeMain
_windowDidResignMain
_windowDidUpdate

// Dragging events
_windowDraggingEntered
_windowWantsPeriodicDraggingUpdates
_windowDraggingUpdate
_windowDraggingEnded
_windowDraggingExited
_windowPrepareForDragOperation
_windowPerformDragOperation
_windowConcludeDragOperation
_windowUpdateDraggingItemsForDrag

// Subclass events
_windowMouseDown
_windowMouseUp
_windowKeyDown
_windowKeyUp
_windowFlagsChanged
_windowMouseEntered
_windowMouseExited

See also
window close; window [function]; window output

Apple documentation
NSWindow