Hi all,

I've taken a piece of code straight out of the tutorial:

import pyglet
window =
pyglet.window.Window(style=window.Window.WINDOW_STYLE_BORDERLESS)

def on_draw():
    window.clear()
pyglet.app.run()

But it returns a "NameError: name 'window' is not defined"

It works fine without the style specification, i.e. window =
pyglet.window.Window()

Am I doing something wrong?

Thanks

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