Nana - a C++ framework project  

The Programmer's Guide 
nana::gui::timer

Description

A timer can repeatedly call a piece of code.

Model of

None 

Public base classes

None

Members

timer() The default constrution
bool empty() const Returns true if the timer is invalid.
void enable(bool) Enables the timer.
template<typename Function> void make_tick(Function f) Install an event handler
void interval(unsigned) Set the duration between calls
unsigned interval() const Returns the interval.

File

nana/gui/timer.hpp

Notes

None.

See also

None.


Move to The Nana Programmer's Guide Main Page