Struct gdk::EventDND [−][src]
pub struct EventDND(_);
Methods
impl EventDND
[src]
impl EventDND
pub fn get_context(&self) -> Option<DragContext>
[src]
pub fn get_context(&self) -> Option<DragContext>
pub fn get_time(&self) -> u32
[src]
pub fn get_time(&self) -> u32
pub fn get_root(&self) -> (i16, i16)
[src]
pub fn get_root(&self) -> (i16, i16)
Methods from Deref<Target = Event>
pub fn put(&self)
[src]
pub fn put(&self)
pub fn get_axis(&self, axis_use: AxisUse) -> Option<f64>
[src]
pub fn get_axis(&self, axis_use: AxisUse) -> Option<f64>
pub fn get_click_count(&self) -> Option<u32>
[src]
pub fn get_click_count(&self) -> Option<u32>
pub fn get_coords(&self) -> Option<(f64, f64)>
[src]
pub fn get_coords(&self) -> Option<(f64, f64)>
pub fn get_keycode(&self) -> Option<u16>
[src]
pub fn get_keycode(&self) -> Option<u16>
pub fn get_keyval(&self) -> Option<u32>
[src]
pub fn get_keyval(&self) -> Option<u32>
pub fn get_root_coords(&self) -> Option<(f64, f64)>
[src]
pub fn get_root_coords(&self) -> Option<(f64, f64)>
pub fn get_scroll_direction(&self) -> Option<ScrollDirection>
[src]
pub fn get_scroll_direction(&self) -> Option<ScrollDirection>
pub fn get_scroll_deltas(&self) -> Option<(f64, f64)>
[src]
pub fn get_scroll_deltas(&self) -> Option<(f64, f64)>
pub fn get_state(&self) -> Option<ModifierType>
[src]
pub fn get_state(&self) -> Option<ModifierType>
pub fn get_time(&self) -> u32
[src]
pub fn get_time(&self) -> u32
pub fn get_window(&self) -> Option<Window>
[src]
pub fn get_window(&self) -> Option<Window>
Returns the associated Window
if applicable.
pub fn get_event_sequence(&self) -> Option<EventSequence>
[src]
pub fn get_event_sequence(&self) -> Option<EventSequence>
pub fn set_screen<'a, T: Into<Option<&'a Screen>>>(&mut self, screen: T)
[src]
pub fn set_screen<'a, T: Into<Option<&'a Screen>>>(&mut self, screen: T)
pub fn get_screen(&self) -> Option<Screen>
[src]
pub fn get_screen(&self) -> Option<Screen>
pub fn set_device<'a, T: Into<Option<&'a Device>>>(&mut self, device: T)
[src]
pub fn set_device<'a, T: Into<Option<&'a Device>>>(&mut self, device: T)
pub fn get_device(&self) -> Option<Device>
[src]
pub fn get_device(&self) -> Option<Device>
pub fn set_source_device<'a, T: Into<Option<&'a Device>>>(&mut self, device: T)
[src]
pub fn set_source_device<'a, T: Into<Option<&'a Device>>>(&mut self, device: T)
pub fn get_source_device(&self) -> Option<Device>
[src]
pub fn get_source_device(&self) -> Option<Device>
pub fn get_event_type(&self) -> EventType
[src]
pub fn get_event_type(&self) -> EventType
Returns the event type.
pub fn get_send_event(&self) -> bool
[src]
pub fn get_send_event(&self) -> bool
Returns whether the event was sent explicitly.
pub fn is<T: FromEvent>(&self) -> bool
[src]
pub fn is<T: FromEvent>(&self) -> bool
Returns true
if the event type matches T
.
Trait Implementations
impl Clone for EventDND
[src]
impl Clone for EventDND
fn clone(&self) -> EventDND
[src]
fn clone(&self) -> EventDND
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for EventDND
[src]
impl Debug for EventDND
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for EventDND
[src]
impl PartialEq for EventDND
fn eq(&self, other: &EventDND) -> bool
[src]
fn eq(&self, other: &EventDND) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EventDND) -> bool
[src]
fn ne(&self, other: &EventDND) -> bool
This method tests for !=
.
impl Eq for EventDND
[src]
impl Eq for EventDND
impl PartialOrd for EventDND
[src]
impl PartialOrd for EventDND
fn partial_cmp(&self, other: &EventDND) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &EventDND) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &EventDND) -> bool
[src]
fn lt(&self, other: &EventDND) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &EventDND) -> bool
[src]
fn le(&self, other: &EventDND) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &EventDND) -> bool
[src]
fn gt(&self, other: &EventDND) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &EventDND) -> bool
[src]
fn ge(&self, other: &EventDND) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for EventDND
[src]
impl Ord for EventDND
fn cmp(&self, other: &EventDND) -> Ordering
[src]
fn cmp(&self, other: &EventDND) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for EventDND
[src]
impl Hash for EventDND
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> ToGlibPtr<'a, *const GdkEventDND> for EventDND
[src]
impl<'a> ToGlibPtr<'a, *const GdkEventDND> for EventDND
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventDND, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventDND, Self>
Transfer: none. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
fn to_glib_full(&self) -> P
[src]
fn to_glib_full(&self) -> P
Transfer: full. Read more
impl<'a> ToGlibPtrMut<'a, *mut GdkEventDND> for EventDND
[src]
impl<'a> ToGlibPtrMut<'a, *mut GdkEventDND> for EventDND
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkEventDND, Self>
[src]
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkEventDND, Self>
Transfer: none. Read more
impl FromGlibPtrNone<*mut GdkEventDND> for EventDND
[src]
impl FromGlibPtrNone<*mut GdkEventDND> for EventDND
unsafe fn from_glib_none(ptr: *mut GdkEventDND) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GdkEventDND) -> Self
impl FromGlibPtrBorrow<*mut GdkEventDND> for EventDND
[src]
impl FromGlibPtrBorrow<*mut GdkEventDND> for EventDND
unsafe fn from_glib_borrow(ptr: *mut GdkEventDND) -> Self
[src]
unsafe fn from_glib_borrow(ptr: *mut GdkEventDND) -> Self
impl FromGlibPtrFull<*mut GdkEventDND> for EventDND
[src]
impl FromGlibPtrFull<*mut GdkEventDND> for EventDND
unsafe fn from_glib_full(ptr: *mut GdkEventDND) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventDND) -> Self
impl AsRef<GdkEventDND> for EventDND
[src]
impl AsRef<GdkEventDND> for EventDND
fn as_ref(&self) -> &GdkEventDND
[src]
fn as_ref(&self) -> &GdkEventDND
Performs the conversion.
impl AsMut<GdkEventDND> for EventDND
[src]
impl AsMut<GdkEventDND> for EventDND
fn as_mut(&mut self) -> &mut GdkEventDND
[src]
fn as_mut(&mut self) -> &mut GdkEventDND
Performs the conversion.
impl Deref for EventDND
[src]
impl Deref for EventDND
type Target = Event
The resulting type after dereferencing.
fn deref(&self) -> &Event
[src]
fn deref(&self) -> &Event
Dereferences the value.
impl DerefMut for EventDND
[src]
impl DerefMut for EventDND