Re: [PythonCE] pygame / distutils

2008-08-14 Thread René Dudfield
What is the best way to compile extensions for python CE ? Adam: do you have a link to those SCUMVM files? Any further progress? Why not pygame-ctypes? It was slow, buggy, and non-portable - and C pygame worked fine. The author was paid to do it, and stopped when the money ran out and moved on

Re: [PythonCE] Programaticly moving cursor in multi-line edit

2008-08-14 Thread Igor Kaplan
Hi Alexandre, Thanks a lot for your suggestion, it worked, so now moving to the beginning and to the end of the edit control works perfectly fine. Ppygui is being such a wonderful library, just love it! Many thanks and all the best. Igor. From: Alexandre Delattre <[EMAIL PROTECTED]> Sub

Re: [PythonCE] Programaticly moving cursor in multi-line edit control

2008-08-14 Thread Igor Kaplan
Hi Jared, Thanks so much for your advice, it solved the problem of loading file all into 1 line, so loading is so much faster now! I am still trying to figure out the cursor movement issues. All the best. _ From: Jared Forsyth [mailto:[EMAIL PROTECTED] Sent: Thursday, A

Re: [PythonCE] Programaticly moving cursor in multi-line edit control

2008-08-14 Thread Alexandre Delattre
Igor, I've tested your app, and what happens really is that the cursor itself is moved at the beginning but the edit isn't scrolled to make it visible (if you press an hardware key or try to insert a few characters, you'll be then scrolled at the beginning). This seems to be the normal behavi

Re: [PythonCE] Programaticly moving cursor in multi-line edit control

2008-08-14 Thread Jared Forsyth
The way to preserve linebreaks is tp replace "\n" with "\r\n" so: self.text_entry.text = fl.read().replace("\n","\r\n") On Wed, Aug 13, 2008 at 8:05 PM, Igor Kaplan <[EMAIL PROTECTED]>wrote: > Hello, > > I would like to ask a little advice. Already several days I am trying to > figure out the fo

[PythonCE] Programaticly moving cursor in multi-line edit control

2008-08-14 Thread Igor Kaplan
Hi Alexandre, Thanks a lot for your reply. I'll try to attach the source file to this message, however not sure if this mailing list allows attachments, so I have uploaded it also to my ftp side: ftp://ftp.uliy.com/pub/python/te.py I tried to run this file on the smartphone and on PocketPc, t