1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="ThemeSelector" parent="GtkBox">
<style>
<class name="themeselector"/>
</style>
<property name="hexpand">True</property>
<child>
<object class="GtkBox">
<property name="hexpand">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<child>
<object class="GtkCheckButton" id="_follow">
<style>
<class name="theme-selector"/>
<class name="follow"/>
</style>
<property name="hexpand">True</property>
<property name="halign">center</property>
<property name="focus-on-click">False</property>
<signal name="toggled" handler="_on_option_selected" />
<!-- Translators: Description, tooltip -->
<property name="tooltip-text" translatable="yes">Follow System Style</property>
<accessibility>
<!-- Translators: Description, accessibility -->
<property name="label" translatable="yes">Follow System Style</property>
</accessibility>
</object>
</child>
<child>
<object class="GtkCheckButton" id="_light">
<style>
<class name="theme-selector"/>
<class name="light"/>
</style>
<property name="group">_follow</property>
<property name="hexpand">True</property>
<property name="halign">center</property>
<property name="focus-on-click">False</property>
<signal name="toggled" handler="_on_option_selected" />
<!-- Translators: Description, tooltip -->
<property name="tooltip-text" translatable="yes">Light Style</property>
<accessibility>
<!-- Translators: Description, accessibility -->
<property name="label" translatable="yes">Light Style</property>
</accessibility>
</object>
</child>
<child>
<object class="GtkCheckButton" id="_dark">
<style>
<class name="theme-selector"/>
<class name="dark"/>
</style>
<property name="group">_follow</property>
<property name="hexpand">True</property>
<property name="halign">center</property>
<property name="focus-on-click">False</property>
<signal name="toggled" handler="_on_option_selected" />
<!-- Translators: Description, tooltip -->
<property name="tooltip-text" translatable="yes">Dark Style</property>
<accessibility>
<!-- Translators: Description, accessibility -->
<property name="label" translatable="yes">Dark Style</property>
</accessibility>
</object>
</child>
</object>
</child>
</template>
</interface>
|