///
/// Returns the position of the cursor (hot spot) of the *screen*
/// in global screen coordinates.
///
/// You can call QWidget::mapFromGlobal() to translate it to widget
/// coordinates.
///
/// **See also:** [`set_pos()`]
/// [`Widget::map_from_global`]
/// [`Widget::map_to_global`]
///
/// Returns the position of the cursor (hot spot) of
/// the primary screen in global screen coordinates.
///
/// You can call QWidget::mapFromGlobal() to translate it to widget
/// coordinates.
///
/// **Note**: The position is queried from the windowing system. If mouse events are generated
/// via other means (e.g., via QWindowSystemInterface in a unit test), those fake mouse
/// moves will not be reflected in the returned value.
///
/// **Note**: On platforms where there is no windowing system or cursors are not available, the returned
/// position is based on the mouse move events generated via QWindowSystemInterface.
///
/// **See also:** [`set_pos()`]
/// [`Widget::map_from_global`]
/// [`Widget::map_to_global`]
/// [`GuiApplication::primary_screen`]
Returns the position of the cursor (hot spot) of the *screen
in global screen coordinates.

You can call QWidget::mapFromGlobal() to translate it to widget
coordinates.



Returns the position of the cursor (hot spot) of
the primary screen in global screen coordinates.

You can call QWidget::mapFromGlobal() to translate it to widget
coordinates.

Note**: The position is queried from the windowing system. If mouse events are generated
via other means , those fake mouse
moves will not be reflected in the returned value.

Note**: On platforms where there is no windowing system or cursors are not available, the returned
position is based on the mouse move events generated via QWindowSystemInterface.


Returns the position of the cursor ( hot spot ) of the * screen in global screen coordinates . You can call QWidget :: mapFromGlobal () to translate it to widget coordinates . Returns the position of the cursor ( hot spot ) of the primary screen in global screen coordinates . You can call QWidget :: mapFromGlobal () to translate it to widget coordinates . Note ** : The position is queried from the windowing system . If mouse events are generated via other means those fake mouse moves will not be reflected in the returned value . Note ** : On platforms where there is no windowing system or cursors are not available the returned position is based on the mouse move events generated via QWindowSystemInterface .
pub fn pos() -> Point<'a> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_cursor)(::std::ptr::null()).all_funcs).cursor_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 ( ) -> Point < ' a > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_cursor ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . cursor_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 cursor (hot spot) of the *screen
in global screen coordinates.
Returns the position of the cursor ( hot spot ) of the * screen in global screen coordinates .