Mercurial > libervia-desktop-kivy
comparison cagou/core/cagou_main.py @ 152:b9fd83292fc4
core: disabled Kivy's default behaviour of displaying settings on F1
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Apr 2018 16:35:53 +0200 |
parents | 05d602be0120 |
children | a5e8833184c6 |
comparison
equal
deleted
inserted
replaced
151:3a05dfa27f5e | 152:b9fd83292fc4 |
---|---|
224 | 224 |
225 | 225 |
226 class CagouApp(App): | 226 class CagouApp(App): |
227 """Kivy App for Cagou""" | 227 """Kivy App for Cagou""" |
228 | 228 |
229 def _install_settings_keys(self, window): | |
230 # we don't want default Kivy's behaviour of displaying | |
231 # a settings screen when pressing F1 or platform specific key | |
232 return | |
233 | |
229 def build(self): | 234 def build(self): |
230 Window.bind(on_keyboard=self.key_input) | 235 Window.bind(on_keyboard=self.key_input) |
231 return CagouRootWidget(Label(text=u"Loading please wait")) | 236 return CagouRootWidget(Label(text=u"Loading please wait")) |
232 | 237 |
233 def showWidget(self): | 238 def showWidget(self): |