tomtom wrote:i'll try to show more without being too specific. i don't want to get in trouble.
def __init__(x, y, z, q, image, info):
def draw(self, canvas):
def key_event(self, key, dir):
if key == .....
then... i should have the keyhandler descripbed in my original post that will be defined outside and i'm trying to use the key_event method in it.
Hey tomtom, you should post your entire code, we can't help you without reading it all.
One thing i notice though, is that in your def __init__, you're missing 'self' on your argument list. You should change that to def __init__(self,x, y, z, q, image, info).