Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSApplicationMBS class.
Activation Policy Constants
NSApplicationMBS.NSApplicationActivationPolicyAccessory = 1
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
The application does not appear in the Dock and does not have a menu bar, but it may be activated programmatically or by clicking on one of its windows. This corresponds to value of the LSUIElement key in the application's Info.plist being 1.
Available in Mac OS X v10.6 and later.
NSApplicationMBS.NSApplicationActivationPolicyProhibited = 2
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
The application does not appear in the Dock and may not create windows or be activated. This corresponds to the value of the LSBackgroundOnly key in the application's Info.plist being 1. This is also the default for unbundled executables that do not have Info.plists.
Available in Mac OS X v10.6 and later.
NSApplicationMBS.NSApplicationActivationPolicyRegular = 0
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
The application is an ordinary app that appears in the Dock and may have a user interface. This is the default for bundled apps, unless overridden in the Info.plist.
Available in Mac OS X v10.6 and later.
Presentation Option Constants.
NSApplicationMBS.NSApplicationPresentationAutoHideDock = 1
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationAutoHideMenuBar = 4
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationAutoHideToolbar = 2048
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
Fullscreen window toolbar is detached from window and hides/shows with autoHidden menuBar. May be used only when both NSApplicationPresentationFullScreen and NSApplicationPresentationAutoHideMenuBar are also set
Available on Mac OS X 10.7 or newer.
NSApplicationMBS.NSApplicationPresentationDefault = 0
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableAppleMenu = 16
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableCursorLocationAssistance = 4096 New in 26.3
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 26.3 |
"Shake mouse pointer to locate" is disabled for this application.
NSApplicationMBS.NSApplicationPresentationDisableForceQuit = 64
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableHideApplication = 256
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableMenuBarTransparency = 512
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableProcessSwitching = 32
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationDisableScreenCornerInteractions = 32768 New in 26.3
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 26.3 |
Disable screen corner interactions when the application is frontmost. autoHideDock or hideDock must also be set for this option to take effect.
NSApplicationMBS.NSApplicationPresentationDisableSessionTermination = 128
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationFullScreen = 1024
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
Application is in fullscreen mode.
Available on Mac OS X 10.7 or newer.
NSApplicationMBS.NSApplicationPresentationHideDock = 2
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
NSApplicationMBS.NSApplicationPresentationHideMenuBar = 8
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
Request type constants.
NSApplicationMBS.NSCriticalRequest = 0
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
The user attention request is a critical request.
The dock icon will bounce until either the application becomes active or the request is canceled.
NSApplicationMBS.NSInformationalRequest = 10
| Type | Topic | Plugin | Version |
| const | Cocoa | MBS MacCocoa Plugin | 11.2 |
The user attention request is an informational request.
The dock icon will bounce for one second. The request, though, remains active until either the application becomes active or the request is canceled.
The items on this page are in the following plugins: MBS MacCocoa Plugin.