Mercurial > libervia-desktop-kivy
comparison src/cagou/core/cagou_main.py @ 65:1c738621bc8d
core: on_pause/on_resume handling (needed for Android)
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 13 Dec 2016 23:10:43 +0100 |
parents | 8e16abcadbb8 |
children | 1a324c682d8a |
comparison
equal
deleted
inserted
replaced
64:8e16abcadbb8 | 65:1c738621bc8d |
---|---|
224 @param *args: additional arguments used in format | 224 @param *args: additional arguments used in format |
225 @param **kwargs: additional keyword arguments used in format | 225 @param **kwargs: additional keyword arguments used in format |
226 """ | 226 """ |
227 return os.path.expanduser(path).format(*args, media=self.host.media_dir, **kwargs) | 227 return os.path.expanduser(path).format(*args, media=self.host.media_dir, **kwargs) |
228 | 228 |
229 def on_pause(self): | |
230 return True | |
231 | |
232 def on_resume(self): | |
233 pass | |
234 | |
229 | 235 |
230 class Cagou(QuickApp): | 236 class Cagou(QuickApp): |
231 MB_HANDLE = False | 237 MB_HANDLE = False |
232 | 238 |
233 def __init__(self): | 239 def __init__(self): |