On Tue, Jun 30, 2009 at 12:11 PM, riq<[email protected]> wrote: > - Instead of using custom widgets, let's use python-QT (I think that > Kao started an editor with QT) or any other widgets (wx-widgets, > pygtk, ?)
Actually I've started an editor using pygtk, but I was using the gtk drawing api to draw tiles. I couldn't find a way to put a OpenGL context inside a gtk window. I've seen a widget to do that but I didn't find a way to make it work with python, but it's not like I have really tried. Before trying pygtk I tried wxPython, but I didn't like it. The API is overwhelming and there's plenty of complicated ways of doing the most simple things. Pygkt seems much more sane and uniform to me. Anyway, the OpenGL integration is already done, but I don't know how easy it would be to integrate with cocos. I've never used Qt, but I've heard good things about it. AFAIK Qt also have ready-to-use OpenGL widgets and maybe it's worth a try. I agree with Richard that Tkinter is an alternative. The fact that it works with vanilla python is definitely a good thing, and I know that some newer versions even have a theme engine that makes it look prettier (i think it's called ttk, but i don't know if they're just for python 3.0 or are on 2.6 too). Also, it seems very easy to code. I have no idea about OpenGL support though, but it seems possible according with this rather old thread: http://mail.python.org/pipermail/python-list/2000-February/022064.html I was busy lately because of university, but I'd like to continue contributing to the project. I'll organize myself for doing that ASAP. []'s -- Kao Cardoso Félix Página pessoal: http://www.inf.ufrgs.br/~kcfelix Blog: http://kaofelix.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" 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/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
