1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

- Updated INSTALL.fr (wwp <subscript@free.fr>)

- WINGs python update
This commit is contained in:
dan
2004-01-15 20:36:48 +00:00
parent 5d9354f362
commit 1096cfa991
4 changed files with 33 additions and 29 deletions

View File

@@ -55,6 +55,16 @@ class WMScreen:
raise Error, "'%s' is a read-only WMScreen attribute" % name
self.__dict__[name] = value
def __delattr__(self, name):
if name in self.__readonly:
#raise AttributeError, "'%s' attribute cannot be deleted from WMScreen instance" % name
raise Error, "'%s' attribute cannot be deleted from WMScreen instance" % name
try:
del(self.__dict__[name])
except KeyError:
raise AttributeError, "%s instance has no attribute '%s'" % \
(self.__class__.__name__, name)
def mainLoop(self):
wings.pyWMScreenMainLoop(self._o)