#include <timer.h>
Public Member Functions | |
Timer (const unsigned long timeout, TimerCallback callback, gpointer data) | |
void | setTimeout (const unsigned long timeout) |
void | setCallback (TimerCallback callback) |
void | setCallbackData (gpointer data) |
void | enable () |
void | disable () |
bool | isEnabled () const |
Private Types | |
typedef gboolean(* | TimerCallback )(gpointer data) |
Private Attributes | |
guint | _timerID |
unsigned long | _timeout |
TimerCallback | _callback |
gpointer | _data |
Definition at line 14 of file timer.h.
typedef gboolean(* gtkutil::Timer::TimerCallback)(gpointer data) [private] |
gtkutil::Timer::Timer | ( | const unsigned long | timeout, | |
TimerCallback | callback, | |||
gpointer | data | |||
) |
void gtkutil::Timer::disable | ( | ) |
void gtkutil::Timer::enable | ( | ) |
bool gtkutil::Timer::isEnabled | ( | ) | const |
void gtkutil::Timer::setCallback | ( | TimerCallback | callback | ) |
void gtkutil::Timer::setCallbackData | ( | gpointer | data | ) |
void gtkutil::Timer::setTimeout | ( | const unsigned long | timeout | ) |
TimerCallback gtkutil::Timer::_callback [private] |
gpointer gtkutil::Timer::_data [private] |
unsigned long gtkutil::Timer::_timeout [private] |
guint gtkutil::Timer::_timerID [private] |