///
/// Returns `true` if the window is an ancestor of the given *child.* If *mode*
/// is IncludeTransients, then transient parents are also considered ancestors.
Returns `true` if the window is an ancestor of the given *child.* If *mode
is IncludeTransients, then transient parents are also considered ancestors.
Returns ` true ` if the window is an ancestor of the given * child . * If * mode is IncludeTransients then transient parents are also considered ancestors .
pub fn is_ancestor_of<W: WindowTrait<'a>>(&self, child: &W, mode: AncestorMode) -> bool {
        let (obj_child_1, _funcs) = child.get_window_obj_funcs();
        let enum_mode_2 = mode as u32;
        let (obj_data, funcs) = self.get_window_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).is_ancestor_of)(obj_data, obj_child_1, enum_mode_2);
            ret_val
        }
    }
pub fn is_ancestor_of < W : WindowTrait < ' a > > ( & self , child : & W , mode : AncestorMode ) -> bool { let ( obj_child_1 , _funcs ) = child . get_window_obj_funcs ( ) ; let enum_mode_2 = mode as u32 ; let ( obj_data , funcs ) = self . get_window_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . is_ancestor_of ) ( obj_data , obj_child_1 , enum_mode_2 ) ; ret_val } }
Returns `true` if the window is an ancestor of the given *child.
Returns ` true ` if the window is an ancestor of the given * child .
&self
child
&W
mode
AncestorMode