Re: Question on C



Thomas Keaney wrote:

This hasnt anything to do with GTK+ but I was wondering would any one know how to program in a delay( say a delay of 2 seconds after clicking on a button before another event happens). Cheers Regards,
Thomas Keaney
4 CSSE

Try this!

#include <unistd.h>

unsigned int sleep(unsigned int seconds);





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]