Struct gdk::EventOwnerChange
[−]
[src]
pub struct EventOwnerChange(_);
Methods
impl EventOwnerChange
[src]
pub fn get_owner(&self) -> Option<Window>
[src]
pub fn get_reason(&self) -> OwnerChange
[src]
pub fn get_selection(&self) -> Atom
[src]
pub fn get_time(&self) -> u32
[src]
pub fn get_selection_time(&self) -> u32
[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 EventOwnerChange
[src]
fn clone(&self) -> EventOwnerChange
[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 EventOwnerChange
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> ToGlibPtr<'a, *const GdkEventOwnerChange> for EventOwnerChange
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventOwnerChange, 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 GdkEventOwnerChange> for EventOwnerChange
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(
&'a mut self
) -> StashMut<'a, *mut GdkEventOwnerChange, Self>
[src]
&'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
[src]
impl FromGlibPtrBorrow<*mut GdkEventOwnerChange> for EventOwnerChange
[src]
unsafe fn from_glib_borrow(ptr: *mut GdkEventOwnerChange) -> Self
[src]
impl FromGlibPtrFull<*mut GdkEventOwnerChange> for EventOwnerChange
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventOwnerChange) -> Self
[src]
impl AsRef<GdkEventOwnerChange> for EventOwnerChange
[src]
fn as_ref(&self) -> &GdkEventOwnerChange
[src]
Performs the conversion.
impl AsMut<GdkEventOwnerChange> for EventOwnerChange
[src]
fn as_mut(&mut self) -> &mut GdkEventOwnerChange
[src]
Performs the conversion.
impl Deref for EventOwnerChange
[src]
type Target = Event
The resulting type after dereferencing.
fn deref(&self) -> &Event
[src]
Dereferences the value.