pub fn resize(&self, w: i32, h: i32) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).resize)(obj_data, w, h);
        }
        self
    }
/// **Overloads**
/// This corresponds to resize(QSize( *w,* *h)).*
///
/// This event handler can be reimplemented in a subclass to receive
/// widget resize events which are passed in the *event* parameter.
/// When resizeEvent() is called, the widget already has its new
/// geometry. The old size is accessible through
/// QResizeEvent::oldSize().
///
/// The widget will be erased and receive a paint event immediately
/// after processing the resize event. No drawing need be (or should
/// be) done inside this handler.
///
/// **See also:** [`move_event()`]
/// [`event()`]
/// [`resize()`]
/// [`ResizeEvent`]
/// [`paint_event()`]
/// {Scribble Example}
Overloads
This corresponds to resize(QSize( *w,* *h)).

This event handler can be reimplemented in a subclass to receive
widget resize events which are passed in the *event* parameter.
When resizeEvent() is called, the widget already has its new
geometry. The old size is accessible through
QResizeEvent::oldSize().

The widget will be erased and receive a paint event immediately
after processing the resize event. No drawing need be (or should
be) done inside this handler.


Overloads This corresponds to resize ( QSize ( * w * * h )) . This event handler can be reimplemented in a subclass to receive widget resize events which are passed in the * event * parameter . When resizeEvent () is called the widget already has its new geometry . The old size is accessible through QResizeEvent :: oldSize () . The widget will be erased and receive a paint event immediately after processing the resize event . No drawing need be ( or should be ) done inside this handler .
pub fn resize(&self, w: i32, h: i32) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).resize)(obj_data, w, h);
        }
        self
    }
pub fn resize ( & self , w : i32 , h : i32 ) -> & Self { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { ( ( * funcs ) . resize ) ( obj_data , w , h ) ; } self }
Overloads
This corresponds to resize(QSize( *w,* *h)).
Overloads This corresponds to resize ( QSize ( * w * * h )) .
&self
w
i32
h
i32
&self
w
i32
h
i32