Re: A question about threads



I use g_timeout_add all the time in a Windows/*nix app, and haven't had a problem. You can use a timeout of 0 and it'll update your status bar as soon as the main iteration runs through. Make sure you return false in the timeout function, otherwise your status bar will be continually updated.

Eric




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