There's a property() decorator as of python2.6  :
http://docs.python.org/library/functions.html#property

On Sun, Dec 4, 2011 at 10:58 AM, Joe Cross <[email protected]> wrote:

> Hello,
>
> Much simpler demo here.
>
> https://github.com/numberoverzero/BatchDrawExample
>
> Simply import Example and click around.
>
> Main runs the window and update, and Shape takes care of rectangle
> updating.
> The reason for getters/setters on each variable is so that when they
> change, verts are updated correctly.
>
> --
Jake

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to