///
/// This will be the screen where QWindows are initially shown, unless otherwise specified.
///
/// The primaryScreenChanged signal was introduced in Qt 5.6.
///
/// **See also:** [`screens()`]
This will be the screen where QWindows are initially shown, unless otherwise specified.
The primaryScreenChanged signal was introduced in Qt 5.6.


This will be the screen where QWindows are initially shown unless otherwise specified . The primaryScreenChanged signal was introduced in Qt 5 . 6 .
pub fn primary_screen() -> Option<Screen<'a>> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_gui_application)(::std::ptr::null()).all_funcs)
                    .gui_application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).primary_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 primary_screen ( ) -> Option < Screen < ' a > > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_gui_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . gui_application_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . primary_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 ) } }
This will be the screen where QWindows are initially shown, unless otherwise specified.
This will be the screen where QWindows are initially shown unless otherwise specified .