pub fn from_win_id(id: u64) -> Option<Window<'a>> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_window)(::std::ptr::null()).all_funcs).window_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).from_win_id)(obj_data, id);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Window::new_from_rc(t);
            } else {
                ret_val = Window::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
///
/// Creates a local representation of a window created by another process or by
/// using native libraries below Qt.
///
/// Given the handle *id* to a native window, this method creates a QWindow
/// object which can be used to represent the window when invoking methods like
/// setParent() and setTransientParent().
///
/// This can be used, on platforms which support it, to embed a QWindow inside a
/// native window, or to embed a native window inside a QWindow.
///
/// If foreign windows are not supported or embedding the native window
/// failed in the platform plugin, this function returns 0.
///
/// **Note**: The resulting QWindow should not be used to manipulate the underlying
/// native window (besides re-parenting), or to observe state changes of the
/// native window. Any support for these kind of operations is incidental, highly
/// platform dependent and untested.
///
/// **See also:** [`set_parent()`]
/// **See also:** [`set_transient_parent()`]
Creates a local representation of a window created by another process or by
using native libraries below Qt.

Given the handle *id* to a native window, this method creates a QWindow
object which can be used to represent the window when invoking methods like
setParent() and setTransientParent().

This can be used, on platforms which support it, to embed a QWindow inside a
native window, or to embed a native window inside a QWindow.

If foreign windows are not supported or embedding the native window
failed in the platform plugin, this function returns 0.

Note**: The resulting QWindow should not be used to manipulate the underlying
native window (besides re-parenting), or to observe state changes of the
native window. Any support for these kind of operations is incidental, highly
platform dependent and untested.


Creates a local representation of a window created by another process or by using native libraries below Qt . Given the handle * id * to a native window this method creates a QWindow object which can be used to represent the window when invoking methods like setParent () and setTransientParent () . This can be used on platforms which support it to embed a QWindow inside a native window or to embed a native window inside a QWindow . If foreign windows are not supported or embedding the native window failed in the platform plugin this function returns 0 . Note ** : The resulting QWindow should not be used to manipulate the underlying native window ( besides re - parenting ) or to observe state changes of the native window . Any support for these kind of operations is incidental highly platform dependent and untested .
pub fn from_win_id(id: u64) -> Option<Window<'a>> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_window)(::std::ptr::null()).all_funcs).window_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).from_win_id)(obj_data, id);
            if ret_val.qt_data == ::std::ptr::null() {
                return None;
            }
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Window::new_from_rc(t);
            } else {
                ret_val = Window::new_from_owned(t);
            }
            Some(ret_val)
        }
    }
pub fn from_win_id ( id : u64 ) -> Option < Window < ' a > > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_window ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . window_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . from_win_id ) ( obj_data , id ) ; if ret_val . qt_data == :: std :: ptr :: null ( ) { return None ; } let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Window :: new_from_rc ( t ) ; } else { ret_val = Window :: new_from_owned ( t ) ; } Some ( ret_val ) } }
Creates a local representation of a window created by another process or by
using native libraries below Qt.
Creates a local representation of a window created by another process or by using native libraries below Qt .
id
u64
id
u64