Skip to content

Can't get raw-window-handle-06 feature to work. #5319

Closed Answered by tronical
maxenko asked this question in Q&A
Discussion options

You must be logged in to vote

in order to be able to call raw-window-handle’s window_handle function (https://docs.rs/raw-window-handle/latest/raw_window_handle/trait.HasWindowHandle.html#tymethod.window_handle ) on a slint::WindowHandle, you need to bring the HasWindowHandle trait (https://docs.rs/raw-window-handle/latest/raw_window_handle/trait.HasWindowHandle.html# ) in scope. Add raw-window-handle in version 0.6 to your Cargo.toml and add use raw_window_handle::HasWindowHandle;

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@maxenko
Comment options

@tronical
Comment options

Answer selected by maxenko
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants