Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: How do I count wrapped lines in TK.::Text?by jeorgen (Pilgrim) |
on Aug 20, 2002 at 09:31 UTC ( [id://191422]=note: print w/replies, xml ) | Need Help?? |
Thanks for your reply, and your code graff! All I really need is a function that gives me the number of display lines of the (proportional font) text in the widget if the widget had enough height, not logical lines if the widget had infinite width. I suspect there might be something like that in the layout functions of Tk, but alas, I do not understand things that deep down as yet.
graff writes: I want to be able to use a proportional font, you see... I should have
written that. And I want to use word wrapping. It was very late here (CET) when
I posted so I did not describe the problem concisely enough.
/jeorgen
In Section
Seekers of Perl Wisdom
|
|