We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cedcc3d commit c4c61f1Copy full SHA for c4c61f1
crates/tauri-runtime-wry/src/lib.rs
@@ -2372,7 +2372,7 @@ impl Drop for WebviewWrapper {
2372
}
2373
2374
pub struct WindowWrapper {
2375
- pub label: String,
+ label: String,
2376
inner: Option<Arc<Window>>,
2377
// whether this window has child webviews
2378
// or it's just a container for a single webview
@@ -2388,6 +2388,12 @@ pub struct WindowWrapper {
2388
focused_webview: Arc<Mutex<Option<String>>>,
2389
2390
2391
+impl WindowWrapper {
2392
+ pub fn label(&self) -> String {
2393
+ self.label.clone()
2394
+ }
2395
+}
2396
+
2397
impl fmt::Debug for WindowWrapper {
2398
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
2399
f.debug_struct("WindowWrapper")
0 commit comments