pub async fn open_widget_popout(
app: AppHandle,
widget_id: String,
runtime: State<'_, Runtime>,
) -> Result<(), String>Expand description
Opens an enabled module widget in its own window, or shows the window when it’s already open.
The window loads the app’s own interface, which then runs only that widget’s module. Async, because creating a window from a synchronous command can deadlock on Windows.