parameters: (self, text, displayof=None)
return_statement: return self._tk.getint(self._call("font", "measure", self.name, *args))
docstring: Return text width
docstring_summary: Return text width
docstring_tokens: Return text width
function: def measure(self, text, displayof=None):
          "Return text width"
          args = (text,)
          if displayof:
              args = ('-displayof', displayof, text)
          return self._tk.getint(self._call("font", "measure", self.name, *args))
function_tokens: def measure ( self , text , displayof = None ) : args = ( text , ) if displayof : args = ( '-displayof' , displayof , text ) return self . _tk . getint ( self . _call ( "font" , "measure" , self . name , * args ) )