<?xml version="1.0"?>
<page id="GimpUi.Dialog.get_native_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="GimpUi.Dialog" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Uint8Array</api:type>
      </api:returns>
      <api:name>gimp_dialog_get_native_handle</api:name>
    </api:function>
  </info>
  <title>GimpUi.Dialog.prototype.get_native_handle</title>
  <synopsis><code mime="text/x-gjs">
function get_native_handle(): Uint8Array {
    // Gjs wrapper for gimp_dialog_get_native_handle()
}
  </code></synopsis>
  <p>Returns an opaque data handle representing the window in the currently
running platform. You should not try to use this directly. Usually this is to
be used in functions such as [func@Gimp.brushes_popup] which will allow the
core process to set this [class@Dialog] as parent to the newly created popup.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>Returns</code></title>
  <p>an opaque [struct@GLib.Bytes] identifying this
                          window.</p>
</item>
</terms>

</page>
