///
/// Returns the screen on which the window is shown, or null if there is none.
///
/// For child windows, this returns the screen of the corresponding top level window.
///
/// **See also:** [`set_screen()`]
/// [`Screen::virtual_siblings`]
///
/// This signal is emitted when a window's *screen* changes, either
/// by being set explicitly with setScreen(), or automatically when
/// the window's screen is removed.
Returns the screen on which the window is shown, or null if there is none.
For child windows, this returns the screen of the corresponding top level window.



This signal is emitted when a window's *screen* changes, either
by being set explicitly with setScreen(), or automatically when
the window's screen is removed.
Returns the screen on which the window is shown or null if there is none . For child windows this returns the screen of the corresponding top level window . This signal is emitted when a window ' s * screen * changes either by being set explicitly with setScreen () or automatically when the window ' s screen is removed .
pub fn screen(&self) -> Option<Screen> {
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).screen)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Screen::new_from_rc(t);
            } else {
                ret_val = Screen::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn screen ( & self ) -> Option < Screen > { let ( obj_data , funcs ) = self . get_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . screen ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Screen :: new_from_rc ( t ) ; } else { ret_val = Screen :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the screen on which the window is shown, or null if there is none.
Returns the screen on which the window is shown or null if there is none .
&self