pub fn map_from<P: PointTrait<'a>, W: WidgetTrait<'a>>(&self, arg0: &W, arg1: &P) -> Point {
        let (obj_arg0_1, _funcs) = arg0.get_widget_obj_funcs();
        let (obj_arg1_2, _funcs) = arg1.get_point_obj_funcs();

        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).map_from)(obj_data, obj_arg0_1, obj_arg1_2);
            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
        }
    }
///
/// Translates the widget coordinate *pos* from the coordinate system
/// of *parent* to this widget's coordinate system. The *parent*
/// must not be 0 and must be a parent of the calling widget.
///
/// **See also:** [`map_to()`]
/// [`map_from_parent()`]
/// [`map_from_global()`]
/// [`under_mouse()`]
///
/// Translates the parent widget coordinate *pos* to widget
/// coordinates.
///
/// Same as mapFromGlobal() if the widget has no parent.
///
/// **See also:** [`map_to_parent()`]
/// [`map_from()`]
/// [`map_from_global()`]
/// [`under_mouse()`]
///
/// Translates the global screen coordinate *pos* to widget
/// coordinates.
///
/// **See also:** [`map_to_global()`]
/// [`map_from()`]
/// [`map_from_parent()`]
Translates the widget coordinate *pos* from the coordinate system
of *parent* to this widget's coordinate system. The *parent
must not be 0 and must be a parent of the calling widget.



Translates the parent widget coordinate *pos* to widget
coordinates.

Same as mapFromGlobal() if the widget has no parent.



Translates the global screen coordinate *pos* to widget
coordinates.


Translates the widget coordinate * pos * from the coordinate system of * parent * to this widget ' s coordinate system . The * parent must not be 0 and must be a parent of the calling widget . Translates the parent widget coordinate * pos * to widget coordinates . Same as mapFromGlobal () if the widget has no parent . Translates the global screen coordinate * pos * to widget coordinates .
pub fn map_from<P: PointTrait<'a>, W: WidgetTrait<'a>>(&self, arg0: &W, arg1: &P) -> Point {
        let (obj_arg0_1, _funcs) = arg0.get_widget_obj_funcs();
        let (obj_arg1_2, _funcs) = arg1.get_point_obj_funcs();
        let (obj_data, funcs) = self.get_widget_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).map_from)(obj_data, obj_arg0_1, obj_arg1_2);
            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 map_from < P : PointTrait < ' a > , W : WidgetTrait < ' a > > ( & self , arg0 : & W , arg1 : & P ) -> Point { let ( obj_arg0_1 , _funcs ) = arg0 . get_widget_obj_funcs ( ) ; let ( obj_arg1_2 , _funcs ) = arg1 . get_point_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_widget_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . map_from ) ( obj_data , obj_arg0_1 , obj_arg1_2 ) ; 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 } }
Translates the widget coordinate *pos* from the coordinate system
of *parent* to this widget's coordinate system.
Translates the widget coordinate * pos * from the coordinate system of * parent * to this widget ' s coordinate system .
&self
arg0
&W
arg1
&P
&self
arg0
&W
arg1
&P