Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- pattern MINOR_VERSION :: Int32
- pattern MICRO_VERSION :: Int32
- pattern MAJOR_VERSION :: Int32
- pattern EDITING_COMMAND_UNDO :: Text
- pattern EDITING_COMMAND_SELECT_ALL :: Text
- pattern EDITING_COMMAND_REDO :: Text
- pattern EDITING_COMMAND_PASTE_AS_PLAIN_TEXT :: Text
- pattern EDITING_COMMAND_PASTE :: Text
- pattern EDITING_COMMAND_INSERT_IMAGE :: Text
- pattern EDITING_COMMAND_CUT :: Text
- pattern EDITING_COMMAND_CREATE_LINK :: Text
- pattern EDITING_COMMAND_COPY :: Text
Documentation
pattern MINOR_VERSION :: Int32 Source #
Like getMinorVersion
, but from the headers used at
application compile time, rather than from the library linked
against at application run time.
pattern MICRO_VERSION :: Int32 Source #
Like getMicroVersion
, but from the headers used at
application compile time, rather than from the library linked
against at application run time.
pattern MAJOR_VERSION :: Int32 Source #
Like getMajorVersion
, but from the headers used at
application compile time, rather than from the library linked
against at application run time.
pattern EDITING_COMMAND_UNDO :: Text Source #
The undo command. Undoes the last editing command in a WebView
.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. It's only possible
to undo a command after a previously executed editing operation.
pattern EDITING_COMMAND_SELECT_ALL :: Text Source #
The select all command. Selects all the content of the current text field in
a WebView
.
It is always possible to select all text, no matter whether the
WebView
content is editable or not. You can still check it
with webViewCanExecuteEditingCommand
.
pattern EDITING_COMMAND_REDO :: Text Source #
The redo command. Redoes a previously undone editing command in
a WebView
.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. It's only possible
to redo a command when it has been previously undone.
pattern EDITING_COMMAND_PASTE_AS_PLAIN_TEXT :: Text Source #
The paste as plaintext clipboard command. Pastes the contents of the
clipboard to a WebView
, with formatting removed.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. In general it's possible
to paste from the clipboard when the WebView
content is editable
and clipboard is not empty.
Since: 2.30
pattern EDITING_COMMAND_PASTE :: Text Source #
The paste clipboard command. Pastes the contents of the clipboard to
a WebView
.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. In general it's possible
to paste from the clipboard when the WebView
content is editable
and clipboard is not empty.
pattern EDITING_COMMAND_INSERT_IMAGE :: Text Source #
The insert image command. Creates an image element that is inserted at
the current cursor position. It receives an URI as argument,
that is used as the image source. This command should be executed with
webViewExecuteEditingCommandWithArgument
.
Since: 2.10
pattern EDITING_COMMAND_CUT :: Text Source #
The cut clipboard command. Copies the current selection inside
a WebView
to the clipboard and deletes the selected content.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. In general it's
possible to cut to the clipboard when the WebView
content is
editable and there is an active selection.
pattern EDITING_COMMAND_CREATE_LINK :: Text Source #
The create link command. Creates a link element that is inserted at
the current cursor position. If there's a selection, the selected text
will be used as the link text, otherwise the URL itself will be used.
It receives the link URL as argument. This command should be executed
with webViewExecuteEditingCommandWithArgument
Since: 2.10
pattern EDITING_COMMAND_COPY :: Text Source #
The copy clipboard command. Copies the current selection inside
a WebView
to the clipboard.
You can check whether it's possible to execute the command with
webViewCanExecuteEditingCommand
. In general it's
possible to copy to the clipboard when there is an active selection
inside the WebView
.