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

NSToolbarMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa MBS MacControls Plugin 11.3 Yes No No Yes, macOS only No
Function: NSToolbar and NSToolbarItem provide the mechanism for a titled window to display a toolbar just below its title bar.

Feedback, Comments & Corrections

Display Mode Constants

Constant Value Description
NSToolbarDisplayModeDefault 0 The default display mode.
NSToolbarDisplayModeIconAndLabel 1 The toolbar will display icons and labels.
NSToolbarDisplayModeIconOnly 2 The toolbar will display only icons.
NSToolbarDisplayModeLabelOnly 3 The toolbar will display only labels.

SizeMode Constants

Constant Value Description
NSToolbarSizeModeDefault 0 The toolbar uses the system-defined default size, which is NSToolbarSizeModeRegular.
NSToolbarSizeModeRegular 1 The toolbar uses regular-sized controls and 32 by 32 pixel icons.
NSToolbarSizeModeSmall 2 The toolbar uses small-sized controls and 24 by 24 pixel icons.

Sub classes:

Some methods using this class:

Some properties using for this class:

Some examples which use this class:


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


NSToolbarItemMBS   -   NSTouchBarItemMBS




Links
MBS FileMaker blog