On 12/19/13, 1:43 PM, Fred Gruber wrote:
No. When you press the update button it will re-execute everything inside the interact which may take a long time. I manage to do this by keeping a state variable that is check with if clauses to decide what to run. I wonder if there is a better way?
That's probably the easiest way. Jason
On Wednesday, December 18, 2013 11:15:20 PM UTC-5, kcrisman wrote: Does auto_update = False (as an interact control) provide what you need? On Wednesday, December 18, 2013 12:39:31 PM UTC-5, Fred Gruber wrote: Hi Sometimes in my interact functions I have certain controls to do very simple things like change size of an image etc which should be very fast. Other controls require more involve operations that take time. By default whenever any control is changed, sage updates everything so it can take a long time for the image to get updated. Is it possible to make an arbitrary control to run an specific function rather than everything inside the interact function? How do people deal with this. Is it possible to check whether a control has been modified? Thanks Fred -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.
-- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/groups/opt_out.