2018-06-29 15:55:59 +12:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<requires lib="gtk+" version="3.20"/>
|
|
|
|
<template class="CcInputRow" parent="GtkListBoxRow">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="can-focus">False</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<property name="selectable">False</property>
|
|
|
|
<signal name="drag_data_received" handler="drag_data_received_cb" object="CcInputRow" swapped="yes"/>
|
2018-06-29 15:55:59 +12:00
|
|
|
<child>
|
2018-11-19 11:30:41 +13:00
|
|
|
<object class="GtkEventBox" id="drag_handle">
|
2018-06-29 15:55:59 +12:00
|
|
|
<property name="visible">True</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<signal name="drag_data_get" handler="drag_data_get_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<signal name="drag_begin" handler="drag_begin_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<signal name="drag_end" handler="drag_end_cb" object="CcInputRow" swapped="yes"/>
|
2018-06-29 15:55:59 +12:00
|
|
|
<child>
|
2018-11-19 11:30:41 +13:00
|
|
|
<object class="GtkBox">
|
2018-06-29 15:55:59 +12:00
|
|
|
<property name="visible">True</property>
|
2019-02-18 18:46:20 +01:00
|
|
|
<property name="height_request">50</property>
|
|
|
|
<property name="margin_start">12</property>
|
|
|
|
<property name="margin_end">12</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<property name="spacing">12</property>
|
2018-11-19 11:12:27 +13:00
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<property name="icon_name">open-menu-symbolic</property>
|
2018-11-19 11:12:27 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-11-19 11:08:07 +13:00
|
|
|
<child>
|
2018-11-19 11:30:41 +13:00
|
|
|
<object class="GtkLabel" id="name_label">
|
2018-11-19 11:08:07 +13:00
|
|
|
<property name="visible">True</property>
|
2019-02-18 18:46:20 +01:00
|
|
|
<property name="margin_bottom">8</property>
|
|
|
|
<property name="margin_top">8</property>
|
|
|
|
<property name="ellipsize">end</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<property name="hexpand">True</property>
|
2018-11-19 11:08:07 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
2018-11-19 10:48:01 +13:00
|
|
|
<child>
|
2018-11-19 11:30:41 +13:00
|
|
|
<object class="GtkButton" id="settings_button">
|
|
|
|
<property name="visible">False</property>
|
2019-02-18 18:46:20 +01:00
|
|
|
<property name="margin_bottom">8</property>
|
|
|
|
<property name="margin_top">8</property>
|
|
|
|
<property name="valign">center</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<signal name="clicked" handler="settings_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon_name">emblem-system-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton">
|
|
|
|
<property name="visible">True</property>
|
2019-02-18 18:46:20 +01:00
|
|
|
<property name="margin_bottom">8</property>
|
|
|
|
<property name="margin_top">8</property>
|
|
|
|
<property name="valign">center</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<signal name="clicked" handler="layout_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon_name">view-layout-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkButton" id="remove_button">
|
2018-11-19 10:48:01 +13:00
|
|
|
<property name="visible">True</property>
|
2019-02-18 18:46:20 +01:00
|
|
|
<property name="margin_bottom">8</property>
|
|
|
|
<property name="margin_top">8</property>
|
|
|
|
<property name="valign">center</property>
|
2018-11-19 11:30:41 +13:00
|
|
|
<signal name="clicked" handler="remove_button_clicked_cb" object="CcInputRow" swapped="yes"/>
|
|
|
|
<style>
|
|
|
|
<class name="image-button"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="visible">True</property>
|
|
|
|
<property name="icon_name">edit-delete-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-11-19 10:48:01 +13:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2018-06-29 15:55:59 +12:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|