This is a small GTK proram running on iLiad. Unpack it to anywhere and execute from contentlister.Because I haven't figured out the refresh mechanism, please
wait for 5 secs after executing, then touch the "page 1" label (on the middle of bottom).
Attention: After each action, touch the page label on mid-bottom to refresh screen
manually.
Users can select a text file to display on screen by touching "Folder" button. Touching "Cancel" button will close the program.
With proper font file installed, this app can display national text in UTF-8 encoding.
Souce code is included. Compile command:
Code:
gcc -o gtktextview gtktextview.c -I`pkg-config --cflags --libs gtk+-2.0`
I need help on getting automaitc screen refresh. Even though some people, such as scotty1024 and Antatica has proposed some way to refresh screen. I just don't understand. I tried to peek into source code of iPDF and found that it's too complicated for me to understand.
Any help is welcome.