Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

etk_utils.c File Reference


Detailed Description


Functions

Etk_Bool etk_callback_set_null (void *data)
 A utility function to use as a swapped callback. It sets to NULL the pointer located at the adress stored in data.
For example, if you want to set "pointer" to NULL when "button" is clicked, you can do:
etk_signal_connect_swapped(ETK_OBJECT(button), "clicked", ETK_CALLBACK(etk_callback_set_null), &pointer);.
unsigned int etk_current_time_get ()
 Gets the current time, in milliseconds.