Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Class widget button in Opensesame 3.2.4

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 Canvas objects work has changed dramatically. This has the advantage that you can now modify existing Canvas objects, 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

Sign In or Register to comment.