[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] textboxes and buttons



Thanks.
I'm using ocempGUI and its documentation is somewhat better than pgu's so it's going pretty well.

I have one problem though. Whenever I cx_freeze my application anbd try it out, as soon as I attempt to enter anything in a textbox, I get a "Fatal Python Error: (pygame parachute) Segmentation Fault".

I traced ocempgui's code and found out the segmentation fault is thrown very close to but after 

  self.dirty = True  in Editable.py -> notify()

I'm guessing another thread picks that up and something goes awry in the drawing.

Has anyone cx_freezed a ocempgui app successfully?

-matt




>> The two main GUI toolkits for pygame seem to be OcempGUI and pgu
>>Take a look at these, but if you just need two textboxes for a login, it'd probably be easier just to
>>code them yourself, rather then trying to learn a new library. 





>I don't know of a standard way of doing this in PyGame, but OCempGui

>is in fact a nice GUI toolkit for PyGame.

>http://ocemp.sourceforge.net/gui.html 



>Chris