Author Topic: Tkinter  (Read 7743 times)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Tkinter
« on: August 21, 2006, 02:03:26 am »
I used tkinter from another feed to add to Kopsis python image but still get _tkinter not found)err rather not configured for your install) any ideas on how to get this to work?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Tkinter
« Reply #1 on: August 21, 2006, 06:14:50 am »
Quote
I used tkinter from another feed to add to Kopsis python image but still get _tkinter not found)err rather not configured for your install) any ideas on how to get this to work?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139251\"][{POST_SNAPBACK}][/a][/div]

TkInter needs Tk which need X11. I don't believe you'll get it to work on a Qt based ROM. For Sharp/Sharp compatible ROMs, PyQt is pretty much your only choice for GUI Python apps.

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Tkinter
« Reply #2 on: August 21, 2006, 11:33:42 am »
bummer, but there is also anygui, although its old....and unstable...
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Tkinter
« Reply #3 on: August 21, 2006, 11:50:08 am »
I don't know about Tkinter but Tk works fine under X/Qt in the Sharp ROM. Caveat: I've used Tk only via tclkit (which I mentioned to Bam on another thread). I am not sure about a direct install.

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Tkinter
« Reply #4 on: August 22, 2006, 06:34:18 am »
Quote
I don't know about Tkinter but Tk works fine under X/Qt in the Sharp ROM. Caveat: I've used Tk only via tclkit (which I mentioned to Bam on another thread). I am not sure about a direct install.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139305\"][{POST_SNAPBACK}][/a][/div]

Yes, if you go down the X/Qt path, it may be theoretically possible. One would have to custom build the Tkinter stuff and I have no idea what that would entail. If you're writing new apps, it seems to me that just using PyQt would be a whole lot less work. PyQt is really an outstanding GUI framework ... far more sophisticated than Tkinter. If you're just trying to run an existing large Tkinter application, I'd be tempted to switch to OZ/GPE or pdaXrom.