71 lines
2.5 KiB
XML
71 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcXkbModifierDialog" parent="GtkDialog">
|
|
<property name="modal">True</property>
|
|
<property name="resizable">False</property>
|
|
<property name="default_width">500</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="margin-top">18</property>
|
|
<property name="margin-bottom">18</property>
|
|
<property name="margin-start">18</property>
|
|
<property name="margin-end">18</property>
|
|
<property name="spacing">18</property>
|
|
<property name="orientation">vertical</property>
|
|
|
|
<child>
|
|
<object class="GtkLabel" id="description_label">
|
|
<property name="margin_top">6</property>
|
|
<property name="wrap">True</property>
|
|
<property name="width_chars">40</property>
|
|
<property name="max_width_chars">40</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox" id="switch_listbox">
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
<child>
|
|
<object class="AdwActionRow" id="switch_row">
|
|
<property name="activatable">False</property>
|
|
<property name="selectable">False</property>
|
|
<property name="activatable-widget">enabled_switch</property>
|
|
<child>
|
|
<object class="GtkSwitch" id="enabled_switch">
|
|
<property name="valign">center</property>
|
|
<signal name="state-set" handler="enable_switch_changed_cb" object="CcXkbModifierDialog" swapped="yes"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
|
|
<child>
|
|
<object class="GtkListBox" id="listbox">
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
</object>
|
|
</child>
|
|
|
|
<child internal-child="headerbar">
|
|
<object class="GtkHeaderBar">
|
|
<property name="show-title-buttons">True</property>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|