GdkX11.X11Window.lookup_for_display

function lookup_for_display(display: GdkX11.X11Display, window: xlib.Window): GdkX11.X11Window {
    // Gjs wrapper for gdk_x11_window_lookup_for_display()
}
  

Looks up the Gdk.Window that wraps the given native window handle.

Since 2.24

display

the Gdk.Display corresponding to the window handle

window

an Xlib Window

Returns

the Gdk.Window wrapper for the native window, or null if there is none.