NSWindowMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSWindowMBS class.

Toolbar Styles

NSWindowMBS.NSWindowToolbarStyleAutomatic = 0

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 20.3
One of the constants to specify the appearance of the titlebar area when the window displays a toolbar.
Example
Dim w as NSWindowMBS = window1.NSWindowMBS
w.toolbarStyle = NSWindowMBS.NSWindowToolbarStyleAutomatic

The system displays the toolbar based on the window’s given configuration.

NSWindowMBS.NSWindowToolbarStyleExpanded = 1

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 20.3
One of the constants to specify the appearance of the titlebar area when the window displays a toolbar.
Example
Dim w as NSWindowMBS = window1.NSWindowMBS
w.toolbarStyle = NSWindowMBS.NSWindowToolbarStyleExpanded

The toolbar appears below the window title.

NSWindowMBS.NSWindowToolbarStylePreference = 2

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 20.3
One of the constants to specify the appearance of the titlebar area when the window displays a toolbar.
Example
Dim w as NSWindowMBS = window1.NSWindowMBS
w.toolbarStyle = NSWindowMBS.NSWindowToolbarStylePreference

The toolbar appears below the window title and items in the toolbar are centered and have increased margins.

NSWindowMBS.NSWindowToolbarStyleUnified = 3

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 20.3
One of the constants to specify the appearance of the titlebar area when the window displays a toolbar.
Example
Dim w as NSWindowMBS = window1.NSWindowMBS
w.toolbarStyle = NSWindowMBS.NSWindowToolbarStyleUnified

The toolbar, when visible, appears inline with the window title.

NSWindowMBS.NSWindowToolbarStyleUnifiedCompact = 4

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 20.3
One of the constants to specify the appearance of the titlebar area when the window displays a toolbar.
Example
Dim w as NSWindowMBS = window1.NSWindowMBS
w.toolbarStyle = NSWindowMBS.NSWindowToolbarStyleUnifiedCompact

The toolbar appears inline and with the window title and with smaller margins when visible.

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


💬 Ask a question or report a problem