///
/// Returns the background role of the widget.
///
/// The background role defines the brush from the widget's [palette](palette)
/// that
/// is used to render the background.
///
/// If no explicit background role is set, the widget inherts its parent
/// widget's background role.
///
/// **See also:** [`set_background_role()`]
/// [`foreground_role()`]
Returns the background role of the widget.
The background role defines the brush from the widget's [palette](palette)
that
is used to render the background.

If no explicit background role is set, the widget inherts its parent
widget's background role.


Returns the background role of the widget . The background role defines the brush from the widget ' s [ palette ] ( palette ) that is used to render the background . If no explicit background role is set the widget inherts its parent widget ' s background role .
pub fn background_role(&self) -> ColorRole {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).background_role)(obj_data);
            let ret_val = ColorRole::from_bits_truncate(ret_val);
            ret_val
        }
    }
pub fn background_role ( & self ) -> ColorRole { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . background_role ) ( obj_data ) ; let ret_val = ColorRole :: from_bits_truncate ( ret_val ) ; ret_val } }
Returns the background role of the widget.
Returns the background role of the widget .
&self