LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-03-2008, 07:14 AM   #1
neophytezer0
LQ Newbie
 
Registered: Nov 2007
Location: localhost
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Using new widgets in Tk with python


Solved!!! EDIT: not quite. see below.

First off, my distro came with Tcl/Tk version 8.4. So when I upgraded, I skipped a step; I was still running tclsh version 8.4 as well. So what I did was remove the tclsh simlink from tclsh8.4, and made a new one from tclsh8.5.

Also of note is that Tk 8.5 comes with all of the widgets that can be themed (which come with Tile). So now that I am running Tcl/Tk 8.5, all of those widgets are available, so I do not need Tile at all.

As far as using Tk 8.5 with python goes, I found a python binding called Tile.py which basically makes the calls in Tile available in Tk. So to use the new widgets and themes, you include Tile, and use them.

I hope my trials have come to some use to others ;D

EDIT: python is still trying to use the old Tk version. Does anyone know how to change this?

Last edited by neophytezer0; 01-04-2008 at 08:15 PM. Reason: enlightenment ;D
 
  


Reply

Tags
python, tcl, tk, tkinter


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing Tk (of Tcl/Tk) Arild2 Linux - Software 2 12-14-2007 11:58 PM
Trying to compile tile, can't find tcl configuration... quincy_the_penquin Linux - Software 4 04-25-2007 09:32 PM
Cannot find Tcl dll ( Perl's Tcl bridge ) Xyem Linux - Software 2 08-08-2006 09:45 AM
Installing Tcl/Tk Quiber Suse/Novell 1 01-18-2005 10:08 AM
Installing tcl/tk on Mandrake 9.1 rish Mandriva 1 09-06-2003 11:41 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration