[tcltk-perl] $widget->exists
Brought to you by:
hobbs
From: Gisle A. <gi...@Ac...> - 2004-04-26 07:49:44
|
The following change: * lib/Tcl/Tk.pm: perlTk compatibility: sub PathName, Exists, class, toplevel, parent, *all* winfo methods. broke our app, because we used $bwtree->exists($path) to access the ".tree exists path" subcommand of BWTree. After this change this method call was routed to winfo instead. I fixed it in our sources be removing the winfo override for exists. I suggest we make that official too. There is already Tcl::Tk::Exists() for doing 'winfo exists' checks. Anyway, this illustrates that we need a better mechanism to deal with conflicts like this. There should be a way for force method calls to resolve a particular way. --Gisle |