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.allowsAutomaticWindowTabbing as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared property Cocoa MBS MacBase Plugin 16.5 Yes No No Yes, macOS only No
Function: Allows automatic window tabbing when the value is true.
Example:
// disable automatic tabbing
NSWindowMBS.allowsAutomaticWindowTabbing = false
Notes:
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)

Feedback, Comments & Corrections

NSWindowMBS.userTabbingPreference as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared property Cocoa MBS MacBase Plugin 16.5 Yes No No Yes, macOS only No
Function: Returns the user's tabbing preference as set in System Preferences.
Example:
MsgBox str(NSWindowMBS.userTabbingPreference)
Notes:
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)

Feedback, Comments & Corrections

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




Links
MBS Xojo blog