zwlr_screencopy_manager_v1¤
wayland.zwlr_screencopy_manager_v1 ¤
Manager to inform clients and begin capturing
This object is a manager which offers requests to start capturing from a source.
Methods:
-
capture_output
–Capture an output
-
capture_output_region
–Capture an output's region
-
destroy
–Destroy the manager
capture_output ¤
capture_output(overlay_cursor: int, output: wl_output) -> zwlr_screencopy_frame_v1
Capture an output
Capture the next frame of an entire output.
Parameters:
Returns:
-
zwlr_screencopy_frame_v1
(zwlr_screencopy_frame_v1
) –The created object
capture_output_region ¤
capture_output_region(
overlay_cursor: int, output: wl_output, x: int, y: int, width: int, height: int
) -> zwlr_screencopy_frame_v1
Capture an output's region
Capture the next frame of an output's region.
The region is given in output logical coordinates, see xdg_output.logical_size. The region will be clipped to the output's extents.
Parameters:
Returns:
-
zwlr_screencopy_frame_v1
(zwlr_screencopy_frame_v1
) –The created object
destroy ¤
destroy() -> None
Destroy the manager
All objects created by the manager will still remain valid, until their appropriate destroy request has been called.