Struct wayland_client::EventQueueHandle [] [src]

pub struct EventQueueHandle { /* fields omitted */ }

Handle to an event queue

This handle gives you access to methods on an event queue that are safe to do from within a callback.

They are also available on an EventQueue object via Deref.

Methods

impl EventQueueHandle
[src]

[src]

Register a proxy to this event queue.

You are required to provide a valid implementation for this proxy as well as some associated implementation data. This implementation is expected to be a struct holding the various relevant function pointers.

This implementation data can typically contain indexes to state value that the implementation will need to work on.

This overwrites any precedently set implementation for this proxy.

Returns appropriately and does nothing if this proxy is dead or already managed by something else than this library.

[src]

Get a handle to the internal state

The returned guard object allows you to get references to the handler objects you previously inserted in this event queue.