Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NSWindowMBS constants

Edge Constants

Constant Value Description
NSMaxXEdge 2 the maximum X edge. Typically right side.
NSMaxYEdge 3 The maximum Y edge. Topically the top edge of a window.
NSMinXEdge 0 the minimum X edge. Typically left side.
NSMinYEdge 1 Minimum Y. As coordinates are upside down in the Cocoa world, this is the bottom edge of a window.

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Animation Behavior Constants.

Constant Value Description
NSWindowAnimationBehaviorAlertPanel 5 Default behavior for alert window.
NSWindowAnimationBehaviorDefault 0 let AppKit infer animation behavior for this window
NSWindowAnimationBehaviorDocumentWindow 3 Default behavior for document window.
NSWindowAnimationBehaviorNone 2 suppress inferred animations (don't animate)
NSWindowAnimationBehaviorUtilityWindow 4 Default behavior for utility window.

Tabbing Modes

Constant Value Description
NSWindowTabbingModeAutomatic 0 The system automatically prefers to tab this window when appropriate.
NSWindowTabbingModeDisallowed 2 The window explicitly should not prefer to tab when shown
NSWindowTabbingModePreferred 1 The window explicitly should prefer to tab when shown.

Title Visibility

Constant Value Description
NSWindowTitleHidden 1 The always hidden mode hides the title and moves the toolbar up into the area previously occupied by the title.
NSWindowTitleHiddenWhenActive 2 This mode hides the title when the window is active, and shows it when inactive. It does not adjust toolbars.
NSWindowTitleVisible 0 The default mode has a normal window title and titlebar buttons.

User Tabbing Preferences

Constant Value Description
NSWindowUserTabbingPreferenceAlways 1
NSWindowUserTabbingPreferenceInFullScreen 2
NSWindowUserTabbingPreferenceManual 0

MBS Xojo PDF Plugins