On Mon, Nov 30, 2009 at 12:56 PM, gurkesaft <[email protected]> wrote:
> Thanks everyone. Maybe this is the wrong way to do it, but I'm > deriving a class from Window() so I have code that looks something > more like > > class MyFancyWindow(pyglet.window.Window): > > def on_key_press(key, modifiers): > ... > > def on_key_release(key, modifiers): > ... > > I've seen several examples of this style of coding. Is there no way to > write pyglet apps this way? > > > A matter of taste, use the style you prefer. -- claxo -- 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.
