views:

171

answers:

1

Hello,

I am looking for an integrated pygame text editor, that is, something that can run in a pygame window without hijacking the event loop. I don't need anything fancy, just a basic editor. I have looked at pgu, and it is just barely ok, I am in the midst of modifying it to better suit my needs. Ocempgui is pretty cool, but seems a bit overkill for what I want.

Anyways, I noticed when looking for SDL editors that there are almost none that are not integrated into a huge SDK type library. I know that text editors are harder to write than they seem (lots of finicky details), but I am still surprised at the lack of them. Can anyone recommend a relatively lightweight pygame OR SDL(C/C++) based text editing widget? If it is not pythonized, I will swig it and upload it.

Thanks, Devo

A: 

The libs (pgu and Ocempgui) you have listed are commonly held as the best GUI modules for PyGame.

They are written to work around the limitation of SDL to only handle one window, making Gtk and Qt very problematic to implement, as listed in the GUI section of the PyGame wiki.

As such, they are already more lightweight than most. I usually implement my own GUI for every game I make (thus far, they have been quite different).

I find it hard to answer your question, could you be more specific why pgu (for examhple) is "just barely ok"? To me, it seems to be exactly what you want.

mizipzor