[−][src]Struct gdk::EventSetting
Implementations
impl EventSetting
[src]
pub fn get_name(&self) -> Option<GString>
[src]
pub fn get_action(&self) -> SettingAction
[src]
Methods from Deref<Target = Event>
pub fn put(&self)
[src]
pub fn get_axis(&self, axis_use: AxisUse) -> Option<f64>
[src]
pub fn get_button(&self) -> Option<u32>
[src]
pub fn get_click_count(&self) -> Option<u32>
[src]
pub fn get_coords(&self) -> Option<(f64, f64)>
[src]
pub fn get_keycode(&self) -> Option<u16>
[src]
pub fn get_keyval(&self) -> Option<u32>
[src]
pub fn get_root_coords(&self) -> Option<(f64, f64)>
[src]
pub fn get_scroll_direction(&self) -> Option<ScrollDirection>
[src]
pub fn get_scroll_deltas(&self) -> Option<(f64, f64)>
[src]
pub fn is_scroll_stop_event(&self) -> bool
[src]
pub fn get_state(&self) -> Option<ModifierType>
[src]
pub fn get_time(&self) -> u32
[src]
pub fn get_window(&self) -> Option<Window>
[src]
Returns the associated Window
if applicable.
pub fn get_event_sequence(&self) -> Option<EventSequence>
[src]
pub fn triggers_context_menu(&self) -> bool
[src]
pub fn get_seat(&self) -> Option<Seat>
[src]
pub fn get_scancode(&mut self) -> i32
[src]
pub fn get_pointer_emulated(&mut self) -> bool
[src]
pub fn set_screen(&mut self, screen: Option<&Screen>)
[src]
pub fn get_screen(&self) -> Option<Screen>
[src]
pub fn set_device(&mut self, device: Option<&Device>)
[src]
pub fn get_device(&self) -> Option<Device>
[src]
pub fn set_source_device(&mut self, device: Option<&Device>)
[src]
pub fn get_source_device(&self) -> Option<Device>
[src]
pub fn set_device_tool(&mut self, device: Option<&DeviceTool>)
[src]
pub fn get_device_tool(&self) -> Option<DeviceTool>
[src]
pub fn get_event_type(&self) -> EventType
[src]
Returns the event type.
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
.
pub fn downcast_ref<T: FromEvent>(&self) -> Option<&T>
[src]
Tries to downcast to a specific event type.
pub fn downcast_mut<T: FromEvent>(&mut self) -> Option<&mut T>
[src]
Tries to downcast to a specific event type.
Trait Implementations
impl AsMut<GdkEventSetting> for EventSetting
[src]
fn as_mut(&mut self) -> &mut GdkEventSetting
[src]
impl AsRef<GdkEventSetting> for EventSetting
[src]
fn as_ref(&self) -> &GdkEventSetting
[src]
impl Clone for EventSetting
[src]
fn clone(&self) -> EventSetting
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EventSetting
[src]
impl Deref for EventSetting
[src]
impl DerefMut for EventSetting
[src]
impl Eq for EventSetting
[src]
impl FromGlibPtrBorrow<*mut GdkEventSetting> for EventSetting
[src]
unsafe fn from_glib_borrow(ptr: *mut GdkEventSetting) -> Borrowed<Self>
[src]
impl FromGlibPtrFull<*mut GdkEventSetting> for EventSetting
[src]
unsafe fn from_glib_full(ptr: *mut GdkEventSetting) -> Self
[src]
impl FromGlibPtrNone<*mut GdkEventSetting> for EventSetting
[src]
unsafe fn from_glib_none(ptr: *mut GdkEventSetting) -> Self
[src]
impl Hash for EventSetting
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for EventSetting
[src]
fn cmp(&self, other: &EventSetting) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<EventSetting> for EventSetting
[src]
fn eq(&self, other: &EventSetting) -> bool
[src]
fn ne(&self, other: &EventSetting) -> bool
[src]
impl PartialOrd<EventSetting> for EventSetting
[src]
fn partial_cmp(&self, other: &EventSetting) -> Option<Ordering>
[src]
fn lt(&self, other: &EventSetting) -> bool
[src]
fn le(&self, other: &EventSetting) -> bool
[src]
fn gt(&self, other: &EventSetting) -> bool
[src]
fn ge(&self, other: &EventSetting) -> bool
[src]
impl StructuralEq for EventSetting
[src]
impl StructuralPartialEq for EventSetting
[src]
impl<'a> ToGlibPtr<'a, *const GdkEventSetting> for EventSetting
[src]
type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GdkEventSetting, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_full(&self) -> P
[src]
impl<'a> ToGlibPtrMut<'a, *mut GdkEventSetting> for EventSetting
[src]
type Storage = &'a mut Self
fn to_glib_none_mut(&'a mut self) -> StashMut<'a, *mut GdkEventSetting, Self>
[src]
Auto Trait Implementations
impl RefUnwindSafe for EventSetting
impl !Send for EventSetting
impl !Sync for EventSetting
impl Unpin for EventSetting
impl UnwindSafe for EventSetting
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,