Struct gdk::Event []

pub struct Event(_);
[]

A generic GDK event.

Methods

impl Event
[src]

[]

Returns the event type.

[]

Returns the associated Window if applicable.

[]

Returns whether the event was sent explicitly.

[]

Returns true if the event type matches T.

[]

Tries to downcast to a specific event type.

Trait Implementations

impl Clone for Event

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Debug for Event

[]

Formats the value using the given formatter.

impl<'a> ToGlibPtr<'a, *const GdkEventAny> for Event
[src]

[]

Transfer: none. Read more

[]

Transfer: container. Read more

[]

Transfer: full. Read more

impl<'a> ToGlibPtrMut<'a, *mut GdkEventAny> for Event
[src]

[]

Transfer: none. Read more

impl FromGlibPtrNone<*mut GdkEventAny> for Event
[src]

impl FromGlibPtrFull<*mut GdkEventAny> for Event
[src]

impl AsRef<GdkEventAny> for Event
[src]

[]

Performs the conversion.

impl AsMut<GdkEventAny> for Event
[src]

[]

Performs the conversion.