The constants control the presentation of the application. Typically, in fullscreen applications such as games or kiosks. They are used by the methods presentationOptions, currentSystemPresentationOptions, and setPresentationOptions.
Available in Mac OS X v10.6 and later.
C# | Visual Basic | Visual C++ |
public enum NSApplicationPresentationOptions
Public Enumeration NSApplicationPresentationOptions
public enum class NSApplicationPresentationOptions
Member | Description |
---|---|
NSApplicationPresentationDefault | This is the default presentation mode. The application is displayed as normal, including dock, menu bar, process switching is enabled, force quit is enabled, session termination is enabled, the hide menu is enabled, and the menu bar transparency is normal. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationAutoHideDock | The dock is normally hidden, but automatically appears when moused near. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationHideDock | The dock is entirely hidden and disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationAutoHideMenuBar | The menu bar is normally hidden, but automatically appears when moused near. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationHideMenuBar | The menu bar is entirely hidden and disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableAppleMenu | All Apple Menu items are disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableProcessSwitching | The process switching user interface (Command + Tab to cycle through applications) is disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableForceQuit | The force quit panel (displayed by pressing Command + Option + Esc) is disabled Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableSessionTermination | The panel that shows the Restart, Shut Down, and Log Out options that are displayed as a result of pushing the power key is disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableHideApplication | The application’s “Hide” menu item is disabled. Available in Mac OS X v10.6 and later. |
NSApplicationPresentationDisableMenuBarTransparency | The menu bar transparency appearance is disabled. Available in Mac OS X v10.6 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)