72 lines
2.8 KiB
XML
72 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<template class="CcXkbModifierDialog" parent="AdwWindow">
|
|
<property name="modal">True</property>
|
|
<property name="default_width">500</property>
|
|
<property name="default_height">600</property>
|
|
<property name="width_request">360</property>
|
|
<property name="height_request">294</property>
|
|
<child>
|
|
<object class="AdwToolbarView">
|
|
<child type="top">
|
|
<object class="AdwHeaderBar"/>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="hscrollbar-policy">never</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">12</property>
|
|
<property name="spacing">12</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>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|