#include "ntw.h"
Go to the source code of this file.
Functions | |
| int | ntw_timer_set_timeout (ntwWidget *widget, unsigned int seconds) |
| Change the timeout of a timer. | |
| int | ntw_timer_reset (ntwWidget *widget) |
| Reset the timer. | |
| int | ntw_timer_set_callback (ntwWidget *widget, func_ptr callback, ntwWidget *userdata) |
| Assign a callback to a timer. | |
| ntwWidget * | ntw_timer_new (unsigned int seconds, int synchronized) |
| Create timer. | |
This is an abstract widget that causes the client to send an event every N seconds, where N is specified by the programmer.
|
||||||||||||
|
Create timer.
|
|
|
Reset the timer.
|
|
||||||||||||||||
|
Assign a callback to a timer.
|
|
||||||||||||
|
Change the timeout of a timer. This will change the timeout of a timer AFTER the next timeout occurs. This will not shorten or lengthen the currently running timer.
|
1.4.6