|
From: Joe E. <jen...@fl...> - 2006-09-17 23:45:00
|
Jeff Hobbs wrote: > Joe English wrote: > > Recently, Pat added an "identify" method to all Tile widgets > > that previously lacked one. Usage is: [$w identify $x $y], > > which returns the name of the element at $x,$y. This is useful > > Maybe 'element' would be a better name them? The core [scrollbar], [scale], and [spinbox] widgets all have "identify" methods that mean essentially the same thing as the Tile versions (that's where the name came from...) The [panedwindow] 'identify x y' method returns a two-element list (sash index, element under the pointer), so there's precedent for variant behaviors too. > > [re: ttk::paned widget] > > 2 points - this *really* needs to be renamed ttk::panedwindow [...] Straw poll: what do others think about this? Should [ttk::paned] be renamed? And if so, is it worth breaking existing scripts? (Actually they won't break immediately, [ttk::deprecated ttk::paned ttk::panedwindow] would be in effect for a release or two to smooth the transition...) --Joe English jen...@fl... |