from kivy.properties import ListProperty, StringProperty
from ..lock import Lock
+from kivy.clock import mainthread
+
__all__ = ["ActionList",
"ActionListIcons", "ActionListIcon",
"ActionListDescriptions", "ActionListDescription"]
action_title = StringProperty("")
action_list = ListProperty([])
+ @mainthread
def update_list(self, key, action_descriptions):
if key.repeat_delay > 0:
self.action_title = _(