Contextual menu

A contextual menu (or context-sensitive menu) is a menu which appears in response to a user action (typically a mouse or trackpad click) and whose contents are determined by which application icon, window, or interface element was clicked or has the input focus.

Description
Most graphical user interfaces use a secondary mouse button (right or middle) to call up a contextual pop-up menu as the primary mouse button is normally used to interact with objects which are already visible. Macs with a one-button mouse or trackpad can invoke the menu by holding down the control key while clicking.

The contextual menu often contains functions that are also available in a menu bar, but context-sensitivity allows it to provide quick access to a subset of functions that are more relevant to the interface element that was clicked on.

The "WIMP" interface uses only context-sensitive menus (always invoked by using the middle mouse button). This saves screen space and reduces mouse movement in comparison to a menu bar.

Contextual menus in Mac OS
Contextual menus were added to classic Mac OS versions 8.0 to 9.2.2 through the Contextual Menu Extension. More contextual features could be added to the Contextual Menu Items folder in the System Folder. In Mac OS X and mac OS, contextual menus are a built-in standard feature. A similar feature called Context Menus was added to iOS 13, iPadOS 13, and later.