Enums¶
Details¶
- class WebKitWebProcessExtension.ContextMenuAction(value)¶
Bases:
GLib.Enum
Enum values used to denote the stock actions for
WebKitWebProcessExtension.ContextMenuItem
s- NO_ACTION = 0¶
No action, used by separator menu items.
- OPEN_LINK = 1¶
Open current link.
- GO_BACK = 10¶
Load the previous history item.
- CUSTOM = 10000¶
Custom action defined by applications.
- GO_FORWARD = 11¶
Load the next history item.
- STOP = 12¶
Stop any ongoing loading operation.
- RELOAD = 13¶
Reload the contents of current view.
- COPY = 14¶
Copy current selection the clipboard.
- CUT = 15¶
Cut current selection to the clipboard.
- PASTE = 16¶
Paste clipboard contents.
- DELETE = 17¶
Delete current selection.
- SELECT_ALL = 18¶
Select all text.
- INPUT_METHODS = 19¶
Input methods menu.
- OPEN_LINK_IN_NEW_WINDOW = 2¶
Open current link in a new window.
- UNICODE = 20¶
Unicode menu.
- SPELLING_GUESS = 21¶
A proposed replacement for a misspelled word.
- NO_GUESSES_FOUND = 22¶
An indicator that spellchecking found no proposed replacements.
- IGNORE_SPELLING = 23¶
Causes the spellchecker to ignore the word for this session.
- LEARN_SPELLING = 24¶
Causes the spellchecker to add the word to the dictionary.
- IGNORE_GRAMMAR = 25¶
Ignore grammar.
- FONT_MENU = 26¶
Font options menu.
- BOLD = 27¶
Bold.
- ITALIC = 28¶
Italic.
- UNDERLINE = 29¶
Underline.
- DOWNLOAD_LINK_TO_DISK = 3¶
Download link destination.
- OUTLINE = 30¶
Outline.
- INSPECT_ELEMENT = 31¶
Open current element in the inspector.
- OPEN_VIDEO_IN_NEW_WINDOW = 32¶
Open current video element in a new window.
- OPEN_AUDIO_IN_NEW_WINDOW = 33¶
Open current audio element in a new window.
- COPY_VIDEO_LINK_TO_CLIPBOARD = 34¶
Copy video link location in to the clipboard.
- COPY_AUDIO_LINK_TO_CLIPBOARD = 35¶
Copy audio link location in to the clipboard.
- TOGGLE_MEDIA_CONTROLS = 36¶
Enable or disable media controls.
- TOGGLE_MEDIA_LOOP = 37¶
Enable or disable media loop.
- ENTER_VIDEO_FULLSCREEN = 38¶
Show current video element in fullscreen mode.
- MEDIA_PLAY = 39¶
Play current media element.
- COPY_LINK_TO_CLIPBOARD = 4¶
Copy link location to the clipboard.
- MEDIA_PAUSE = 40¶
Pause current media element.
- MEDIA_MUTE = 41¶
Mute current media element.
- DOWNLOAD_VIDEO_TO_DISK = 42¶
Download video to disk.
New in version 2.2.
- DOWNLOAD_AUDIO_TO_DISK = 43¶
Download audio to disk.
New in version 2.2.
- INSERT_EMOJI = 44¶
Insert an emoji.
New in version 2.26.
- PASTE_AS_PLAIN_TEXT = 45¶
Paste clipboard contents as plain text.
New in version 2.30.
- OPEN_IMAGE_IN_NEW_WINDOW = 5¶
Open current image in a new window.
- DOWNLOAD_IMAGE_TO_DISK = 6¶
Download current image.
- COPY_IMAGE_TO_CLIPBOARD = 7¶
Copy current image to the clipboard.
- COPY_IMAGE_URL_TO_CLIPBOARD = 8¶
Copy current image location to the clipboard.
- OPEN_FRAME_IN_NEW_WINDOW = 9¶
Open current frame in a new window.