<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <!-- interface-requires gtk+ 3.14 -->
  <template class="GbSearchBox" parent="GtkBox">
    <property name="orientation">horizontal</property>
    <style>
      <class name="linked"/>
    </style>
    <child>
      <object class="GtkSearchEntry" id="entry">
        <property name="visible">true</property>
        <property name="hexpand">true</property>
      </object>
    </child>
    <child>
      <object class="GtkMenuButton" id="button">
        <property name="visible">true</property>
        <property name="popover">popover</property>
        <style>
          <class name="button"/>
        </style>
        <child>
          <object class="GtkImage">
            <!-- we use margin-top here because .image-button doesn't work with 10pt font -->
            <property name="margin-top">3</property>
            <property name="visible">True</property>
            <property name="icon_name">go-down-symbolic</property>
          </object>
        </child>
      </object>
    </child>
  </template>
  <object class="GtkPopover" id="popover">
    <property name="visible">true</property>
    <property name="modal">false</property>
    <property name="relative-to">entry</property>
    <child>
      <object class="GbScrolledWindow" id="scroller">
        <property name="max-content-height">800</property>
        <property name="min-content-height">50</property>
        <property name="min-content-width">775</property>
        <property name="visible">True</property>
        <child>
          <object class="GbSearchDisplay" id="display">
            <property name="visible">true</property>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
