Skip to content

zwp_primary_selection_device_manager_v1¤

wayland.zwp_primary_selection_device_manager_v1 ¤

X primary selection emulation

The primary selection device manager is a singleton global object that provides access to the primary selection. It allows to create wp_primary_selection_source objects, as well as retrieving the per-seat wp_primary_selection_device objects.

Methods:

  • create_source

    Create a new primary selection source

  • get_device

    Create a new primary selection device

  • destroy

    Destroy the primary selection device manager

create_source ¤

Create a new primary selection source

Create a new primary selection source.

Returns:

get_device ¤

Create a new primary selection device

Create a new data device for a given seat.

Returns:

destroy ¤

destroy() -> None

Destroy the primary selection device manager

Destroy the primary selection device manager.