[−][src]Trait wayland_protocols::misc::gtk_primary_selection::server::gtk_primary_selection_device::RequestHandler
An interface for handling requests.
Provided methods
fn set_selection(
&mut self,
object: GtkPrimarySelectionDevice,
source: Option<GtkPrimarySelectionSource>,
serial: u32
)
&mut self,
object: GtkPrimarySelectionDevice,
source: Option<GtkPrimarySelectionSource>,
serial: u32
)
set 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.
fn destroy(&mut self, object: GtkPrimarySelectionDevice)
destroy the primary selection device
Destroy the primary selection device.
This is a destructor, you cannot send requests to this object any longer once this method is called.