|
1234567891011121314151617 |
- class ht_Context:
- def __init__(self):
- self.didLaunch = False
- self.recentField = "none"
- self.windowBackgroundColor = "#000000"
- self.windowHeight = 0
- self.windowTitle = ""
- self.windowWidth = 0
-
- def field(self, fieldName):
- return getattr(self, fieldName)
-
- def setField(self, fieldName, value):
- setattr(self, fieldName, value)
-
- def ht_createContext():
- return ht_Context()
|