Author: EvanCofsky Date: 2008-04-19 16:05:33 -0400 (Sat, 19 Apr 2008) New Revision: 1244
Modified: trunk/pysoy/src/widgets/Canvas.pym trunk/pysoy/src/widgets/Projector.pym Log: Ticket #894: Finishing off property documentation. Updated the property documentation on Canvas and Projector. This should make the Widget examples reasonably useful now. Example code will also help, so I'll see if I can come up with some examples from what I've been working on. Modified: trunk/pysoy/src/widgets/Canvas.pym =================================================================== --- trunk/pysoy/src/widgets/Canvas.pym 2008-04-19 20:00:51 UTC (rev 1243) +++ trunk/pysoy/src/widgets/Canvas.pym 2008-04-19 20:05:33 UTC (rev 1244) @@ -112,10 +112,12 @@ # property texture : - """Canvas texture + """ + L{Texture} rendered by this L{Canvas}. Setting to None or + deleting it disables this Canvas. This can be changed at any time + to change the L{Texture} this L{Canvas} renders. + """ - This is the texture to render on the canvas. Default is None. - """ def __get__(self) : if self._texture : return self._texture Modified: trunk/pysoy/src/widgets/Projector.pym =================================================================== --- trunk/pysoy/src/widgets/Projector.pym 2008-04-19 20:00:51 UTC (rev 1243) +++ trunk/pysoy/src/widgets/Projector.pym 2008-04-19 20:05:33 UTC (rev 1244) @@ -67,11 +67,12 @@ # property camera : - """The L{soy.bodies.Camera} attached to this L{Projector}. This - can be changed to different cameras which have different - perspective parameters. This L{Projector} can also be disabled by - setting this to C{None} or deleting it. """ + The L{soy.bodies.Camera} attached to this L{Projector}. This can + be changed to different cameras which have different perspective + parameters. This L{Projector} can also be disabled by setting + this to C{None} or deleting it. + """ def __get__(self) : return self._camera def __set__(self, value) : _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn