<?xml version="1.0"?>
<page id="GimpUi.cairo_set_focus_line_pattern"
      type="topic"
      style="function"
      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="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_cairo_set_focus_line_pattern</api:name>
      <api:arg>
        <api:type>cairo.Context</api:type>
        <api:name>cr</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gtk.Widget</api:type>
        <api:name>widget</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.cairo_set_focus_line_pattern</title>
  <synopsis><code mime="text/x-gjs">
function cairo_set_focus_line_pattern(cr: <link href="../cairo-1.0/cairo.Context.html">cairo.Context</link>, widget: <link href="../Gtk-3.0/Gtk.Widget.html">Gtk.Widget</link>): Boolean {
    // Gjs wrapper for gimp_cairo_set_focus_line_pattern()
}
  </code></synopsis>
  <p>Sets color and dash pattern for stroking a focus line on the given
<code>cr</code>. The line pattern is taken from <code>widget</code>.</p>
  <p>Since 2.6</p>
<terms>
<item>
<title><code>cr</code></title>
  <p>Cairo context</p>
</item>
<item>
<title><code>widget</code></title>
  <p>widget to draw the focus indicator on</p>
</item>
<item>
<title><code>Returns</code></title>
  <p><code>true</code> if the widget style has a focus line pattern,
              <code>false</code> otherwise</p>
</item>
</terms>

</page>
