pub fn size_hint(&self) -> Size {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).size_hint)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Size::new_from_rc(t);
            } else {
                ret_val = Size::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// If the value of this property is an invalid size, no size is
/// recommended.
///
/// The default implementation of sizeHint() returns an invalid size
/// if there is no layout for this widget, and returns the layout's
/// preferred size otherwise.
///
/// **See also:** [`Size::is_valid`]
/// [`minimum_size_hint()`]
/// [`size_policy()`]
/// [`set_minimum_size()`]
/// [`update_geometry()`]
If the value of this property is an invalid size, no size is
recommended.

The default implementation of sizeHint() returns an invalid size
if there is no layout for this widget, and returns the layout's
preferred size otherwise.


If the value of this property is an invalid size no size is recommended . The default implementation of sizeHint () returns an invalid size if there is no layout for this widget and returns the layout ' s preferred size otherwise .
pub fn size_hint(&self) -> Size {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).size_hint)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Size::new_from_rc(t);
            } else {
                ret_val = Size::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn size_hint ( & self ) -> Size { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . size_hint ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Size :: new_from_rc ( t ) ; } else { ret_val = Size :: new_from_owned ( t ) ; } ret_val } }
If the value of this property is an invalid size, no size is
recommended.
If the value of this property is an invalid size no size is recommended .
&self
&self