Hi,
||gtk::timeout_add() <cid:part1.03080907.00040403@rodopi.com> is a solution for your problem :)))
remember if the callback returns "false" it wiil not be called again.
See also ||gtk::timeout_remove() <cid:part2.00080807.07030703@rodopi.com>;
Both functions are in "Misc GTK Functions" chapter of PHP-GTKdocumentation;
regards,
Radko
Matt Palermo wrote:
Hey. Does anyone know of a clock or timer widget or something to use to
schedule an event for a certain time? It this possible to do? I
basically want to have a window automatically open at a given part of
the day. So if a user has the program open and it reaches let's say
6:00 am (this would be the scheduled time), a specified window would
automatically pop up and show itself. Is there anyway I can schedule
tasks like this? Please let me know if you have any thoughts.
Thanks a lot!
Matt