Robert,

I think I understand what you mean now.  There's no
way within an interact to somehow set the state of the
controls.  They are stuck at whatever state they were when
you last pressed a button or set a menu item.
There are still many limitations to interact;
it certainly doesn't do everything needed to make all
sorts of gui's one might want!     Unfortunately, I'm
not going to add any functionality to interact for at least
the next month or two -- if people want more functionality
they will have to add it.   That said, it is helpful for
people to make a list of everything they want/need,
since that will make implementing it (by whoever does it)
much easier.

 -- William

On Fri, Mar 28, 2008 at 3:32 PM, William Stein <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 3:25 PM, Robert Miller <[EMAIL PROTECTED]> wrote:
>  > William,
>  >
>  >  Just playing around with @interact a little, and I have a basic
>  >  question that isn't answered by the examples on the wiki, or as far as
>  >  I can tell the docs in the source itself. Maybe I asked in Arizona,
>  >  but I've recovered from that trip now, and I don't remember...
>  >
>  >  Anyway, is there a way to have the interact widget remember anything
>  >  between interactions? Even something as simple as a set of buttons,
>  >  each of which when clicked adds a certain letter to a text box?
>  >  Everything seems to default back when I click something, even things I
>  >  don't want to.
>
>  Yes.   First, widgets do *not* default back when you click something.
>  I don't know why you think that.  Second you can store global state
>  information before @interact -- see, e.g., the egg painter:
>   
> http://wiki.sagemath.org/interact#head-9677e1d6e7c5e7f87173ae7dc82494a072ac0578
>
>  which stores global state information.
>
>   -- William
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

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

Reply via email to