diff --git a/csaxs_bec/bec_widgets/widgets/client.py b/csaxs_bec/bec_widgets/widgets/client.py index e12cdf2..6af5d1a 100644 --- a/csaxs_bec/bec_widgets/widgets/client.py +++ b/csaxs_bec/bec_widgets/widgets/client.py @@ -55,7 +55,7 @@ class XRayEye(RPCBase): """ @rpc_call - def enable_submit_button(self, enable: "int"): + def enable_submit_button(self, enable: "bool"): """ Enable/disable submit button. Args: @@ -109,3 +109,15 @@ class XRayEye2DControl(RPCBase): """ Cleanup the BECConnector """ + + @rpc_call + def attach(self): + """ + None + """ + + @rpc_call + def detach(self): + """ + Detach the widget from its parent dock widget (if widget is in the dock), making it a floating widget. + """