On 30/09/2013 07:13, tombert wrote:
> I think you could try "place" instead of "pack" which allows you to
> put widgets on top of others ...
The [grid] can be told (explicitly) to put widgets on top of each other.
However, to get good text inside a progress bar, you do need to use
[place]. And to be open to being quite careful. I wrote it up long ago
in quite a bit more detail than I now remember:
http://www.cs.man.ac.uk/~fellowsd/tcl/mwidx.html#progress
Also, I'm not at all convinced that it is going to be practical to make
text-on-progress-bar work on all platforms. It's not how progress bars
tend to look these days. (I don't know if it is possible to add extra
elements to a Ttk widget, or whether you're stuck with what you start
out with; as the standard looks don't have text, doing it the Ttk way
would require adding a label element. I think.)
Donal.
--
Donal Fellows — Tcl user, Tcl maintainer, TIP editor.