pub fn focus_widget(&self) -> Option<Widget> {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).focus_widget)(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 last child of this widget that setFocus had been
/// called on. For top level widgets this is the widget that will get
/// focus in case this window gets activated
///
/// This is not the same as QApplication::focusWidget(), which returns
/// the focus widget in the currently active window.
Returns the last child of this widget that setFocus had been
called on. For top level widgets this is the widget that will get
focus in case this window gets activated

This is not the same as QApplication::focusWidget(), which returns
the focus widget in the currently active window.
Returns the last child of this widget that setFocus had been called on . For top level widgets this is the widget that will get focus in case this window gets activated This is not the same as QApplication :: focusWidget () which returns the focus widget in the currently active window .
pub fn focus_widget(&self) -> Option<Widget> {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).focus_widget)(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 focus_widget ( & self ) -> Option < Widget > { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . focus_widget ) ( 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 last child of this widget that setFocus had been
called on.
Returns the last child of this widget that setFocus had been called on .
&self
&self