macOS インターフェイス さらに詳細 B · 公式のガイダンス プラットフォーム: macOS

macOS Context Menu

macOS Context Menu

macOS Context Menu は、ポインタの下にある項目の、短いアクションリストだよ。副ボタンのクリック(右クリックなど)で開くよ。

仕組みを見る
そう呼ぶかもしれません macOS Context Menuコンテキストメニューright-click menuNSMenucontextMenu

仕組みを見る

元の作業例macOS Context Menu

もう一つの例

選択したファイルを右クリックすると、リストを離れずに名前の変更、複製、共有、ゴミ箱に移動が表示されます。

主な部分

  1. 01トリガー
  2. 02Anchored or modal surface
  3. 03Focus boundary
  4. 04Dismiss path

以下の場合に使用します

ポインター下のアイテムや選択に依存する、あまり一般的でない短い操作セットに使用します。

以下の場合は使用しないでください

重要なコマンドへの唯一の経路としてコンテキストメニューを使用しないでください。アプリ全体のコマンドは、1つのアイテムのアクションから離して配置してください。

コードで使用する名前

AppKit NSMenu / SwiftUI contextMenu

出荷前に

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 macOS Context Menu (macOS Context Menu)。 User context:選択したファイルを右クリックすると、リストを離れずに名前の変更、複製、共有、ゴミ箱に移動が表示されます。 macOS concept or control:macOS Context Menu (macOS Context Menu)。 Why it fits:ポインター下のアイテムや選択に依存する、あまり一般的でない短い操作セットに使用します。 Do not use it when:重要なコマンドへの唯一の経路としてコンテキストメニューを使用しないでください。アプリ全体のコマンドは、1つのアイテムのアクションから離して配置してください。 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 macOS Context Menu (macOS Context Menu) is used now. Definition: macOS Context Menu は、ポインタの下にある項目の、短いアクションリストだよ。副ボタンのクリック(右クリックなど)で開くよ。 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
この用語はどれくらい公式か?

公式のガイダンス

指定されたプラットフォーム、フレームワーク、プロジェクト、または専門グループには、この用語に関する公式ガイドがあります。

その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。

範囲
ソースがカバーするもののみ:正式名、定義、プラットフォームAPI、実装、使用ガイド
ドキュメントステータス
安定
チェックオン
2026-07-30

証拠の情報源と範囲

権威のある情報源 · Apple · 安定 Menus 範囲: 正式名、定義、プラットフォームAPI、実装、使用ガイド ここでの役割: 指定された範囲内の権威 ソースの範囲: 正式名, 定義, プラットフォームAPI, 実装, 使用ガイド 背景ソース Apple Human Interface Guidelines — Designing for macOS ここでの役割: 定義ではなく有用な背景情報

自分でコピーする

ブラウザはこれをコピーできませんでした。下のリクエストを選択して自分でコピーしてください。