Differences between revisions 3 and 4
Revision 3 as of 2002-09-30 18:13:58
Size: 1374
Editor: starbase
Comment:
Revision 4 as of 2002-09-30 18:24:23
Size: 1510
Editor: starbase
Comment:
Deletions are marked like this. Additions are marked like this.
Line 69: Line 69:
Also, Gustavo Cordero is working in this same area; his work
is likely to show up in the Tcl-ers' Wiki
[http://wiki.tcl.tk/tkinter].

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 [http://wiki.tcl.tk/tkinter].

How Tkinter can exploit Tcl/Tk extensions (last edited 2014-03-14 03:48:56 by DaleAthanasias)

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