File: ThemeSwitcher.ui

package info (click to toggle)
apostrophe 3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,408 kB
  • sloc: python: 5,733; xml: 226; sh: 66; javascript: 50; makefile: 2
file content (58 lines) | stat: -rw-r--r-- 2,239 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0" />
  <template class="ThemeSwitcher" parent="GtkBox">
    <style>
      <class name="themeswitcher" />
    </style>
    <child>
      <object class="GtkBox">
        <property name="halign">center</property>
        <property name="margin-start">12</property>
        <property name="margin-end">12</property>
        <property name="margin-bottom">6</property>
        <property name="spacing">8</property>
        <child>
          <object class="GtkCheckButton" id="system_selector">
            <property name="tooltip-text" translatable="yes">Use System Colors</property>
            <signal name="notify::active" handler="_on_color_scheme_changed" />
            <style>
              <class name="system" />
            </style>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="light_selector">
            <property name="group">system_selector</property>
            <property name="tooltip-text" translatable="yes">Use Light Colors</property>
            <signal name="notify::active" handler="_on_color_scheme_changed" />
            <style>
              <class name="light" />
            </style>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="sepia_selector">
            <property name="group">system_selector</property>
            <property name="tooltip-text" translatable="yes">Use Sepia Colors</property>
            <signal name="notify::active" handler="_on_color_scheme_changed" />
            <style>
              <class name="sepia" />
            </style>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="dark_selector">
            <property name="group">system_selector</property>
            <property name="tooltip-text" translatable="yes">Use Dark Colors</property>
            <property name="halign">center</property>
            <signal name="notify::active" handler="_on_color_scheme_changed" />
            <style>
              <class name="dark" />
            </style>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>