View Single Post
Old 01-26-2012, 08:55 AM   #22
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
I have solved the refresh problem, but had to rewrite a lot of the drawing code. I now use a pixmap that is copied to the DrawingArea using draw_drawable. This should show others how to use python and get proper refreshes of the screen (might also work for vala).
The calc program is now very basic, you can open a file which will be shown and you can scroll the content using the widgets in top of the screen or, on the DR1000, the buttons at the side of the DR. There are a lot of limitations, columns have a fixed width, font is fixed, no formulas, alignment is fixed to the left, etc etc etc.

For installation see message #20. If you already did the actions described there, you only have to copy the new content attached to this message to your SD card.
Attached Files
File Type: zip python26-dr-v6-upgrade.zip (88.8 KB, 390 views)
Mackx is offline   Reply With Quote