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

from collections import namedtuple
SIDEBAR = 'SIDEBAR'
TABBED = 'TABBED'
INLINE = 'INLINE'
HIDDEN = 'HIDDEN'
FONTWEIGHT_THIN = 100
FONTWEIGHT_EXTRALIGHT = 200
FONTWEIGHT_LIGHT = 300
FONTWEIGHT_NORMAL = 400
FONTWEIGHT_MEDIUM = 500
FONTWEIGHT_SEMIBOLD = 600
FONTWEIGHT_BOLD = 700
FONTWEIGHT_EXTRABOLD = 800
FONTWEIGHT_HEAVY = 900
FONTWEIGHT_EXTRAHEAVY = 1000
Events = namedtuple('Events', [
'VALIDATE_FORM', 'ON_SUCCESS', 'ON_ERROR'
])('VALIDATE_FORM', 'ON_SUCCESS', 'ON_ERROR')
# class Events:
# VALIDATE_FORM = 'VALIDATE_FORM'
# ON_SUCCESS = 'ON_SUCCESS'
# ON_ERROR = 'ON_ERROR'