Traffic Lights
Traffic Lights
Ampeln sind die standardmäßigen roten, gelben und grünen Steuerungen oben links in einem Mac-Fenster. Sie schließen, minimieren und vergrößern oder wechseln in den Vollbildmodus.
Ein echtes Beispiel
Ein Dokumentenfenster behält die bekannten roten, gelben und grünen Bedienelemente, nachdem seine Symbolleiste angepasst wurde.
Hauptteile
- 01Systemverwalteter führender Cluster
- 02Schließen-Steuerung
- 03Kontrolle minimieren
- 04Zoom- oder Vollbildsteuerung
Verwenden Sie es, wenn
Lassen Sie macOS diese Steuerungen in Standardfenstern bereitstellen, damit ihre Aktionen vertraut und klar bleiben.
Nutze es nicht, wenn
Zeichne die Ampel-Buttons nicht neu, färbe sie nicht um, sortiere sie oder kopiere sie. Nutze sie nie als Dekoration in Inhalten oder Browser-Fenstern.
In Code verwendeter Name
NSWindow standardWindowButton Vor dem Ausliefern
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with Traffic Lights (Traffic Lights). User context: Ein Dokumentenfenster behält die bekannten roten, gelben und grünen Bedienelemente, nachdem seine Symbolleiste angepasst wurde. macOS concept or control: Traffic Lights (Traffic Lights). Why it fits: Lassen Sie macOS diese Steuerungen in Standardfenstern bereitstellen, damit ihre Aktionen vertraut und klar bleiben. Do not use it when: Zeichne die Ampel-Buttons nicht neu, färbe sie nicht um, sortiere sie oder kopiere sie. Nutze sie nie als Dekoration in Inhalten oder Browser-Fenstern. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): Es ist offiziell für diese Quelle. Andere Plattformen oder Teams können den Begriff auf andere Weise verwenden. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Diese Anfrage prüfen
Review how Traffic Lights (Traffic Lights) is used now. Definition: Ampeln sind die standardmäßigen roten, gelben und grünen Steuerungen oben links in einem Mac-Fenster. Sie schließen, minimieren und vergrößern oder wechseln in den Vollbildmodus. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.