pub fn visible_region(&self) -> Region {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).visible_region)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Region::new_from_rc(t);
            } else {
                ret_val = Region::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the unobscured region where paint events can occur.
///
/// For visible widgets, this is an approximation of the area not
/// covered by other widgets; otherwise, this is an empty region.
///
/// The repaint() function calls this function if necessary, so in
/// general you do not need to call it.
///
Returns the unobscured region where paint events can occur.
For visible widgets, this is an approximation of the area not
covered by other widgets; otherwise, this is an empty region.

The repaint() function calls this function if necessary, so in
general you do not need to call it.
Returns the unobscured region where paint events can occur . For visible widgets this is an approximation of the area not covered by other widgets ; otherwise this is an empty region . The repaint () function calls this function if necessary so in general you do not need to call it .
pub fn visible_region(&self) -> Region {
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).visible_region)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Region::new_from_rc(t);
            } else {
                ret_val = Region::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn visible_region ( & self ) -> Region { let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . visible_region ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Region :: new_from_rc ( t ) ; } else { ret_val = Region :: new_from_owned ( t ) ; } ret_val } }
Returns the unobscured region where paint events can occur.
Returns the unobscured region where paint events can occur .
&self
&self