| GPE Manual: libschedule Reference Manual |
|---|
Schedule EventsSchedule Events — Interface for scheduling events. |
gboolean schedule_set_alarm (guint id, time_t start, const gchar *action); gboolean schedule_cancel_alarm (guint id, time_t start);
The library libschedule provides functions to set scheduled alerts to notify applications of a defined event.
gboolean schedule_set_alarm (guint id,
time_t start,
const gchar *action);
Set a new alert including an action which should become executed at the alarm time.
id : |
Unique alarm identifier. |
start : |
Time to start the alarm action. |
action : |
Command to become executed if alarm time is reached. |
| Returns : | TRUE on success, FALSE otherwise. |
| << Programmers Interface |