On Wed, Dec 31, 2008 at 12:12 AM, Mic Pringle <[email protected]> wrote: > > Thanks Alex. > > The reason I asked is because PyObjC apparently has issues with Python > methods that use underscores ... such as ... > > @window.event > def on_draw(): > > All the PyObjC documentation says you should use camel casing so > on_draw would become onDraw ... however this doesn't work if your > using libraries you didn't write, such as Pyglet. > > On the other hand PyObjC claims to give Cocoa developers access to the > full Python language, which kinda contradicts the whole camel > casing/underscore issue, as surely part of Pythons appeal is the many > great third party libraries, such as Pyglet. > > Also, the reason I want to combine the two is so I can use things like > the Sparkle and AquaticPrime frameworks, but do all my rendering as > normal through Pyglet. >
Oh ok, I misunderstood. I assumed you were planning on using PyObjC to access another library from Python while rendering with pyglet; not accessing pyglet from Objective-C. Frankly, I think the chances of this working are slim, for no specific reason. Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
