09-28-2009, 07:33 AM | #1 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Tcl/Tk for iLiad?
I just compiled and installed Tcl/Tk in Scratchbox target for iLiad because they are needed by Python. In fact, I don't know what are they. With some brief review of the official site, I only caught the key word "rapid development".
So, my question is: do we need it for iLiad? |
09-28-2009, 02:47 PM | #2 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Tcl/Tk is a scripting language with a very well designed UI (API-wise). It is rather small (in KB) as it is designed to be included in applications. In spirit, it is similar to the lua+lgob port that you have seen here. The API of the UI is so great, that it is (was?) the deafult GUI for python, hence its status as a dependency. It uses raw X (no GTK/Qt, etc although there are ports for a lot of platforms, including windows), and it shows its age, although newer versions have some skinning support. The problem is that GUI programs written in TCL/Tk aren't as speedy as... say C+FLTK programs. Tcl/tk is great for quick hacks, but for large programs it is adviseable to look elsewhere. Anyway, I find writing programs in Tcl/Tk very enjoyable (much more that in python, for example). |
|
Advert | |
|
09-28-2009, 04:52 PM | #3 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
tkinter (tcl/tk for python) is a GUI included in python standard library. It's multiplatform, but not much people uses it nowdays (sorry Antartica, I thought you were younger ;-) None of the previous iLiad python ports has included it before. - https://www.mobileread.com/forums/showthread.php?t=24138 - https://www.mobileread.com/forums/showthread.php?t=12636 and yours - https://www.mobileread.com/forums/showthread.php?t=30169 I like python a lot, it's my preferred language, but sadly enough it's somehow slow on the iLiad, that's the reason I learning lua now. IMO, there is not much interest in tkinter. Iņigo [1] http://en.wikipedia.org/wiki/Tk_%28framework%29 |
|
09-28-2009, 06:03 PM | #4 | |
Evangelist
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
"How old are you?" thread Hope that using Tcl/Tk doesn't make me age at an accelerated pace X-). Anyway, for hacks and light GUIs, it is still a valid option (in fact VMWare for Linux used it for quite a lot of versions until they did change to a "proper" GUI library). In my case, I became addicted to Tcl/Tk in my OS/2 days; was looking for a scriptable way for doing UIs that worked for both OS/2 and Linux and that was what I found. Although I reckon that that was a long time ago X-). |
|
09-28-2009, 10:33 PM | #5 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Thanx for Antartica and Iņigo's explanation. I know Tcl/Tk better now.
OS/2? Quite a fantasy and legendary operation system. I used it once when it came out. |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iliad-regutils: Easy editing of the iLiad registry | Martijn | iRex | 7 | 09-04-2010 07:12 AM |
TCL-Alcatel prépare sa liseuse | NicolasR | Autres liseuses | 2 | 06-02-2010 06:58 AM |
iLiad How to make iliad into a SSH server and connect with iLiad | tudou331100 | iRex Developer's Corner | 21 | 02-06-2009 06:35 AM |
Ended Iliad iRex + Iliad cover for sale in London | acorral | Flea Market | 0 | 01-16-2009 07:09 AM |
iLiad Book Edition slower than iLiad v2: different sw version? | SecondoMe | iRex | 17 | 05-14-2008 02:42 PM |