Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowMBS class.

NSWindowMBS.allowsAutomaticWindowTabbing as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property Cocoa MBS MacBase Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Allows automatic window tabbing when the value is true.
Example
// disable automatic tabbing
NSWindowMBS.allowsAutomaticWindowTabbing = false

By default, this will be set to true, but applications can explicitly opt out of all automatic tabbing by setting it to false, and can still adoped explicit window tabbing, if desired.
Raises an exception when used on OS X 10.11 and older.
(Read and Write property)

NSWindowMBS.userTabbingPreference as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property Cocoa MBS MacBase Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the user's tabbing preference as set in System Preferences.
Example
MsgBox str(NSWindowMBS.userTabbingPreference)

This value should be queried anytime a new window is made to see if the user wants to automatically show it in tabs.

Can be NSWindowUserTabbingPreferenceManual, NSWindowUserTabbingPreferenceAlways or NSWindowUserTabbingPreferenceInFullScreen.
Raises an exception when used on OS X 10.11 and older.
(Read only property)

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...