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_source() -> zwp_primary_selection_source_v1
Create a new primary selection source
Create a new primary selection source.
Returns:
-
zwp_primary_selection_source_v1
(zwp_primary_selection_source_v1
) –The created object
get_device ¤
get_device(seat: wl_seat) -> zwp_primary_selection_device_v1
Create a new primary selection device
Create a new data device for a given seat.
Returns:
-
zwp_primary_selection_device_v1
(zwp_primary_selection_device_v1
) –The created object
destroy ¤
destroy() -> None
Destroy the primary selection device manager
Destroy the primary selection device manager.