mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
applet: Reorganize methods a bit
This commit is contained in:
parent
82a6094b0a
commit
bdde3dd52a
@ -103,6 +103,9 @@ class Applet(dbus.service.Object):
|
||||
def onHidden(self):
|
||||
pass
|
||||
|
||||
def onUpdateScreen(self):
|
||||
pass
|
||||
|
||||
def maybePresentScreen(self):
|
||||
if self.screen.visible and self._manager:
|
||||
self.screen.nextFrame()
|
||||
@ -130,9 +133,6 @@ class Applet(dbus.service.Object):
|
||||
if button:
|
||||
button.pressed = state
|
||||
|
||||
def onUpdateScreen(self):
|
||||
pass
|
||||
|
||||
@dbus.service.method(BUS_INTERFACE,
|
||||
in_signature='di', out_signature='ay',
|
||||
byte_arrays=True)
|
||||
|
Loading…
Reference in New Issue
Block a user