summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/src/hdy-preferences-group.ui
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/libhandy/src/hdy-preferences-group.ui')
-rw-r--r--subprojects/libhandy/src/hdy-preferences-group.ui55
1 files changed, 55 insertions, 0 deletions
diff --git a/subprojects/libhandy/src/hdy-preferences-group.ui b/subprojects/libhandy/src/hdy-preferences-group.ui
new file mode 100644
index 0000000..60a5ae1
--- /dev/null
+++ b/subprojects/libhandy/src/hdy-preferences-group.ui
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <template class="HdyPreferencesGroup" parent="GtkBin">
+ <child>
+ <object class="GtkBox" id="box">
+ <property name="visible">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="can_focus">False</property>
+ <property name="ellipsize">end</property>
+ <property name="halign">start</property>
+ <property name="xalign">0</property>
+ <style>
+ <!-- Requires Adwaita from GTK 3.24.14. -->
+ <class name="heading"/>
+ <!-- Matching elementary class. -->
+ <class name="h4"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="description">
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="wrap">True</property>
+ <property name="xalign">0</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="listbox_box">
+ <property name="orientation">vertical</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkListBox" id="listbox">
+ <property name="selection_mode">none</property>
+ <property name="visible">True</property>
+ <signal name="add" handler="update_listbox_visibility" after="yes" swapped="yes"/>
+ <signal name="remove" handler="update_listbox_visibility" after="yes" swapped="yes"/>
+ <style>
+ <class name="content"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>