macOS-Oberfläche Mehr Details B · Offizielle Anleitung Plattform: macOS

Combo Button

Combo Button

Ein Combo Button teilt sich in eine Haupt-Aktion und ein kleines Menü daneben. Das Menü listet nahe Varianten derselben Aktion.

Du könntest es nennen Combo ButtonSplit-Buttonprimary action menuNSComboButton

Versuchen Sie ein Beispiel

Ein echtes Beispiel

Ein Klick auf Run startet den Standard-Build. Der Pfeil zeigt Run Without Debugging und Choose Target an.

Hauptteile

  1. 01Sichtbares Etikett
  2. 02Interaction target
  3. 03Current state
  4. 04Keyboard behavior

Verwenden Sie es, wenn

Verwenden Sie es, wenn eine sichere, übliche Aktion eindeutig die Hauptwahl ist. Ein kurzes Menü kann nahe Varianten dieser Aktion anbieten.

Nutze es nicht, wenn

Vermeide es, wenn alle Optionen gleich wichtig sind oder die Haupt-Aktion zerstörerisch ist. Das Menü darf heimlich ändern, was die andere Hälfte tut.

In Code verwendeter Name

AppKit NSComboButton / SwiftUI Menu with primaryAction

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.

Anfrage, die Sie kopieren können

Outcome: Complete the task with Combo Button (Combo Button). User context: Ein Klick auf Run startet den Standard-Build. Der Pfeil zeigt Run Without Debugging und Choose Target an. macOS concept or control: Combo Button (Combo Button). Why it fits: Verwenden Sie es, wenn eine sichere, übliche Aktion eindeutig die Hauptwahl ist. Ein kurzes Menü kann nahe Varianten dieser Aktion anbieten. Do not use it when: Vermeide es, wenn alle Optionen gleich wichtig sind oder die Haupt-Aktion zerstörerisch ist. Das Menü darf heimlich ändern, was die andere Hälfte tut. 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 Combo Button (Combo Button) is used now. Definition: Ein Combo Button teilt sich in eine Haupt-Aktion und ein kleines Menü daneben. Das Menü listet nahe Varianten derselben Aktion. 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.

B
Wie offiziell ist dieser Begriff?

Offizielle Anleitung

Die benannte Plattform, das Framework, Projekt oder Expertengruppe hat einen offiziellen Leitfaden für diesen Begriff.

Es ist offiziell für diese Quelle. Andere Plattformen oder Teams können den Begriff auf andere Weise verwenden.

Umfang
Nur das, was die Quelle abdeckt:Kanonischer Name、Definition、Plattform-API、Implementierung、Nutzungshinweise
Dokumentenstatus
stabil
Geprüft am
2026-07-30

Beweisquellen & Umfang

Autoritätsquelle · Apple · stabil Buttons Umfang: Kanonischer Name、Definition、Plattform-API、Implementierung、Nutzungshinweise Rolle hier: Autorität im angegebenen Rahmen Quelle umfasst: Kanonischer Name, Definition, Plattform-API, Implementierung, Nutzungshinweise Hintergrund-Quelle Apple Human Interface Guidelines — Designing for macOS Rolle hier: Hilfreicher Hintergrund, keine Definition

Selbst kopieren

Der Browser konnte dies nicht kopieren. Wählen Sie die Anfrage unten aus und kopieren Sie sie selbst.