/// Options controlling the behavior of a native window
#[derive(Clone)]
pubstructNativeOptions{
/// Sets whether or not the window will always be on top of other windows.
pubalways_on_top: bool,
/// On desktop: add window decorations (i.e. a frame around your app)?
/// If false it will be difficult to move and resize the app.
pubdecorated: bool,
/// On Windows: enable drag and drop support.
/// Set to false to avoid issues with crates such as cpal which
/// uses that use multi-threaded COM API <https://github.com/rust-windowing/winit/pull/1524>
pubdrag_and_drop_support: bool,
/// The application icon, e.g. in the Windows task bar etc.
pubicon_data: Option<IconData>,
@ -141,29 +153,22 @@ pub struct NativeOptions {
/// Should the app window be resizable?
pubresizable: bool,
/// On desktop: add window decorations (i.e. a frame around your app)?
/// If false it will be difficult to move and resize the app.
pubdecorated: bool,
/// On desktop: make the window transparent.
/// You control the transparency with [`App::clear_color()`].
/// You should avoid having a [`egui::CentralPanel`], or make sure its frame is also transparent.
pubtransparent: bool,
/// On Windows: enable drag and drop support.
/// Set to false to avoid issues with crates such as cpal which uses that use multi-threaded COM API <https://github.com/rust-windowing/winit/pull/1524>