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.SetTitlebarSeparatorStyle
Sets titlebar separator style.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
Window | 11.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No | Paid |
MBS( "Window.SetTitlebarSeparatorStyle"; WindowRef; Mode ) 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 |
Mode | The new mode. Value can be Automatic, None, Line or Shadow. |
"Line" |
Result
Returns OK or error.
Description
Sets titlebar separator style.The type of separator that the app displays between the title bar and content of a window.
Requires macOS 11.0 or newer.
Automatic | A style indicating that the system determines the type of separator. |
Line | A style indicating that the title bar separator is a line. |
None | A style indicating that there’s no title bar separator. |
Shadow | A style indicating that the title bar separator is a shadow. |
Examples
Set titlebar separator:
Set Variable [ $r ; Value: MBS( "Window.SetTitlebarSeparatorStyle"; 0 /* current */; "Line" ) ]
See also
Release notes
- Version 11.0
- Added Window.GetTitlebarSeparatorStyle and Window.SetTitlebarSeparatorStyle functions.
Blog Entries
Created 29th November 2020, last changed 11st January 2021
Window.SetTitlebarAppearsTransparent - Window.SetToolbarConfiguration
Feedback: Report problem or ask question.
