On Thu, May 21, 2009 at 06:30:27AM -0700, pang wrote:
>
> On May 21, 2:48 pm, kcrisman <[email protected]> wrote:
> > Something closely related was discussed but apparently never
> > implemented a while ago (a box to click for not updating immediately,
> > which would be unclicked when one wanted things to update again).
> > Would this idea be relevant to your needs?
>
> Well, that would do. Instead of hitting the "reset" button, or the
> "add point" button, I'd turn the "do not update" checkbox, then choose
> the selector button for the right action and enter other relevant
> data, then click again on the checkbox.
>
> But it's really better to have finer control about which controls
> trigger updates. At least, from an usability point of view, I'd change
> the checkbox for an update button. It feels to me like a rather
> unusual interaction.
>
> Getting back to the post you mention, may be there could be two very
> similar decorators:
> @interact
> @interact_with_update_button (pick up a shorter name)
> May be this way the necessary changes to the code are smaller.
Maybe:
@interact
def ...
@interact(update_button=True)
def ...
I have done some similar trick in http://sagetrac.org/sage_trac/ticket/6097
Just my 2cents
Cheers,
Nicolas
--
Nicolas M. Thiéry "Isil" <[email protected]>
http://Nicolas.Thiery.name/
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---