PySoy: Make Widgets List-like
completed by: Nikolay Lazarov
mentors: Amaury Medeiros, Arc Riley, Tony Young, David Czech, Mayank Singh
One of our earlier (now finished) GCI2012 tasks was to implement Scene as a dict of bodies. Similarly, this task is to implement widgets as nested linked lists.
Currently you provide the parent of a widget as an argument when you create it. Instead, you should add it as you would add or insert it as you would any list item. This will result in an API that looks like this:
c = soy.Client() c.window.add(soy.widgets.Projector(camera))
While working on this task you should join and remain in #PySoy on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.
When you've done, commit your work and post the resulting changeset url to this task.