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.

28 lines
629 B

2 years ago
2 years ago
  1. from collections import namedtuple
  2. SIDEBAR = 'SIDEBAR'
  3. TABBED = 'TABBED'
  4. INLINE = 'INLINE'
  5. HIDDEN = 'HIDDEN'
  6. FONTWEIGHT_THIN = 100
  7. FONTWEIGHT_EXTRALIGHT = 200
  8. FONTWEIGHT_LIGHT = 300
  9. FONTWEIGHT_NORMAL = 400
  10. FONTWEIGHT_MEDIUM = 500
  11. FONTWEIGHT_SEMIBOLD = 600
  12. FONTWEIGHT_BOLD = 700
  13. FONTWEIGHT_EXTRABOLD = 800
  14. FONTWEIGHT_HEAVY = 900
  15. FONTWEIGHT_EXTRAHEAVY = 1000
  16. Events = namedtuple('Events', [
  17. 'VALIDATE_FORM', 'ON_SUCCESS', 'ON_ERROR'
  18. ])('VALIDATE_FORM', 'ON_SUCCESS', 'ON_ERROR')
  19. # class Events:
  20. # VALIDATE_FORM = 'VALIDATE_FORM'
  21. # ON_SUCCESS = 'ON_SUCCESS'
  22. # ON_ERROR = 'ON_ERROR'