Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ht_Context.py 448B

3 miesięcy temu
1234567891011121314151617
  1. class ht_Context:
  2. def __init__(self):
  3. self.didLaunch = False
  4. self.recentField = "none"
  5. self.windowBackgroundColor = "#000000"
  6. self.windowHeight = 0
  7. self.windowTitle = ""
  8. self.windowWidth = 0
  9. def field(self, fieldName):
  10. return getattr(self, fieldName)
  11. def setField(self, fieldName, value):
  12. setattr(self, fieldName, value)
  13. def ht_createContext():
  14. return ht_Context()