PyDocs

Nav

Graphical user interfaces with Tk

Font.measure

  • Font.measure(text, displayof=None)
Return amount of space the text would occupy on the specified display when formatted in the current font, as an integer number of pixels. If no display is specified then the main application window is assumed.
0 Examples
No examples for tkinter.font/Font.measure.
See Also
No see-alsos for tkinter.font/Font.measure
0 Notes
No notes for Font.measure