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

    <child>
      <object class="GtkLabel" id="name_label">
        <property name="xalign">0</property>
        <property name="width-chars">15</property>
        <style>
          <class name="heading"/>
        </style>
      </object>
    </child>

    <child>
      <object class="GtkBox" id="values_box">
        <property name="orientation">horizontal</property>
        <property name="spacing">6</property>
        <property name="hexpand">True</property>
      </object>
    </child>

    <child>
      <object class="GtkButton" id="edit_button">
        <property name="icon-name">document-edit-symbolic</property>
        <property name="tooltip-text">Edit environment</property>
        <signal name="clicked" handler="on_edit_clicked"/>
        <style>
          <class name="flat"/>
        </style>
      </object>
    </child>

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