text widget height

[email protected]
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
It appears $widget->cget('-height') will return the orginal height value in number of character lines and $widget->Height will return the number of pixels.  Do I need to do some math or is there a better way to retrieve a text widget's current height in number of character lines?

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.