X11.gdkWindowForeignNew

Warning gdk_window_foreign_new is deprecated and should not be used in newly-written code. Wraps a native window for the default display in a GdkWindow. This may fail if the window has been destroyed. For example in the X backend, a native window handle is an Xlib XID.

class X11
static
gdkWindowForeignNew

Parameters

anid GdkNativeWindow

a native window handle.

Return Value

Type: Window

the newly-created GdkWindow wrapper for the native window or NULL if the window has been destroyed.

Meta