-
When I try to use the window handle, it throws me a let handle_binding = ui.window().window_handle();
let handle = handle_binding.window_handle();
match handle {
Ok(handle) => { ... },
Err(e) => {
log::warn!("Failed to get Sling UI window handle!\n{e:?}, {e}")
// prints out "NotSupported, the underlying handle cannot be represented using the types in this crate"
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
ogoffart
Nov 28, 2024
Replies: 1 comment 1 reply
-
This might be the case if you are using the Qt backend. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Hoverth
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be the case if you are using the Qt backend.
This is not implemented for Qt because it would require using private API. See #877 (comment)
So you may need to force the use of the winit backend (by disabling the qt backend feature)