# Gimp.Display.get_window_handle

    @accepts(Gimp.Display)
    @returns(int)
    def get_window_handle(self):
        # Python wrapper for gimp_display_get_window_handle()

Get a handle to the native window for an image display.

This procedure returns a handle to the native window for a given image display. For example in the X backend of GDK, a native window handle is an Xlib XID. A value of 0 is returned for an invalid display or if this function is unimplemented for the windowing system that is being used.

Since 2.4

self

  The display to get the window handle from.

Returns