MCPcopy Create free account
hub / github.com/Moosync/Moosync / open_window

Method open_window

src-tauri/src/window/handler.rs:115–126  ·  view source on GitHub ↗
(&self, app: AppHandle, is_main_window: bool)

Source from the content-addressed store, hash-verified

113
114 #[tracing::instrument(level = "debug", skip(self, app, is_main_window))]
115 pub fn open_window(&self, app: AppHandle, is_main_window: bool) -> Result<()> {
116 if !is_main_window {
117 WebviewWindowBuilder::new(
118 &app,
119 "settings",
120 tauri::WebviewUrl::App("/preferenceWindow".into()),
121 )
122 .build()?;
123 }
124
125 Ok(())
126 }
127
128 #[tracing::instrument(level = "debug", skip(self, window))]
129 pub fn enable_fullscreen(&self, window: Window) -> Result<()> {

Callers

nothing calls this directly

Calls 1

AppFunction · 0.85

Tested by

no test coverage detected