code: def getProperty(self, prop, *args, **kwargs):
          
          f = self.__getAttrs.get(prop)
          if not f:
              raise KeyError('Unknown readable property: %s' % prop)
          return f(self, *args, **kwargs)
docs: Get the value of a property. See the corresponding method for the
          required arguments.  For example, for the property _NET_WM_STATE, look
          for :meth:`getWmState`