[OpenWalnut-Dev] Momentarily blocking the GUI interface?

David Moreno-Dominguez moreno at cbs.mpg.de
Mon Feb 6 16:04:25 CET 2012


I think I didn't explain what I was really looking for very clearly, Ill try to rectify.

What I am looking for is a way to block my modules property controls (not all the GUI) briefly, in some very specific cases, where there is some memory and time consuming operations that might take several seconds, and I wouldn't like the user to trigger any other changes until they are finished (I currently do inform of the computations taking place through the "progress" commands). It could be done simply by hiding the property groups but it would probably be more confusing for the user.

If there is not such a way of "freezing" a group of options (I looked through the property members but I didn't find anything) I will just leave it as it is.

regards, 

David Moreno-Dominguez
PhD Student
Methods & Development Unit: Cortical Networks and Cognitive Functions
Max Planck Institute for Human Cognitive and Brain Sciences
Stephanstraße 1A, 04103 Leipzig, Germany
Phone: +49 341 9940-2418
Email: moreno at cbs.mpg.de
http://www.cbs.mpg.de/~moreno

----- Original Message -----
From: "David Moreno-Dominguez" <moreno at cbs.mpg.de>
To: openwalnut-dev at lists.informatik.uni-leipzig.de
Sent: Monday, February 6, 2012 11:51:52 AM
Subject: Momentarily blocking the GUI interface?

Hello,
I am developing a module for walnut, but I am not very versed in high end programming.
I would like to ask if there is any easy command or way, in order to "freeze" the gui while a heavy computation is made (that might take several seconds) in order to prevent the user from changing controls or triggering any action during this time.
After reading through the template and all i find is the trigger-triggered and trigger-ready, which freeze the trigger that was just used, but not anything else.
It is not a vital issue so there's no big problem if there is no way to do this, but I had though it might be a good idea to prevent user errors.

Regards,

David Moreno-Dominguez
PhD Student
Methods & Development Unit: Cortical Networks and Cognitive Functions
Max Planck Institute for Human Cognitive and Brain Sciences
Stephanstraße 1A, 04103 Leipzig, Germany
Phone: +49 341 9940-2418
Email: moreno at cbs.mpg.de
http://www.cbs.mpg.de/~moreno


More information about the OpenWalnut-Dev mailing list