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