LavaUI docs

struct WindowControls

Swift

struct WindowControls

The three controls as one cluster, in the order this desktop puts them.

Hover is shared: pointing at any one of them reveals all three glyphs, the way a group of controls behaves when it is read as a group. Which controls appear — and in what order — is the app's, so a window that cannot be resized simply does not list .maximize rather than showing a button that lies.

Sources/LavaUI/WindowControls.swift:295

Constructors

init(_ kinds: [WindowControlKind] = [.close, .minimize, .maximize], style: WindowControlsStyle = WindowControlsStyle())

Not documented.

Sources/LavaUI/WindowControls.swift:302

Properties

var body: some View { get }

Not documented.

Sources/LavaUI/WindowControls.swift:310

var kinds: [WindowControlKind]

Not documented.

Sources/LavaUI/WindowControls.swift:296

var style: WindowControlsStyle

Not documented.

Sources/LavaUI/WindowControls.swift:297