code: def _get_tk_config(self, key, default=False):
          
          if default:
              return self._tk_defaults[key]
          else:
              return self.tk[key]
docs: Gets the config from the widget's tk object.
  
          :param string key:
              The tk config key.
  
          :param bool default:
              Returns the default value for this key. Defaults to `False`.