Traffic Lights
Traffic Lights
I Semafori sono i controlli standard rosso, giallo e verde nell'angolo in alto a sinistra di una finestra Mac. Chiudono, minimizzano e ingrandiscono o entrano a schermo intero.
Un esempio vero
Una finestra di documento mantiene i soliti controlli rossi, gialli e verdi anche dopo aver personalizzato la sua barra degli strumenti.
Parti principali
- 01Cluster principale gestito dal sistema
- 02Chiudi controllo
- 03Controllo minimo
- 04Controllo zoom o schermo intero
Usalo quando
Lascia che macOS fornisca questi controlli sulle finestre standard affinché le loro azioni rimangano familiari e chiare.
Non usarlo quando
Non ridisegnare, ricolorare, riordinare o copiare i pulsanti dei semafori. Non usarli mai come decorazione nei contenuti o nei frame del browser.
Nome usato nel codice
NSWindow standardWindowButton Prima di spedire
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: Una finestra di documento mantiene i soliti controlli rossi, gialli e verdi anche dopo aver personalizzato la sua barra degli strumenti. macOS concept or control: Traffic Lights (Traffic Lights). Why it fits: Lascia che macOS fornisca questi controlli sulle finestre standard affinché le loro azioni rimangano familiari e chiare. Do not use it when: Non ridisegnare, ricolorare, riordinare o copiare i pulsanti dei semafori. Non usarli mai come decorazione nei contenuti o nei frame del browser. 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): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. 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.
Controlla questa richiesta
Review how Traffic Lights (Traffic Lights) is used now. Definition: I Semafori sono i controlli standard rosso, giallo e verde nell'angolo in alto a sinistra di una finestra Mac. Chiudono, minimizzano e ingrandiscono o entrano a schermo intero. 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.