|
From: Joe E. <jen...@fl...> - 2006-11-18 21:38:02
|
Kevin Walzer wrote: > > I'm not clear on what changes will need to be made to my code when Tile > goes into the core. Currently I use "package require tile" and the ttk:: > namespace to set up my widgets. What will I need to do differently when > I start using Tk 8.5? For application code, hopefully very little :-) As mentioned earlier, [ttk::paned] has been renamed to [ttk::panedwindow]. If you're using 0.7.8 you can change that right now, since [ttk::panedwindow] is available as a forward-compatibility alias. [style] has been renamed to [ttk::style]. Tile 0.7.8 doesn't have a forward-compat alias for this one since I didn't know this was going to happen. The ttk::treeview widget might not be there. Other changes: tile::availableThemes -> ttk::themes, and tile::setTheme -> ttk::setTheme. Everything else in the tile::* namespace is gone (none of that was public anyway, though). At the moment, in Tk CVS HEAD, calling "package require tile" in an 8.5a6 interp will break badly. This needs to be fixed before 8.5 beta. For themes and custom widgets, there might be more changes. --Joe English jen...@fl... |