diff cagou/core/platform_/base.py @ 376:9ef01266e3fe

core: new extra menu: a new "extra" menu is added in CagouWidget's header selector (at the end). This activate a side menu with global actions, like showing the "about" screen. Platform specific menus can be added with `local_platform.on_extra_menu_init`.
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:09 +0100
parents 1481f09c9175
children 4d660b252487
line wrap: on
line diff
--- a/cagou/core/platform_/base.py	Mon Jan 27 21:17:09 2020 +0100
+++ b/cagou/core/platform_/base.py	Mon Jan 27 21:17:09 2020 +0100
@@ -69,6 +69,9 @@
         share_widget.close()
         return True
 
+    def on_extra_menu_init(self, extra_menu):
+        pass
+
     def updateParamsExtra(self, extra):
         pass