Hello all!
Has anybody an idea how could I get tkTable to give as answer for such command :
set width [$table width 0]
the width of a column in pixels? The only thing I´ve managed to get is column width, but in characters.
Thanks
The only way I could get $tblname width $x to give me back pixels was to have first specified a width for that column in pixels. Bob Rashkin
rrashkin@csc.com
Hello, Bong!
I´ve found a way for that without setting a width for the column in pixels first :
This command '$tblname bbox first ?last?' returns the bounding box for the specified cell (or range of cells) as a 4-tuple of x,y,width and height in pixels. So just the thing I´ve needed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.