<?xml version="1.0"?>
<page id="Gimp.Display.get_window_handle"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Display" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>int</api:type>
      </api:returns>
      <api:name>gimp_display_get_window_handle</api:name>
      <api:arg>
        <api:type>Gimp.Display</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Display.get_window_handle</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Display)
@returns(int)
def get_window_handle(self):
    # Python wrapper for gimp_display_get_window_handle()
  </code></synopsis>
  <p>Get a handle to the native window for an image display.</p>  <p>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.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>self</code></title>
  <p>The display to get the window handle from.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
