You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 месеца
преди 3 месеца
преди 3 месеца
123456789101112131415161718192021
  1. class ht_Context:
  2. def __init__(self):
  3. self.cfgContents = []
  4. self.cfgDir = None
  5. self.cfgPath = None
  6. self.cfgTree = {}
  7. self.didLaunch = False
  8. self.recentField = "none"
  9. self.windowBackgroundColor = "#000000"
  10. self.windowHeight = 0
  11. self.windowTitle = ""
  12. self.windowWidth = 0
  13. def field(self, fieldName):
  14. return getattr(self, fieldName)
  15. def setField(self, fieldName, value):
  16. setattr(self, fieldName, value)
  17. def ht_createContext():
  18. return ht_Context()