(self, text, displayof=None)
return self._tk.getint(self._call("font", "measure", self.name, *args))
Return text width
Return text width
Return text width
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))
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 ) )