iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
24.78k stars 1.16k forks source link

Window Widgets / Non-native Windows #254

Open kaimast opened 4 years ago

kaimast commented 4 years ago

Not sure if that is already on the roadmap, but it would be great if iced could provide window and message box widgets that are drawn in a existing native window.

This would be useful for fullscreen applications or apps that use custom styling like games.

manokara commented 4 years ago

Dialogs are indeed on the roadmap afaik, but they would need layers to be implemented first.

kaimast commented 2 years ago

A window or message box is essentially a pane. I noticed iced now has a PaneGrid, but no standalone Pane or Card widget.

I know there is a Card widget in iced_aw, but iced_aw has a hard time keeping up with iced's master branch.

It seems like most of the code for a standalone Pane widget is already in pane_grid. Was there just no time to add that feature or is there a technical reason it does not exist?