Wings 3D Development Forum
When to use wings_io:hourglass ? - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Programming (https://www.wings3d.com/forum/forumdisplay.php?fid=7)
+--- Thread: When to use wings_io:hourglass ? (/showthread.php?tid=1272)



When to use wings_io:hourglass ? - ggaliens - 06-08-2015

When to use wings_io:hourglass ?

Often when I have implemented a function I want to run on a heavy mesh, I feel compelled to add a call to this function to give modest busy status info to the user.

Is this proper ?


RE: When to use wings_io:hourglass ? - micheus - 06-08-2015

I believe yes. Always I saw it in the code it was related to a big processing being done.


RE: When to use wings_io:hourglass ? - ggaliens - 06-08-2015

Was just wondering why I didn't seem to find it used in the core code in the ./src directory.


RE: When to use wings_io:hourglass ? - micheus - 06-08-2015

I have no Idea, but because someday I found it I used in my Heightmap code. I noticed we can just see the hourglass when the routine take really long time. I believe it can be useful for those you have in ML that take long time to end.