///
/// Returns whether QGuiApplication will use fallback session management.
///
/// The default is `true.`
///
/// If this is `true` and the session manager allows user interaction,
/// QGuiApplication will try to close toplevel windows after
/// commitDataRequest() has been emitted. If a window cannot be closed, session
/// shutdown will be canceled and the application will keep running.
///
/// Fallback session management only benefits applications that have an
/// feature or other logic that
/// prevents closing a toplevel window depending on certain conditions, and
/// that do nothing to explicitly implement session management. In applications
/// that *do* implement session management using the proper session management
/// API, fallback session management interferes and may break session
/// management logic.
///
/// **Warning**: If all windows *are* closed due to fallback session management
/// and quitOnLastWindowClosed() is `true,` the application will quit before
/// it is explicitly instructed to quit through the platform's session
/// management protocol. That violation of protocol may prevent the platform
/// session manager from saving application state.
///
/// **See also:** [`set_fallback_session_management_enabled()`]
/// [`SessionManager::allows_interaction`]
/// [`save_state_request()`]
/// [`commit_data_request()`]
/// {Session Management}
Returns whether QGuiApplication will use fallback session management.
The default is `true.`

If this is `true` and the session manager allows user interaction,
QGuiApplication will try to close toplevel windows after
commitDataRequest() has been emitted. If a window cannot be closed, session
shutdown will be canceled and the application will keep running.

Fallback session management only benefits applications that have an
feature or other logic that
prevents closing a toplevel window depending on certain conditions, and
that do nothing to explicitly implement session management. In applications
that *do* implement session management using the proper session management
API, fallback session management interferes and may break session
management logic.

Warning**: If all windows *are* closed due to fallback session management
and quitOnLastWindowClosed() is `true,` the application will quit before
it is explicitly instructed to quit through the platform's session
management protocol. That violation of protocol may prevent the platform
session manager from saving application state.


Returns whether QGuiApplication will use fallback session management . The default is ` true . ` If this is ` true ` and the session manager allows user interaction QGuiApplication will try to close toplevel windows after commitDataRequest () has been emitted . If a window cannot be closed session shutdown will be canceled and the application will keep running . Fallback session management only benefits applications that have an feature or other logic that prevents closing a toplevel window depending on certain conditions and that do nothing to explicitly implement session management . In applications that * do * implement session management using the proper session management API fallback session management interferes and may break session management logic . Warning ** : If all windows * are * closed due to fallback session management and quitOnLastWindowClosed () is ` true ` the application will quit before it is explicitly instructed to quit through the platform ' s session management protocol . That violation of protocol may prevent the platform session manager from saving application state .
pub fn is_fallback_session_management_enabled() -> bool {
        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).is_fallback_session_management_enabled)(obj_data);
            ret_val
        }
    }
pub fn is_fallback_session_management_enabled ( ) -> bool { 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 ) . is_fallback_session_management_enabled ) ( obj_data ) ; ret_val } }
Returns whether QGuiApplication will use fallback session management.
Returns whether QGuiApplication will use fallback session management .