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.
|