pub fn active_window() -> Option<Widget<'a>> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_application)(::std::ptr::null()).all_funcs)
                    .application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).active_window)(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 = Widget::new_from_rc(t);
            } else {
                ret_val = Widget::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Returns the application top-level window that has the keyboard input focus,
/// or 0 if no application window has the focus. There might be an
/// activeWindow() even if there is no focusWidget(), for example if no widget
/// in that window accepts key events.
///
/// **See also:** [`Widget::set_focus`]
/// [`Widget::has_focus`]
/// [`focus_widget()`]
Returns the application top-level window that has the keyboard input focus,
or 0 if no application window has the focus. There might be an
activeWindow() even if there is no focusWidget(), for example if no widget
in that window accepts key events.


Returns the application top - level window that has the keyboard input focus or 0 if no application window has the focus . There might be an activeWindow () even if there is no focusWidget () for example if no widget in that window accepts key events .
pub fn active_window() -> Option<Widget<'a>> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_application)(::std::ptr::null()).all_funcs)
                    .application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).active_window)(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 = Widget::new_from_rc(t);
            } else {
                ret_val = Widget::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn active_window ( ) -> Option < Widget < ' a > > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . application_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . active_window ) ( 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 = Widget :: new_from_rc ( t ) ; } else { ret_val = Widget :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Returns the application top-level window that has the keyboard input focus,
or 0 if no application window has the focus.
Returns the application top - level window that has the keyboard input focus or 0 if no application window has the focus .