(self)
Get the current value as integer or float.
Get the current value as integer or float.
Get the current value as integer or float .
def get(self):
        """Get the current value as integer or float."""
        value = self.tk.call(self._w, 'get')
        try:
            return self.tk.getint(value)
        except (ValueError, TypeError, TclError):
            return self.tk.getdouble(value)
def get ( self ) : value = self . tk . call ( self . _w , 'get' ) try : return self . tk . getint ( value ) except ( ValueError , TypeError , TclError ) : return self . tk . getdouble ( value )