pub async fn set_layout(layout: &str, window_id: &WindowId) -> Result<()>
Apply the provided layout to the window with window_id.
layout
window_id