
-----------------------------------
Kharybdis
Wed Jan 02, 2008 8:14 pm

GUI ^_^ need info on qui. process event
-----------------------------------
when using GUI, there has to be a :


    loop
        exit when GUI.ProcessEvent
    end loop

Is there any way for this NOT to be used? because this is just annoying.

-----------------------------------
Saad
Wed Jan 02, 2008 8:15 pm

RE:GUI ^_^ need info on qui. process event
-----------------------------------
Only possible way is to not use Turing's GUI

-----------------------------------
Kharybdis
Wed Jan 02, 2008 8:17 pm

Re: GUI ^_^ need info on qui. process event
-----------------------------------
Sigh. Thats what i thought.

-----------------------------------
Tony
Wed Jan 02, 2008 8:47 pm

RE:GUI ^_^ need info on qui. process event
-----------------------------------
actually that's not true.

the way Turing's GUI works is that it processes clicks during the GUI.ProcessEvent calls. As such, it could be called inside any loop in any matter. At times when it's not called, no GUI events are processed, that is all.


loop
   doSomething()
   doSomethingElse()
   if GUI.ProcessEvent then
      % user has called GUI.Quit
   end if
end loop


-----------------------------------
Saad
Wed Jan 02, 2008 9:01 pm

RE:GUI ^_^ need info on qui. process event
-----------------------------------
I assumed he meant not use GUI.ProcessEvent in a loop. But Tony is correct

-----------------------------------
Gooie
Wed Jan 02, 2008 10:57 pm

Re: GUI ^_^ need info on qui. process event
-----------------------------------
Just make your own GUI, it's more fun ^_^.
