Trait gdk::FromEvent[][src]

pub unsafe trait FromEvent: Sized {
    fn is(ev: &Event) -> bool;
fn from(ev: Event) -> Result<Self, Event>; }
Expand description

A helper trait implemented by all event subtypes.

Required methods

Implementors