Virtual Method
WPEPlatformClipboardchanged
Declaration [src]
void
changed (
WPEClipboard* clipboard,
GPtrArray* formats,
gboolean is_local,
WPEClipboardContent* content
)
Description [src]
Provide new content for the clipboard.
The formats array indicates the list of MIME types in which the content may be
read using WPEPlatform.ClipboardClass.read. This array need to be null-terminated, and
it is recommended to use g_ptr_array_new_null_terminated() to create suitable values.
The is_local flag indicates whether the content is be provided by WebKit itself.
Important
Custom implementations of this virtual function must chain up to the base implementation.
Parameters
formats-
Type: An array of
utf8List of formats in which the
contentscan be read.The data is owned by the caller of the method. Each element is a NUL terminated UTF-8 string. is_local-
Type:
gbooleanWhether the contents are provided locally by WebKit.
content-
Type:
WPEClipboardContentNew clipboard contents.
The data is owned by the caller of the method.