William Stein wrote:
> On Mon, Jan 26, 2009 at 1:57 PM, Mike Hansen <mhan...@gmail.com> wrote:
>> Hello,
>>
>> On Mon, Jan 26, 2009 at 1:51 PM, john_perry_usm <john.pe...@usm.edu> wrote:
>>> I'll post this to sage-support too, but I'm writing it here to ask
>>> whether people think that this should be a *default* widget that is
>>> included with *every* Sage interact. It's not a great solution, but it
>>> could be a start...?
>> How about having it so that if you have interact_update=False in the
>> parameter list, then things won't automatically update when the
>> controls are changed.  Instead, there'd just be a button labeled
>> "Update" that appears which will rerun the function when it is
>> clicked?
> 
> That's an excellent idea, and probably very easy to implement too.


How about this slight change in syntax:

@interact(update=False)
def _(...


Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to