<?xml version="1.0"?>
<page id="GimpUi.Preview.invalidate"
      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.Preview" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_preview_invalidate</api:name>
    </api:function>
  </info>
  <title>GimpUi.Preview.prototype.invalidate</title>
  <synopsis><code mime="text/x-gjs">
function invalidate(): void {
    // Gjs wrapper for gimp_preview_invalidate()
}
  </code></synopsis>
  <p>This function starts or renews a short low-priority timeout. When
the timeout expires, the GimpPreview::invalidated signal is emitted
which will usually cause the <code>preview</code> to be updated.</p>  <p>This function does nothing unless the "Preview" button is checked.</p>  <p>During the emission of the signal a busy cursor is set on the
toplevel window containing the <code>preview</code> and on the preview area
itself.</p>
  <p>Since 2.2</p>

</page>
