MCPcopy Create free account
hub / github.com/Effect-TS/effect / Toolbar

Enum Toolbar

packages/ui/native/macos/EffectUIWindow.swift:22–28  ·  view source on GitHub ↗

Title bar and toolbar style.

Source from the content-addressed store, hash-verified

20
21 /// Title bar and toolbar style.
22 public enum Toolbar: Hashable, Sendable {
23 /// Hides the title and uses a unified toolbar to align traffic lights with a 52pt top row.
24 /// Adds an empty toolbar if the window has none.
25 case unifiedInset
26 /// Restores title bar settings changed by this helper and removes any toolbar it added.
27 case none
28 }
29
30 private static var windowStateKey: UInt8 = 0
31 private static var blurHooks: (monitor: Any, close: NSObjectProtocol)?

Callers 5

Toolbar.tst.tsFile · 0.85
Runtime.test.tsFile · 0.85
widgetsFunction · 0.85
tiles.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected