<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <template class="EnvironmentColumnHeader" parent="GtkBox">
    <property name="orientation">vertical</property>
    <property name="spacing">4</property>
    <property name="width-request">200</property>

    <child>
      <object class="GtkLabel" id="name_label">
        <property name="xalign">0.5</property>
        <property name="ellipsize">end</property>
        <property name="max-width-chars">20</property>
        <style>
          <class name="heading"/>
        </style>
      </object>
    </child>

    <child>
      <object class="GtkBox">
        <property name="orientation">horizontal</property>
        <property name="halign">center</property>
        <property name="spacing">4</property>

        <child>
          <object class="GtkButton" id="copy_button">
            <property name="icon-name">edit-copy-symbolic</property>
            <property name="tooltip-text">Copy environment</property>
            <signal name="clicked" handler="on_copy_clicked"/>
            <style>
              <class name="flat"/>
              <class name="circular"/>
            </style>
          </object>
        </child>

        <child>
          <object class="GtkButton" id="edit_button">
            <property name="icon-name">document-properties-symbolic</property>
            <property name="tooltip-text">Edit environment</property>
            <signal name="clicked" handler="on_edit_clicked"/>
            <style>
              <class name="flat"/>
              <class name="circular"/>
            </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"/>
              <class name="circular"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
