diff --git a/bec_widgets/applications/launch_window.py b/bec_widgets/applications/launch_window.py index 03a7bea2..224c3d2d 100644 --- a/bec_widgets/applications/launch_window.py +++ b/bec_widgets/applications/launch_window.py @@ -189,6 +189,7 @@ class LaunchTile(RoundedFrame): class LaunchWindow(BECMainWindow): RPC = True + PLUGIN = False TILE_SIZE = (250, 300) DEFAULT_LAUNCH_SIZE = (800, 600) USER_ACCESS = ["show_launcher", "hide_launcher"] diff --git a/bec_widgets/applications/main_app.py b/bec_widgets/applications/main_app.py index 54daae0b..a80fea65 100644 --- a/bec_widgets/applications/main_app.py +++ b/bec_widgets/applications/main_app.py @@ -17,6 +17,8 @@ from bec_widgets.widgets.containers.main_window.main_window import BECMainWindow class BECMainApp(BECMainWindow): + RPC = False + PLUGIN = False def __init__( self, diff --git a/bec_widgets/applications/views/developer_view/developer_widget.py b/bec_widgets/applications/views/developer_view/developer_widget.py index 96b6741f..a737b145 100644 --- a/bec_widgets/applications/views/developer_view/developer_widget.py +++ b/bec_widgets/applications/views/developer_view/developer_widget.py @@ -79,6 +79,8 @@ def markdown_to_html(md_text: str) -> str: class DeveloperWidget(DockAreaWidget): + RPC = False + PLUGIN = False def __init__(self, parent=None, **kwargs): super().__init__(parent=parent, variant="compact", **kwargs) diff --git a/bec_widgets/cli/client.py b/bec_widgets/cli/client.py index 5ed4e988..cf6eb172 100644 --- a/bec_widgets/cli/client.py +++ b/bec_widgets/cli/client.py @@ -2848,6 +2848,20 @@ class ImageItem(RPCBase): """ +class LaunchWindow(RPCBase): + @rpc_call + def show_launcher(self): + """ + Show the launcher window. + """ + + @rpc_call + def hide_launcher(self): + """ + Hide the launcher window. + """ + + class LogPanel(RPCBase): """Displays a log panel"""