<?xml version="1.0"?>
<page id="GimpUi.SizeEntry.grab_focus"
      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.SizeEntry" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>none</api:type>
      </api:returns>
      <api:name>gimp_size_entry_grab_focus</api:name>
      <api:arg>
        <api:type>GimpUi.SizeEntry</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.SizeEntry.grab_focus</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.SizeEntry)
@returns(none)
def grab_focus(self):
    # Python wrapper for gimp_size_entry_grab_focus()
  </code></synopsis>
  <p>This function is rather ugly and just a workaround for the fact that
it's impossible to implement gtk_widget_grab_focus() for a <link href="../Gtk-3.0/Gtk.Grid.html">Gtk.Grid</link> (is this actually true after the Table-&gt;Grid conversion?).</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The sizeentry you want to grab the keyboard focus.</p>
</item>
</terms>

</page>
