You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize that Iced is designed to be cross-platform, but there are instances where you want interop with platform-specific code. In particular, I am considering trying to port a windows application to Rust, and I'd like to use Iced for the majority of the UI, but I have a small frame of content where I'd like to use Microsoft's WebView2 SDK (when running on Windows), which requires passing in an HWND. From what I can tell, the native HWNDs are not exposed as part of Iced's API surface.
Does Iced have any way of handling this type of scenario? If not, what would be required to implement this functionality?
This discussion was converted from issue #840 on May 04, 2021 06:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I realize that Iced is designed to be cross-platform, but there are instances where you want interop with platform-specific code. In particular, I am considering trying to port a windows application to Rust, and I'd like to use Iced for the majority of the UI, but I have a small frame of content where I'd like to use Microsoft's WebView2 SDK (when running on Windows), which requires passing in an HWND. From what I can tell, the native HWNDs are not exposed as part of Iced's API surface.
Does Iced have any way of handling this type of scenario? If not, what would be required to implement this functionality?
Beta Was this translation helpful? Give feedback.
All reactions