1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00
Files
egui/examples/multiple_viewports
Emil Ernerfeldt 8f2c8664e7 Emilk/revert workspace deps (#3942)
* Closes https://github.com/emilk/egui/issues/3941

Workspace dependencies can be annoying.

If you don't set them to `default-features=false`, then you cannot opt
out of their default features anywhere else, and get warnings if you
try.

So you set `default-features=false`, and then you need to manually opt
in to the default features everywhere else.
Or, as in my case, don't.

I don't have the energy to do this tonight, so I'll just revert.
2024-02-01 21:29:48 +01:00
..
2023-11-20 17:43:40 +01:00
2024-02-01 21:29:48 +01:00
2023-11-16 11:25:05 +01:00

Example how to show multiple viewports (native windows) can be created in egui when using the eframe backend.

cargo run -p multiple_viewports

For a more advanced example, see [../test_viewports].