slint icon indicating copy to clipboard operation
slint copied to clipboard

How to embed another independent process in a window for rendering?

Open shanliu opened this issue 2 years ago • 2 comments

like this: embed window

How do I make it happen?

shanliu avatar Feb 19 '24 15:02 shanliu

Embedding a native window is something that we've discussed before and that would seem to be in scope for Slint.

see the discussion

asuper0 avatar Feb 22 '24 01:02 asuper0

For the Qt and winit backends, this seems like a desirable feature to support. Given an external window id, it would be nice of the Slint language had an element that would make it easy to place this external window inside the main window. There may be caveats about the stacking or placement of other elements on top, but such limitations can be documented.

tronical avatar Feb 22 '24 15:02 tronical