register_fonts()
+from .app_blocks.actionlist import *
from .app_blocks.playlist import *
class KeyList(RelativeLayout):
if len(self.keylist) > 2:
self.third_key = self.keylist[2]
-class ActionList(RelativeLayout):
- action_title = StringProperty("")
- action_list = ListProperty([])
-
- def update_list(self, key, action_descriptions):
- self.action_title = "actions linked to key {}:".format(key.key_sym)
- self.action_list = []
-
- for [action, status] in action_descriptions:
- if status == "done":
- icon = "✓"
- elif status == "current":
- icon = "✅"
- else:
- icon = " "
- self.action_list.append([icon, action])
-
class Screen(FloatLayout):
pass