<?xml version="1.0"?>
<page id="GimpUi.HintBox.new"
      type="topic"
      style="constructor"
      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.HintBox" group="constructor" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gtk.Widget</api:type>
      </api:returns>
      <api:name>gimp_hint_box_new</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>hint</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.HintBox.new</title>
  <synopsis><code mime="text/x-gjs">
function new(hint: String): <link href="../Gtk-3.0/Gtk.Widget.html">Gtk.Widget</link> {
    // Gjs wrapper for gimp_hint_box_new()
}
  </code></synopsis>
  <p>Creates a new widget that shows a text label showing <code>hint</code>,
decorated with a GIMP_ICON_INFO wilber icon.</p>

<terms>
<item>
<title><code>hint</code></title>
  <p>text to display as a user hint</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>a new widget</p>  <p>Since GIMP 2.4</p>
</item>
</terms>

</page>
