Jason Grout wrote:
> I just spent some time thinking about how to specify layouts for 
> interact controls.  Here's a possible syntax:
> 
> @interact(layout=[['a','b'],['c','d']])
> def _(a=1,b=(2,3),c="hi",d=x+1):
>      print a,b,c,d
> 
> 
> This would lay out a table with a and b in the same row, then c and d in 
> the same row.
> 

I posted a patch in a comment to:

http://trac.sagemath.org/sage_trac/ticket/7379

which enables the above syntax to work.

Thanks,

Jason





-- 
Jason Grout


--~--~---------~--~----~------------~-------~--~----~
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