PythonCE Wiki : Tkinter

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
To use Tkinter you have to download this additional software and unpack it on your PDA.

  1. The following archive contains 2 folders: "Windows" and "tcl8.4.3". Put all the files in "Windows" in the "Windows" folder of your PDA.
  2. Create a "lib" folder in the "Program files" folder of your PDA.
  3. Inside the "tcl8.4.3" folder in your archive you will find two folders: "library" and "tk8.4". Copy the "tk8.4" folder into the "lib" folder you just created on your PDA.
  4. Copy all the files in "library" into a folder named "tcl8.4" you will create inside the same "lib" folder.

Tkinter.zip

Tcl/Tk 8.4.12


The file Tkinter.zip contains the Tcl84.dll and Tk84.dll files that refer to Tcl/Tk 8.4.6. This version has a nasty bug under Windows CE: you can't allocate more than a fixed number of Toplevel widgets, whereafter you get a "No more winhandle map slots" error message.

Fortunately, there is a solution. The page http://wiki.tcl.tk/2946 references a Tcl/Tk 8.4.12 binary release compiled by Jeffrey Hobbs. You can get it at: ftp://ftp.tcl.tk/pub/incoming/tcltk8_4_12_ce-arm.zip. On top of having a more recent version, it seems to solve this bug (at least the error message doesn't appear on the binary DLL file).

Note: you still need to download the Tkinter.zip to retrieve and install the celib.dll file.

Update: The latest wince version of tk84.dll (tcltk8_4_12_ce-arm.zip) still has a nasty bug which causes the bwidget combox to blow up by writing garbage onto the screen and then freezing your application.

There are 810 comments on this page. [Display comments]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.0923 seconds