### Enumeration

# WebKit ContextMenuAction

unstable since: 6.0

#### Declaration

    enum WebKit.ContextMenuAction

#### Description [src]

Enum values used to denote the stock actions for `WebKitContextMenuItem`s.

Available since: 6.0

#### Members

`WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION`

  No action, used by separator menu items.

  - Value: `0`
  - Nickname: `no-action`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK`

  Open current link.

  - Value: `1`
  - Nickname: `open-link`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW`

  Open current link in a new window.

  - Value: `2`
  - Nickname: `open-link-in-new-window`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK`

  Download link destination.

  - Value: `3`
  - Nickname: `download-link-to-disk`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD`

  Copy link location to the clipboard.

  - Value: `4`
  - Nickname: `copy-link-to-clipboard`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW`

  Open current image in a new window.

  - Value: `5`
  - Nickname: `open-image-in-new-window`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK`

  Download current image.

  - Value: `6`
  - Nickname: `download-image-to-disk`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD`

  Copy current image to the clipboard.

  - Value: `7`
  - Nickname: `copy-image-to-clipboard`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD`

  Copy current image location to the clipboard.

  - Value: `8`
  - Nickname: `copy-image-url-to-clipboard`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW`

  Open current frame in a new window.

  - Value: `9`
  - Nickname: `open-frame-in-new-window`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_GO_BACK`

  Load the previous history item.

  - Value: `10`
  - Nickname: `go-back`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD`

  Load the next history item.

  - Value: `11`
  - Nickname: `go-forward`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_STOP`

  Stop any ongoing loading operation.

  - Value: `12`
  - Nickname: `stop`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_RELOAD`

  Reload the contents of current view.

  - Value: `13`
  - Nickname: `reload`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY`

  Copy current selection the clipboard.

  - Value: `14`
  - Nickname: `copy`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_CUT`

  Cut current selection to the clipboard.

  - Value: `15`
  - Nickname: `cut`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_PASTE`

  Paste clipboard contents.

  - Value: `16`
  - Nickname: `paste`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_DELETE`

  Delete current selection.

  - Value: `17`
  - Nickname: `delete`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL`

  Select all text.

  - Value: `18`
  - Nickname: `select-all`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS`

  Input methods menu.

  - Value: `19`
  - Nickname: `input-methods`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_UNICODE`

  Unicode menu.

  - Value: `20`
  - Nickname: `unicode`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS`

  A proposed replacement for a misspelled word.

  - Value: `21`
  - Nickname: `spelling-guess`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND`

  An indicator that spellchecking found no proposed replacements.

  - Value: `22`
  - Nickname: `no-guesses-found`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING`

  Causes the spellchecker to ignore the word for this session.

  - Value: `23`
  - Nickname: `ignore-spelling`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING`

  Causes the spellchecker to add the word to the dictionary.

  - Value: `24`
  - Nickname: `learn-spelling`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR`

  Ignore grammar.

  - Value: `25`
  - Nickname: `ignore-grammar`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU`

  Font options menu.

  - Value: `26`
  - Nickname: `font-menu`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_BOLD`

  Bold.

  - Value: `27`
  - Nickname: `bold`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_ITALIC`

  Italic.

  - Value: `28`
  - Nickname: `italic`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE`

  Underline.

  - Value: `29`
  - Nickname: `underline`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OUTLINE`

  Outline.

  - Value: `30`
  - Nickname: `outline`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT`

  Open current element in the inspector.

  - Value: `31`
  - Nickname: `inspect-element`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW`

  Open current video element in a new window.

  - Value: `32`
  - Nickname: `open-video-in-new-window`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW`

  Open current audio element in a new window.

  - Value: `33`
  - Nickname: `open-audio-in-new-window`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD`

  Copy video link location in to the clipboard.

  - Value: `34`
  - Nickname: `copy-video-link-to-clipboard`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD`

  Copy audio link location in to the clipboard.

  - Value: `35`
  - Nickname: `copy-audio-link-to-clipboard`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS`

  Enable or disable media controls.

  - Value: `36`
  - Nickname: `toggle-media-controls`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP`

  Enable or disable media loop.

  - Value: `37`
  - Nickname: `toggle-media-loop`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN`

  Show current video element in fullscreen mode.

  - Value: `38`
  - Nickname: `enter-video-fullscreen`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY`

  Play current media element.

  - Value: `39`
  - Nickname: `media-play`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE`

  Pause current media element.

  - Value: `40`
  - Nickname: `media-pause`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE`

  Mute current media element.

  - Value: `41`
  - Nickname: `media-mute`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK`

  Download video to disk. Since 2.2

  - Value: `42`
  - Nickname: `download-video-to-disk`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK`

  Download audio to disk. Since 2.2

  - Value: `43`
  - Nickname: `download-audio-to-disk`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI`

  Insert an emoji. Since 2.26

  - Value: `44`
  - Nickname: `insert-emoji`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT`

  Paste clipboard contents as plain text. Since 2.30

  - Value: `45`
  - Nickname: `paste-as-plain-text`
  - Available since: 6.0
`WEBKIT_CONTEXT_MENU_ACTION_CUSTOM`

  Custom action defined by applications.

  - Value: `10000`
  - Nickname: `custom`
  - Available since: 6.0