Class widget button in Opensesame 3.2.4
in OpenSesame
Hello Everyone,
I have an experiment that was running perfectly with opensesame 3.1.3. Since I've used 3.2.4, it seems that the widget button does not have functions such as function button.draw_frame() or function button.render().
Therefore, is there another way to change the color of a cliqued button instead of using the style of the function button.draw_frame()?
Thank you very much ![]()
Comments
Hi,
In OpenSesame 3.2, the way that
Canvasobjects work has changed dramatically. This has the advantage that you can now modify existingCanvasobjects, rather than re-drawing them from scratch when something changes, and this leads to large performance improvements. But the downside is that custom form widgets need to be re-written.However, I'm wondering: If you click on a form button, the form closes, so there's little point in changing its color. What kind of interaction are you looking for exactly?
Cheers!
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!