Startup and Shutdown functions¶
Called when your Extension is loaded and passed its Extension ID. This is typically where your extension will create its UI and any other startup tasks that are needed.
# ext_id is current extension id. It can be used with extension manager to query additional information, like where # this extension is located on filesystem. def on_startup(self, ext_id): print("[ui.demo.ext] ui demo ext startup") self.create_ui() self.create_event_subscriptions()