I'd say that's in the sagenb package.

You can use the instructions at:

http://nb.sagemath.org/dev.html

Specifically, the file interact.py contains a funciont called
interact, and then you'd have to read also the javascript part, which
is possibly in the file notebook_lib.js, around:

function set_output_text(id, stat, output_text, output_text_wrapped,
                         output_html, introspect_html, no_interact) {
...
    // Handle an interact update.
...

I wanted to give you a hint, but now I feel I could do it. If you get
stucked tell me.

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

Reply via email to