Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.


  What are the visible lines in a text widget?
 
 To find the range of characters visible in the text widget, simply use
the index function:

set firstChar [$text index @0,0]
set lastChar [$text index @65535,65535]