Enum wayland_protocols::misc::gtk_primary_selection::client::gtk_primary_selection_device::Request [−][src]
#[non_exhaustive]
pub enum Request {
SetSelection {
source: Option<GtkPrimarySelectionSource>,
serial: u32,
},
Destroy,
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
SetSelection
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.
Destroy
destroy the primary selection device
Destroy the primary selection device.
This is a destructor, once sent this object cannot be used any longer.
Trait Implementations
Wire representation of this MessageGroup
The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more
Whether this message is a destructor Read more
Retrieve the child Object
associated with this message if any
Construct a message from its raw representation
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation Read more
Build a C representation of this message Read more