[][src]Module wayland_protocols::wlr::unstable::screencopy::v1::client::zwlr_screencopy_frame_v1

a frame ready for copy

This object represents a single frame.

When created, a "buffer" event will be sent. The client will then be able to send a "copy" request. If the capture is successful, the compositor will send a "flags" followed by a "ready" event.

If the capture failed, the "failed" event is sent. This can happen anytime before the "ready" event.

Once either a "ready" or a "failed" event is received, the client should destroy the frame.

Structs

Flags
ZwlrScreencopyFrameV1

Enums

Error
Event
Request

Constants

EVT_BUFFER_SINCE

The minimal object version supporting this event

EVT_FAILED_SINCE

The minimal object version supporting this event

EVT_FLAGS_SINCE

The minimal object version supporting this event

EVT_READY_SINCE

The minimal object version supporting this event

REQ_COPY_SINCE

The minimal object version supporting this request

REQ_DESTROY_SINCE

The minimal object version supporting this request

Statics

zwlr_screencopy_frame_v1_events

C-representation of the messages of this interface, for interop

zwlr_screencopy_frame_v1_interface

C representation of this interface, for interop

zwlr_screencopy_frame_v1_requests

C-representation of the messages of this interface, for interop

Traits

EventHandler

An interface for handling events.