pub fn height_for_width(&self, arg0: i32) -> i32 {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).height_for_width)(obj_data, arg0);
            ret_val
        }
    }
///
/// Returns the preferred height for this widget, given the width *w.*
///
/// If this widget has a layout, the default implementation returns
/// the layout's preferred height. if there is no layout, the default
/// implementation returns -1 indicating that the preferred height
/// does not depend on the width.
Returns the preferred height for this widget, given the width *w.
If this widget has a layout, the default implementation returns
the layout's preferred height. if there is no layout, the default
implementation returns -1 indicating that the preferred height
does not depend on the width.
Returns the preferred height for this widget given the width * w . If this widget has a layout the default implementation returns the layout ' s preferred height . if there is no layout the default implementation returns - 1 indicating that the preferred height does not depend on the width .
pub fn height_for_width(&self, arg0: i32) -> i32 {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).height_for_width)(obj_data, arg0);
            ret_val
        }
    }
pub fn height_for_width ( & self , arg0 : i32 ) -> i32 { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . height_for_width ) ( obj_data , arg0 ) ; ret_val } }
Returns the preferred height for this widget, given the width *w.
If this widget has a layout, the default implementation returns
the layout's preferred height.
Returns the preferred height for this widget given the width * w . If this widget has a layout the default implementation returns the layout ' s preferred height .
&self
arg0
i32
&self
arg0
i32