Struct wayland_server::sources::TimerEventSource
[−]
[src]
pub struct TimerEventSource { /* fields omitted */ }
A handle to a registered timer event source
Dropping this struct does not remove the event source,
use the remove
method for that.
Methods
impl TimerEventSource
[src]
fn set_delay_ms(&mut self, delay: i32)
Set the delay of this timer
The handler will be called during the next dispatch of the event loop after this time (in milliseconds) is elapsed.
fn remove(self)
Remove this event source from its event loop