Hello,
I am wondering if there is a way to make the window and app more
implicit in pyglet? Something like:
import pyglet
my_app = pyglet.app() #is the window, just under the name of app
my_app.run()
or:
import pyglet
window = pyglet.window.Window()
pyglet.app.window = window
pyglet.app.run()
As it is right now, it is not pythonic at all and I am wondering if
there was a good reason for this? Also, is there a way to make it more
implicit?
If not, I can create a wrapper class over it to make it more pythonic,
but I would rather not...
thanks,
--
Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.