///
/// Removes the widget *widget* from the layout. After this call, it
/// is the caller's responsibility to give the widget a reasonable
/// geometry or to put the widget back into a layout or to explicitly
/// hide it if necessary.
///
/// **Note:** The ownership of *widget* remains the same as
/// when it was added.
///
/// **See also:** [`remove_item()`]
/// [`Widget::set_geometry`]
/// [`add_widget()`]
Removes the widget *widget* from the layout. After this call, it
is the caller's responsibility to give the widget a reasonable
geometry or to put the widget back into a layout or to explicitly
hide it if necessary.

The ownership of *widget* remains the same as
when it was added.


Removes the widget * widget * from the layout . After this call it is the caller ' s responsibility to give the widget a reasonable geometry or to put the widget back into a layout or to explicitly hide it if necessary . The ownership of * widget * remains the same as when it was added .
pub fn remove_widget<W: WidgetTrait<'a>>(&self, w: &W) -> &Self {
        let (obj_w_1, _funcs) = w.get_widget_obj_funcs();
        let (obj_data, funcs) = self.get_layout_obj_funcs();
        unsafe {
            ((*funcs).remove_widget)(obj_data, obj_w_1);
        }
        self
    }
pub fn remove_widget < W : WidgetTrait < ' a > > ( & self , w : & W ) -> & Self { let ( obj_w_1 , _funcs ) = w . get_widget_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_layout_obj_funcs ( ) ; unsafe { ( ( * funcs ) . remove_widget ) ( obj_data , obj_w_1 ) ; } self }
Removes the widget *widget* from the layout.
Removes the widget * widget * from the layout .
&self
w
&W