Python Setter/Getter


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. 1238 - def _GetSilentMode(self):
  2. 1239 return self._Property('SILENT_MODE', '', '', Cache=False) == 'ON'
  3. 1240
  4. 1241 - def _SetSilentMode(self, value):
  5. 1242 self._Property('SILENT_MODE', '', '', cndexp(value, 'ON', 'OFF'), Cache=False)
  6. 1243
  7. 1244 SilentMode = property(_GetSilentMode, _SetSilentMode,
  8. 1245 doc='''Returns/sets Skype silent mode status.
  9. 1246
  10. 1247 @type: bool
  11. 1248 ''')

URL: http://ohnopublishing.net/doc/skype4py-1.0.31.0/html/Skype4Py.skype-pysrc.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.