Struct gdk::EventOwnerChange
[−]
[src]
pub struct EventOwnerChange(_);
Methods
impl EventOwnerChange
[src]
fn get_owner(&self) -> Option<Window>
fn get_reason(&self) -> OwnerChange
fn get_selection(&self) -> Atom
fn get_time(&self) -> u32
fn get_selection_time(&self) -> u32
Methods from Deref<Target = Event>
fn get_event_type(&self) -> EventType
Returns the event type.
fn get_window(&self) -> Option<Window>
Returns the associated Window
if applicable.
fn get_send_event(&self) -> bool
Returns whether the event was sent explicitly.
fn is<T: FromEvent>(&self) -> bool
Returns true
if the event type matches T
.
fn downcast<T: FromEvent>(self) -> Result<T, Self>
Tries to downcast to a specific event type.
Trait Implementations
impl Clone for EventOwnerChange
[src]
fn clone(&self) -> EventOwnerChange
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for EventOwnerChange
[src]
impl<'a> ToGlibPtr<'a, *const GdkEventOwnerChange> for EventOwnerChange
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventOwnerChange, Self>
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
fn to_glib_full(&self) -> P
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkEventOwnerChange> for EventOwnerChange
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(
&'a mut self
) -> StashMut<'a, *mut GdkEventOwnerChange, Self>
&'a mut self
) -> StashMut<'a, *mut GdkEventOwnerChange, Self>
Transfer: none. Read more
impl FromGlibPtrNone<*mut GdkEventOwnerChange> for EventOwnerChange
[src]
unsafe fn from_glib_none(ptr: *mut GdkEventOwnerChange) -> Self
impl FromGlibPtrFull<*mut GdkEventOwnerChange> for EventOwnerChange
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventOwnerChange) -> Self
impl AsRef<GdkEventOwnerChange> for EventOwnerChange
[src]
fn as_ref(&self) -> &GdkEventOwnerChange
Performs the conversion.
impl AsMut<GdkEventOwnerChange> for EventOwnerChange
[src]
fn as_mut(&mut self) -> &mut GdkEventOwnerChange
Performs the conversion.
impl Deref for EventOwnerChange
[src]
type Target = Event
The resulting type after dereferencing
fn deref(&self) -> &Event
The method called to dereference a value