Struct gdk::EventSelection
[−]
[src]
pub struct EventSelection(_);
Methods
impl EventSelection
[src]
pub fn get_selection(&self) -> Atom
[src]
pub fn get_target(&self) -> Atom
[src]
pub fn get_property(&self) -> Atom
[src]
pub fn get_time(&self) -> u32
[src]
pub fn get_requestor(&self) -> Option<Window>
[src]
Methods from Deref<Target = Event>
pub fn get_event_type(&self) -> EventType
[src]
Returns the event type.
pub fn get_window(&self) -> Option<Window>
[src]
Returns the associated Window
if applicable.
pub fn get_send_event(&self) -> bool
[src]
Returns whether the event was sent explicitly.
pub fn is<T: FromEvent>(&self) -> bool
[src]
Returns true
if the event type matches T
.
Trait Implementations
impl Clone for EventSelection
[src]
fn clone(&self) -> EventSelection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for EventSelection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> ToGlibPtr<'a, *const GdkEventSelection> for EventSelection
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventSelection, Self>
[src]
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
fn to_glib_full(&self) -> P
[src]
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkEventSelection> for EventSelection
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkEventSelection, Self>
[src]
Transfer: none. Read more
impl FromGlibPtrNone<*mut GdkEventSelection> for EventSelection
[src]
unsafe fn from_glib_none(ptr: *mut GdkEventSelection) -> Self
[src]
impl FromGlibPtrBorrow<*mut GdkEventSelection> for EventSelection
[src]
unsafe fn from_glib_borrow(ptr: *mut GdkEventSelection) -> Self
[src]
impl FromGlibPtrFull<*mut GdkEventSelection> for EventSelection
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventSelection) -> Self
[src]
impl AsRef<GdkEventSelection> for EventSelection
[src]
fn as_ref(&self) -> &GdkEventSelection
[src]
Performs the conversion.
impl AsMut<GdkEventSelection> for EventSelection
[src]
fn as_mut(&mut self) -> &mut GdkEventSelection
[src]
Performs the conversion.
impl Deref for EventSelection
[src]
type Target = Event
The resulting type after dereferencing.
fn deref(&self) -> &Event
[src]
Dereferences the value.