///
/// Returns the window area that has been exposed. The region is given in local coordinates.
Returns the window area that has been exposed. The region is given in local coordinates.
Returns the window area that has been exposed . The region is given in local coordinates .
pub fn region(&self) -> Option<Region> {
        let (obj_data, funcs) = self.get_expose_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).region)(obj_data);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            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);
            }
            Some(ret_val)
        }
    }
pub fn region ( & self ) -> Option < Region > { let ( obj_data , funcs ) = self . get_expose_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . region ) ( obj_data ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } 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 ) ; } Some ( ret_val ) } }
Returns the window area that has been exposed.
Returns the window area that has been exposed .
&self