I am new to pyglet.

I followed an example:

from pyglet.graphics import Group
class bg_group(Group):
    def set_state(self):
        pass

    def unset_state(self):
        pass

when I add this to a batch, I get

AttributeError: type object 'bg_group' has no attribute 'parent'

What gives?  I have to create a parent? or what?  the example of
"custom_group" here does not mention this requirement:
http://pyglet.org/doc/programming_guide/batched_rendering.html#id241


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