Traffic Lights
Traffic Lights
交通信号は、Macウィンドウの左上にある標準の赤、黄、緑のコントロールです。これらはウィンドウを閉じる、最小化する、拡大する、または全画面表示にする機能があります。
実際の例
書類のウインドウは、ツールバーを自分好みに変えても、おなじみの赤、黄、緑のボタンが残ります。
主な部分
- 01システム管理の先行クラスタ
- 02コントロールを閉じる
- 03コントロールを最小化
- 04ズームまたは全画面の制御
以下の場合に使用します
macOS に標準ウィンドウでこれらのコントロールを提供させ、操作を慣れ親しんだものとして明確に保ちましょう。
以下の場合は使用しないでください
信号ボタンを描き直したり、色を変えたり、順序を変えたり、コピーしたりしないでください。それらをコンテンツやブラウザフレームの装飾として使用しないでください。
コードで使用する名前
NSWindow standardWindowButton 出荷前に
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:書類のウインドウは、ツールバーを自分好みに変えても、おなじみの赤、黄、緑のボタンが残ります。 macOS concept or control:Traffic Lights (Traffic Lights)。 Why it fits:macOS に標準ウィンドウでこれらのコントロールを提供させ、操作を慣れ親しんだものとして明確に保ちましょう。 Do not use it when:信号ボタンを描き直したり、色を変えたり、順序を変えたり、コピーしたりしないでください。それらをコンテンツやブラウザフレームの装飾として使用しないでください。 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):その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。 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.
このリクエストを確認する
Review how Traffic Lights (Traffic Lights) is used now. Definition: 交通信号は、Macウィンドウの左上にある標準の赤、黄、緑のコントロールです。これらはウィンドウを閉じる、最小化する、拡大する、または全画面表示にする機能があります。 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.