Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
Window.GetToolbarStyle
Queries toolbar style.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
Window | 11.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No | Paid |
MBS( "Window.GetToolbarStyle"; WindowRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
WindowRef | Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. | 0 |
Result
Returns value or error.
Description
Queries toolbar style.The style that determines the appearance and location of the toolbar in relation to the title bar.
Value can be Automatic, Expanded, Preference, Unified or UnifiedCompact.
Requires macOS 11.0 or newer.
Examples
Query style:
Set Variable [ $style ; Value: MBS( "Window.GetToolbarStyle"; 0 /* current */ ) ]
See also
- Window.FindByIndex
- Window.FindByTitle
- Window.GetToolbarVisible
- Window.SetToolbarStyle
- Window.SetToolbarVisible
Release notes
- Version 11.0
- Added Window.GetToolbarStyle and Window.SetToolbarStyle for macOS 11.0
Blog Entries
Created 29th November 2020, last changed 11st January 2021
Window.GetToolbarDisplayMode - Window.GetToolbarVisible
Feedback: Report problem or ask question.
