<?xml version="1.0" encoding="UTF-8"?>
<interface domain="easyeffects">
    <template class="GtkListItem">
        <property name="child">
            <object class="GtkBox">
                <property name="spacing">6</property>
                <property name="margin-start">6</property>
                <property name="margin-end">6</property>
                <child>
                    <object class="GtkLabel" id="name">
                        <property name="halign">start</property>
                        <property name="valign">center</property>
                        <property name="hexpand">1</property>
                        <binding name="label">
                            <lookup name="string" type="GtkStringObject">
                                <lookup name="item">GtkListItem</lookup>
                            </lookup>
                        </binding>
                    </object>
                </child>

                <child>
                    <object class="GtkButton" id="remove">
                        <property name="tooltip-text" translatable="yes">Remove this model file</property>
                        <property name="halign">center</property>
                        <property name="valign">center</property>
                        <property name="icon-name">user-trash-symbolic</property>
                        <signal name="clicked" handler="on_remove_model_file" object="GtkListItem" />

                        <binding name="visible">
                            <closure type="gboolean" function="set_model_delete_button_visibility">
                                <lookup name="string" type="GtkStringObject">
                                    <lookup name="item">GtkListItem</lookup>
                                </lookup>
                            </closure>
                        </binding>
                    </object>
                </child>
            </object>
        </property>
    </template>
</interface>
