Struct gdk::Event []

pub struct Event(_);

A generic GDK event.

Methods

impl Event
[src]

[src]

Returns the event type.

[src]

Returns the associated Window if applicable.

[src]

Returns whether the event was sent explicitly.

[src]

Returns true if the event type matches T.

[src]

Tries to downcast to a specific event type.

Trait Implementations

impl Clone for Event

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Event

Formats the value using the given formatter.

impl StaticType for Event

Returns the type identifier of Self.

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

[src]

Transfer: none. Read more

[src]

Transfer: container. Read more

[src]

Transfer: full. Read more

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

[src]

Transfer: none. Read more

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

[src]

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

[src]

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

[src]

impl AsRef<GdkEventAny> for Event
[src]

[src]

Performs the conversion.

impl AsMut<GdkEventAny> for Event
[src]

[src]

Performs the conversion.