pub fn global_pos(&self) -> Point {
        let (obj_data, funcs) = self.get_mouse_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).global_pos)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Point::new_from_rc(t);
            } else {
                ret_val = Point::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the global position of the mouse cursor *at the time
/// of the event* . This is important on asynchronous window systems
/// like X11. Whenever you move your widgets around in response to
/// mouse events, globalPos() may differ a lot from the current
/// pointer position QCursor::pos(), and from
/// QWidget::mapToGlobal(pos()).
///
/// **See also:** [`global_x()`]
/// [`global_y()`]
Returns the global position of the mouse cursor *at the time
of the event* . This is important on asynchronous window systems
like X11. Whenever you move your widgets around in response to
mouse events, globalPos() may differ a lot from the current
pointer position QCursor::pos(), and from
QWidget::mapToGlobal(pos()).


Returns the global position of the mouse cursor * at the time of the event * . This is important on asynchronous window systems like X11 . Whenever you move your widgets around in response to mouse events globalPos () may differ a lot from the current pointer position QCursor :: pos () and from QWidget :: mapToGlobal ( pos () ) .
pub fn global_pos(&self) -> Point {
        let (obj_data, funcs) = self.get_mouse_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).global_pos)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Point::new_from_rc(t);
            } else {
                ret_val = Point::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn global_pos ( & self ) -> Point { let ( obj_data , funcs ) = self . get_mouse_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . global_pos ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Point :: new_from_rc ( t ) ; } else { ret_val = Point :: new_from_owned ( t ) ; } ret_val } }
Returns the global position of the mouse cursor *at the time
of the event* .
Returns the global position of the mouse cursor * at the time of the event * .
&self
&self