<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="VariableRow" 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="GtkEntry" id="name_entry">
        <property name="placeholder-text">Variable name</property>
        <property name="hexpand">True</property>
      </object>
    </child>

    <child>
      <object class="GtkButton" id="remove_button">
        <property name="icon-name">edit-delete-symbolic</property>
        <property name="tooltip-text">Remove variable</property>
        <signal name="clicked" handler="on_remove_clicked" swapped="no"/>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>
  </template>
</interface>
