Struct native_windows_gui::TimerT [] [src]

pub struct TimerT {
    pub interval: u32,
}

A template that creates a timer. Note that because the timer callbacks must be added AFTER its creation, it cannot start automatically.

Events:
Event::Destroyed, Event::Tick

Members:
interval: The timer interval in milliseconds

Fields

Trait Implementations

impl Clone for TimerT
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<ID: Hash + Clone> ControlT<ID> for TimerT
[src]

Should return the TypeId of the generated control. For example a WindowT struct returns the TypeId of a Window struct.

Should return the events supported by the control.

Should instance the control and return it as a Box. If an error is raised, it will be returned by ui.commit.