|
From: Joe E. <jen...@fl...> - 2006-11-05 16:49:41
|
Eckhard Lehmann wrote: > > I checked out the latest Tk version (the one that includes tile) and > encountered several - for me major - problems while running a tile'd > program: > > - the [style] command has vanished - it is [ttk::style] now [...] > - The ttk::treeview vanished somehow [...] Tile 0.8.0 will have a transition strategy for all the public routines that got renamed; and will still include the treeview widget. I'd recommend including both in the Tk 8.5 beta, but that's up to Jeff. > Another problem is that Tk8.5a6 (the cvs version) conflicts with an > installed tile distribution and [package re tile]. I didn't get this to > run. Even if I don't do [package re tile], there comes an error "can not > find a usable tile.tcl in the following directories..." OK, here's what's happening: Tk 8.5a6 does not provide (in the sense of [package provide]) "tile" or "Ttk" packages, so [package require tile] ends up loading tile.so and calling Tile_Init(). Tile_Init() in turn calls Ttk_StylePkgInit(); however, on ELF-based systems, this gets resolved to the version of the routine in the core, not the version in tile.so. Since the core provides an API that's incompatible with Tile 0.7.X, the scripts in $::tile::library raise an error. (This might cause other problems as well, but that's the main one). Consequently: any existing programs that call [package require tile] will fail when run with Tk CVS HEAD on ELF-based systems. Windows (and, I believe, OSX) aren't affected, since shared libraries work differently there. --Joe English jen...@fl... |