Type Definition xcb::xproto::DestroyNotifyEvent[][src]

type DestroyNotifyEvent = Event<xcb_destroy_notify_event_t>;

a window is destroyed

Implementations

impl DestroyNotifyEvent[src]

pub fn event(&self) -> Window[src]

The reconfigured window or its parent, depending on whether StructureNotify or SubstructureNotify was selected.

pub fn window(&self) -> Window[src]

The window that is destroyed.

pub fn new(event: Window, window: Window) -> DestroyNotifyEvent[src]

Constructs a new DestroyNotifyEvent response_type will be set automatically to DESTROY_NOTIFY