Revision 6 as of 2002-09-30 18:25:42

Clear message

Describe How Tkinter can exploit Tcl/Tk extensions here.

[...]

["Tcl"]/["Tk"] developers have constructed many interesting widget sets which extend Tk's basic functionality. A few of these--["Tix"], for example--are reasonably well known and accessible to Tkinter users. What about the rest? When a Tkinter programmers sees a promising Tk extension, is it likely to do him or her any good?

Briefly, yes. First, it's important to make the distinction between so-called "pure Tk" extensions and those that involve (external) C-coded compilation. Quite a few useful widgets sets, most notably including ["BWidgets"] and ["tklib"], are "pure Tk". That means that Tcl/Tk programmers simply read them in at run time, with no need for (re-)compilation, configuration, or other deployment complexities.

These extensions are nearly as easy for Tkinter programmers to use. Here's an example: . . .

On the other hand, Tix and ["BLT"] are popular Tk extensions which require compilation. . . .


["Fredrik Lundh"] has pages which he calls "work in progress", but which readers are certain to find helpful: http://effbot.org/zone/bwidgets.htm and http://effbot.org/zone/tkinter-text-bind-insert-delete.htm The latter explicitly extends Tkinter through use of Tcl. Also, Gustavo Cordero is working in this same area; his work is likely to show up in the Tcl-ers' Wiki for [http://wiki.tcl.tk/tkinter Tkinter].

Unable to edit the page? See the FrontPage for instructions.