<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="RequestItem" parent="GtkBox">
    <property name="orientation">horizontal</property>
    <property name="spacing">6</property>
    <property name="margin-start">6</property>
    <property name="margin-end">6</property>
    <property name="margin-top">3</property>
    <property name="margin-bottom">3</property>

    <child>
      <object class="GtkLabel" id="method_label">
        <property name="width-chars">6</property>
        <style>
          <class name="caption"/>
          <class name="dim-label"/>
        </style>
      </object>
    </child>

    <child>
      <object class="GtkLabel" id="name_label">
        <property name="xalign">0</property>
        <property name="ellipsize">end</property>
        <property name="hexpand">True</property>
      </object>
    </child>

    <child>
      <object class="GtkButton" id="delete_button">
        <property name="icon-name">edit-delete-symbolic</property>
        <property name="tooltip-text">Delete request</property>
        <signal name="clicked" handler="on_delete_clicked"/>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>
  </template>
</interface>
