Tkinter.Text.size

Text.size()

Return a tuple of the number of column and rows in the grid.