SwiftstructDesignLibrary
struct DesignLibrary.MacGlassButton
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 10
- field
var _appearsActive: SwiftUI.Environment<Bool> - field
var _borderShape: SwiftUI.Environment<DesignLibrary.ResolvedControlBorderShape> - field
var _tintColor: SwiftUI.Environment<SwiftUI.Color?> - field
var interactionState: DesignLibrary.InteractionState - field
var label: A - field
var macSizeClass: DesignLibrary.MacSizeClass - field
var tintProminence: DesignLibrary.ButtonTintProminence - field
var toggleValue: DesignLibrary.ToggleValue - field
var variant: DesignLibrary.MacGlassButtonVariant - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._VariadicView.Tree<SwiftUI._LayoutRoot<DesignLibrary.FlexiblePaddingLayout>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<A, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<SwiftUI.Font>>>, SwiftUI._ForegroundStyleModifier<DesignLibrary.MacButtonGlassForegroundStyle>>>, SwiftUI._PaddingLayout>, SwiftUI._BackgroundModifier<SwiftUI.StrokeShapeView<DesignLibrary.ResolvedControlBorderShape, SwiftUI._OpacityShapeStyle<DesignLibrary.ControlBorderShapeStyle>, SwiftUI.FillShapeView<DesignLibrary.ResolvedControlBorderShape, DesignLibrary.MacButtonGlassInteractionFill, SwiftUI._ShapeView<DesignLibrary.ResolvedControlBorderShape, SwiftUI.AnyShapeStyle>>>>>, SwiftUI.StaticIf<SwiftUI.GlassEnabledPredicate, SwiftUI.GlassEffectModifier, SwiftUI.EmptyModifier>>, SwiftUI._ContentShapeModifier<DesignLibrary.ResolvedControlBorderShape>>, SwiftUI._ContentShapeKindModifier<DesignLibrary.ResolvedControlBorderShape.Inset>>
Header
struct MacGlassButton<A> where A: SwiftUI.View { // synthesized from the backing storage `_appearsActive`; the property's own accessors are stripped @SwiftUI.Environment var appearsActive: Swift.Bool { get } // synthesized from the backing storage `_borderShape`; the property's own accessors are stripped @SwiftUI.Environment var borderShape: DesignLibrary.ResolvedControlBorderShape { get } // synthesized from the backing storage `_tintColor`; the property's own accessors are stripped @SwiftUI.Environment var tintColor: SwiftUI.Color? { get } var interactionState: DesignLibrary.InteractionState var tintProminence: DesignLibrary.ButtonTintProminence var variant: DesignLibrary.MacGlassButtonVariant var macSizeClass: DesignLibrary.MacSizeClass var toggleValue: DesignLibrary.ToggleValue var label: A }