pub fn update(&self) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).update)(obj_data);
        }
        self
    }
///
/// An updates enabled widget receives paint events and has a system
/// background; a disabled widget does not. This also implies that
/// calling update() and repaint() has no effect if updates are
/// disabled.
///
/// By default, this property is `true.`
///
/// setUpdatesEnabled() is normally used to disable updates for a
/// short period of time, for instance to avoid screen flicker during
/// large changes. In Qt, widgets normally do not generate screen
/// flicker, but on X11 the server might erase regions on the screen
/// when widgets get hidden before they can be replaced by other
/// widgets. Disabling updates solves this.
///
/// Example:
///
/// Disabling a widget implicitly disables all its children. Enabling a widget
/// enables all child widgets *except* top-level widgets or those that
/// have been explicitly disabled. Re-enabling updates implicitly calls
/// update() on the widget.
///
/// **See also:** [`paint_event()`]
///
/// Notifies the layout system that this widget has changed and may
/// need to change geometry.
///
/// Call this function if the sizeHint() or sizePolicy() have changed.
///
/// For explicitly hidden widgets, updateGeometry() is a no-op. The
/// layout system will be notified as soon as the widget is shown.
///
/// Updates the widget unless updates are disabled or the widget is
/// hidden.
///
/// This function does not cause an immediate repaint; instead it
/// schedules a paint event for processing when Qt returns to the main
/// event loop. This permits Qt to optimize for more speed and less
/// flicker than a call to repaint() does.
///
/// Calling update() several times normally results in just one
/// paintEvent() call.
///
/// Qt normally erases the widget's area before the paintEvent() call.
/// If the Qt::WA_OpaquePaintEvent widget attribute is set, the widget is
/// responsible for painting all its pixels with an opaque color.
///
/// **See also:** [`repaint()`]
/// [`paint_event()`]
/// [`set_updates_enabled()`]
/// {Analog Clock Example}
/// **Overloads**
/// This version updates a rectangle ( *x,* *y,* *w,* *h)* inside
/// the widget.
///
/// **Overloads**
/// This version updates a rectangle *rect* inside the widget.
///
/// **Overloads**
/// This version repaints a region *rgn* inside the widget.
///
/// Updates the widget's micro focus.
An updates enabled widget receives paint events and has a system
background; a disabled widget does not. This also implies that
calling update() and repaint() has no effect if updates are
disabled.

By default, this property is `true.`

setUpdatesEnabled() is normally used to disable updates for a
short period of time, for instance to avoid screen flicker during
large changes. In Qt, widgets normally do not generate screen
flicker, but on X11 the server might erase regions on the screen
when widgets get hidden before they can be replaced by other
widgets. Disabling updates solves this.



Disabling a widget implicitly disables all its children. Enabling a widget
enables all child widgets *except* top-level widgets or those that
have been explicitly disabled. Re-enabling updates implicitly calls
update() on the widget.



Notifies the layout system that this widget has changed and may
need to change geometry.

Call this function if the sizeHint() or sizePolicy() have changed.

For explicitly hidden widgets, updateGeometry() is a no-op. The
layout system will be notified as soon as the widget is shown.

Updates the widget unless updates are disabled or the widget is
hidden.

This function does not cause an immediate repaint; instead it
schedules a paint event for processing when Qt returns to the main
event loop. This permits Qt to optimize for more speed and less
flicker than a call to repaint() does.

Calling update() several times normally results in just one
paintEvent() call.

Qt normally erases the widget's area before the paintEvent() call.
If the Qt::WA_OpaquePaintEvent widget attribute is set, the widget is
responsible for painting all its pixels with an opaque color.



Overloads
This version updates a rectangle *rect* inside the widget.

Overloads
This version repaints a region *rgn* inside the widget.

Updates the widget's micro focus.
An updates enabled widget receives paint events and has a system background ; a disabled widget does not . This also implies that calling update () and repaint () has no effect if updates are disabled . By default this property is ` true . ` setUpdatesEnabled () is normally used to disable updates for a short period of time for instance to avoid screen flicker during large changes . In Qt widgets normally do not generate screen flicker but on X11 the server might erase regions on the screen when widgets get hidden before they can be replaced by other widgets . Disabling updates solves this . Disabling a widget implicitly disables all its children . Enabling a widget enables all child widgets * except * top - level widgets or those that have been explicitly disabled . Re - enabling updates implicitly calls update () on the widget . Notifies the layout system that this widget has changed and may need to change geometry . Call this function if the sizeHint () or sizePolicy () have changed . For explicitly hidden widgets updateGeometry () is a no - op . The layout system will be notified as soon as the widget is shown . Updates the widget unless updates are disabled or the widget is hidden . This function does not cause an immediate repaint ; instead it schedules a paint event for processing when Qt returns to the main event loop . This permits Qt to optimize for more speed and less flicker than a call to repaint () does . Calling update () several times normally results in just one paintEvent () call . Qt normally erases the widget ' s area before the paintEvent () call . If the Qt :: WA_OpaquePaintEvent widget attribute is set the widget is responsible for painting all its pixels with an opaque color . Overloads This version updates a rectangle * rect * inside the widget . Overloads This version repaints a region * rgn * inside the widget . Updates the widget ' s micro focus .
pub fn update(&self) -> &Self {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            ((*funcs).update)(obj_data);
        }
        self
    }
pub fn update ( & self ) -> & Self { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { ( ( * funcs ) . update ) ( obj_data ) ; } self }
An updates enabled widget receives paint events and has a system
background; a disabled widget does not.
An updates enabled widget receives paint events and has a system background ; a disabled widget does not .
&self
&self