/// Open a new window as if it had a parent window.
///
/// * `settings` - The settings of the window.
Open a new window as if it had a parent window.
`settings` - The settings of the window.
Open a new window as if it had a parent window . ` settings ` - The settings of the window .
pub fn open_as_if_parented(
        settings: Settings<A::Flags>,
    ) -> WindowHandle<A::Message> {
        let scale_policy = settings.window.scale;
        let logical_width = settings.window.size.width as f64;
        let logical_height = settings.window.size.height as f64;
        let flags = settings.flags;
        let (sender, receiver) = mpsc::unbounded();
        let sender_clone = sender.clone();
        let bv_handle = Window::open_as_if_parented(
            settings.window,
            move |window: &mut baseview::Window<'_>| -> IcedWindow<A> {
                IcedWindow::new(
                    window,
                    flags,
                    scale_policy,
                    logical_width,
                    logical_height,
                    sender_clone,
                    receiver,
                )
            },
        );
        WindowHandle::new(bv_handle, sender)
    }
pub fn open_as_if_parented ( settings : Settings < A :: Flags > , ) -> WindowHandle < A :: Message > { let scale_policy = settings . window . scale ; let logical_width = settings . window . size . width as f64 ; let logical_height = settings . window . size . height as f64 ; let flags = settings . flags ; let ( sender , receiver ) = mpsc :: unbounded ( ) ; let sender_clone = sender . clone ( ) ; let bv_handle = Window :: open_as_if_parented ( settings . window , move | window : & mut baseview :: Window < ' _ > | -> IcedWindow < A > { IcedWindow :: new ( window , flags , scale_policy , logical_width , logical_height , sender_clone , receiver , ) } , ) ; WindowHandle :: new ( bv_handle , sender ) }
Open a new window as if it had a parent window.
Open a new window as if it had a parent window .
settings
Settings<A::Flags>