Hi,
I'm looking at the possiblity of using Pyglet in a PyObjC application,
but I think I may have come across an issue when reading up about
PyObjC on the internet and I'm looking for a little clarification.
Pyglet uses methods like the following to allow you to override and
handle different window events ...
@window.event
def on_draw():
or
@window.event
def on_key_press(symbol, modifiers):
But as I understand it, you cannot name your standard Python methods
in this way (using the underscore) or PyObjC will cause an error?
Is this the case ?
Can I use Pyglet from a PyObjC applications (or any other Python
library for that matter) ? If so, how ?
Thanks
-Mic
|