Window.ensureNative

bool ensureNative()

Tries to ensure that there is a window-system native window for this GdkWindow. This may fail in some situations, returning false.

Offscreen window and children of them can never have native windows.

Some backends may not support native child windows.

Returns

true if the window has a native window, false otherwise