///
/// Returns the position of the mouse cursor, relative to the widget
/// that received the event.
///
/// If you move the widget as a result of the mouse event, use the
/// global position returned by globalPos() to avoid a shaking
/// motion.
///
/// **See also:** [`x()`]
/// [`y()`]
/// [`global_pos()`]
///
/// Use localPos() instead.
Returns the position of the mouse cursor, relative to the widget
that received the event.

If you move the widget as a result of the mouse event, use the
global position returned by globalPos() to avoid a shaking
motion.



Use localPos() instead.
Returns the position of the mouse cursor relative to the widget that received the event . If you move the widget as a result of the mouse event use the global position returned by globalPos () to avoid a shaking motion . Use localPos () instead .
pub fn pos(&self) -> Point {
        let (obj_data, funcs) = self.get_mouse_event_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).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 pos ( & self ) -> Point { let ( obj_data , funcs ) = self . get_mouse_event_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . 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 position of the mouse cursor, relative to the widget
that received the event.
Returns the position of the mouse cursor relative to the widget that received the event .
&self