Constructor

WPEPlatformWaylandClipboardWaylandnew

Declaration [src]

WPEClipboard*
wpe_clipboard_wayland_new (
  WPEDisplayWayland* display
)

Description [src]

Create a new WPEClipboardWayland.

Parameters

display

Type: WPEDisplayWayland

A WPEDisplayWayland.

The data is owned by the caller of the function.

Return value

Type: WPEClipboard

A WPEClipboard.

The caller of the function takes ownership of the data, and is responsible for freeing it.