<?xml version="1.0"?>
<page id="GimpUi.QuerySizeCallback"
      type="topic"
      style="callback"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="callback" type="guide"/>
  </info>
  <title>GimpUi.QuerySizeCallback</title>
  <synopsis><code mime="text/x-python">
@accepts(Gtk.Widget, float, Gimp.Unit, gpointer)
@returns(none)
def on_QuerySizeCallback(query_box, size, unit, data):
  </code></synopsis>
  <p>The callback for a size query box.</p>

<terms>
<item>
<title><code>query_box</code></title>
  <p>The query box.</p>
</item>
<item>
<title><code>size</code></title>
  <p>The entered size in pixels.</p>
</item>
<item>
<title><code>unit</code></title>
  <p>The selected unit from the #GimpUnitMenu.</p>
</item>
<item>
<title><code>data</code></title>
  <p>user data.</p>
</item>
</terms>

</page>
