Re: [gtk-list] Re: Q: automatic function on program startup



INTERLOG ACCOUNT wrote:
> 
> [...]
> 
> Invert the problem, and do the windowing update you need in the
> my_special_calc function.
> 
> psuedo-code inside my_special_calc
> 
> if (10000 iterations of calculations)
>         call window update system
>         set iteration counter to zero
> else
>         add 1 to iteration counter
> 
>                                                 B.T
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null

Hum, this seems to work well, many thanks. Only remaining problen is to
find out how often this call must be done (but I suppose user won't get
annoyed if window isn't updated so quickly when asking for hard work :).

Greetings.



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