|
From: Joe E. <jen...@fl...> - 2005-09-02 00:03:41
|
Bryan Oakley wrote: > Is it possible to detect a click over the image of a ttk::notebook tab? > I'm wanting to put a graphical (x) on each tab (ala safari) for > dismissing the tab. I can display the image but I'm not sure how to go > about making it active. Not at present; one possibility would be to add an [$nb identify $x $y] command that would return the tab index and element at position $x,$y. See also #1168548 "Custom styles for complex widgets" -- you might not be able to get the checkbox in just the right place since custom styles for notebooks don't work right yet. > If that's not possible or planned, is there any way to add a clickable > image in the right of the blank area reserved for tabs (ala firefox) > other than by placing it with place, which sounds decidedly difficult to > make work in a cross platform way? I'd like to be able to support this UI idiom as well, but haven't thought of a good way to specify it yet. Ideas? --Joe English jen...@fl... |