2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<object class="GtkWindow" id="window">
|
|
|
|
<property name="title" translatable="yes">Settings</property>
|
2019-12-14 16:53:24 +00:00
|
|
|
<property name="default-width">640</property>
|
|
|
|
<property name="default-height">480</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<child type="titlebar">
|
|
|
|
<object class="GtkHeaderBar">
|
|
|
|
<property name="show-title-buttons">1</property>
|
|
|
|
<child type="end">
|
|
|
|
<object class="GtkToggleButton" id="search_button">
|
|
|
|
<property name="icon-name">system-search-symbolic</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkPaned">
|
2019-12-14 16:53:24 +00:00
|
|
|
<property name="position">300</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<child>
|
|
|
|
<object class="GtkListView" id="listview">
|
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkTreeExpander" id="expander">
|
|
|
|
<binding name="list-row">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</binding>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="schema" type="GSettings">
|
|
|
|
<lookup name="item">expander</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchBar">
|
|
|
|
<property name="search-mode-enabled" bind-source="search_button" bind-property="active" bind-flags="bidirectional"/>
|
|
|
|
<signal name="notify::search-mode-enabled" handler="search_enabled" object="entry"/>
|
|
|
|
<child>
|
|
|
|
<object class="GtkSearchEntry" id="entry">
|
|
|
|
<signal name="search-changed" handler="search_changed"/>
|
|
|
|
<signal name="stop-search" handler="stop_search"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkScrolledWindow">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="vexpand">1</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
<child>
|
2019-12-16 04:48:34 +00:00
|
|
|
<object class="GtkColumnView" id="columnview">
|
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn" id="name_column">
|
|
|
|
<property name="title">Name</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="name" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
2019-12-16 04:48:34 +00:00
|
|
|
</object>
|
|
|
|
</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
2019-12-16 04:48:34 +00:00
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkColumnViewColumn">
|
|
|
|
<property name="title">Value</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2019-12-16 04:48:34 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
2019-10-13 05:40:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="value" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
2020-06-01 03:42:36 +00:00
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-05-31 18:44:42 +00:00
|
|
|
<object class="GtkColumnViewColumn" id="type_column">
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="title">Type</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="type" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
|
|
|
</interface>
|
|
|
|
]]></property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
2020-05-31 18:44:42 +00:00
|
|
|
<object class="GtkColumnViewColumn" id="default_column">
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="title">Default</property>
|
2020-05-31 18:44:42 +00:00
|
|
|
<property name="header-menu">header_menu</property>
|
2020-06-01 03:42:36 +00:00
|
|
|
<property name="factory">
|
|
|
|
<object class="GtkBuilderListItemFactory">
|
|
|
|
<property name="bytes"><![CDATA[
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="GtkListItem">
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkLabel">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<binding name="label">
|
|
|
|
<lookup name="default-value" type="SettingsKey">
|
|
|
|
<lookup name="item">GtkListItem</lookup>
|
|
|
|
</lookup>
|
|
|
|
</binding>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</template>
|
2019-10-13 05:40:58 +00:00
|
|
|
</interface>
|
|
|
|
]]></property>
|
2019-12-16 04:48:34 +00:00
|
|
|
</object>
|
|
|
|
</property>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
2019-12-16 04:48:34 +00:00
|
|
|
</child>
|
2019-10-13 05:40:58 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2020-05-31 18:44:42 +00:00
|
|
|
<menu id="header_menu">
|
|
|
|
<section>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Type</attribute>
|
|
|
|
<attribute name="action">columnview.show-type</attribute>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<attribute name="label" translatable="yes">Default value</attribute>
|
|
|
|
<attribute name="action">columnview.show-default</attribute>
|
|
|
|
</item>
|
|
|
|
</section>
|
|
|
|
</menu>
|
2019-10-13 05:40:58 +00:00
|
|
|
</interface>
|