program sleep question



Is there an equivalent gtk function to the sleep function that sleeps and
still allows gtk to refresh itself, and if not, why not?
 
I am working on a program that has an opening splash screen similar to the
gimp's. I need to sleep(2) so that the user can have a chance to see the
text before going to the next line in the function, but the program dosnt
refresh itself for 2 seconds because of the sleep...



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