yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00040
Re: [Yade-commits] r993
> RE: commit 993
>
> an example how to use the progrss bar, and messages is inside
> SDECSpheresPlane generator, and LatticeExample.
> Other generators cannot be stopped with "Stop" button.
I mean - can't be stopped because this is not implemented yet. But it
is as simple as adding;
if(shouldTerminate()) return "";
inside the loops.
setProgress(float_value_between_0_and_1);
sets the progress bar.
--
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev