Gtk_primary_selection_client.Gtk_primary_selection_devicetype 'v t =
([ `Gtk_primary_selection_device ], 'v, [ `Client ]) Wayland.Proxy.tval destroy : [< `V1 ] t -> unitDestroy the primary selection device.
Destroy the primary selection device.
val set_selection :
[< `V1 ] t ->
source:
([ `Gtk_primary_selection_source ], 'a, [ `Client ]) Wayland.Proxy.t option ->
serial:int32 ->
unitSet the primary selection.
Replaces the current selection. The previous owner of the primary selection will receive a wp_primary_selection_source.cancelled event.
To unset the selection, set the source to NULL.
Note: Servers will always want to use v1.
class virtual +'a v1 : object ... endHandler for a proxy with version >= 1.