[][src]Struct gdk::EventWindowState

pub struct EventWindowState(_);

Implementations

impl EventWindowState[src]

pub fn get_changed_mask(&self) -> WindowState[src]

pub fn get_new_window_state(&self) -> WindowState[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<GdkEventWindowState> for EventWindowState[src]

impl AsRef<GdkEventWindowState> for EventWindowState[src]

impl Clone for EventWindowState[src]

impl Debug for EventWindowState[src]

impl Deref for EventWindowState[src]

type Target = Event

The resulting type after dereferencing.

impl DerefMut for EventWindowState[src]

impl Eq for EventWindowState[src]

impl FromGlibPtrBorrow<*mut GdkEventWindowState> for EventWindowState[src]

impl FromGlibPtrFull<*mut GdkEventWindowState> for EventWindowState[src]

impl FromGlibPtrNone<*mut GdkEventWindowState> for EventWindowState[src]

impl Hash for EventWindowState[src]

impl Ord for EventWindowState[src]

impl PartialEq<EventWindowState> for EventWindowState[src]

impl PartialOrd<EventWindowState> for EventWindowState[src]

impl StructuralEq for EventWindowState[src]

impl StructuralPartialEq for EventWindowState[src]

impl<'a> ToGlibPtr<'a, *const GdkEventWindowState> for EventWindowState[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GdkEventWindowState> for EventWindowState[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for EventWindowState

impl !Send for EventWindowState

impl !Sync for EventWindowState

impl Unpin for EventWindowState

impl UnwindSafe for EventWindowState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.