aboutsummaryrefslogtreecommitdiff
path: root/res/widgets/participant_list_row.ui
diff options
context:
space:
mode:
Diffstat (limited to 'res/widgets/participant_list_row.ui')
-rw-r--r--res/widgets/participant_list_row.ui81
1 files changed, 81 insertions, 0 deletions
diff --git a/res/widgets/participant_list_row.ui b/res/widgets/participant_list_row.ui
new file mode 100644
index 0000000..66506c8
--- /dev/null
+++ b/res/widgets/participant_list_row.ui
@@ -0,0 +1,81 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Created with Cambalache 0.90.4 -->
+<!--Adapted from: https://gitlab.gnome.org/GNOME/libadwaita-->
+<interface>
+ <!-- interface-name participant_list_item.ui -->
+ <requires lib="gtk" version="4.14"/>
+ <template class="gtkmm__CustomObject_participant_list_row" parent="GtkListBoxRow">
+ <property name="child">
+ <object class="GtkBox" id="header">
+ <property name="css-classes">header</property>
+ <child>
+ <object class="GtkBox" id="prefixes">
+ <property name="visible">False</property>
+ <style>
+ <class name="prefixes"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage" id="image">
+ <property name="icon-name">face-smile</property>
+ <property name="valign">center</property>
+ <property name="visible">False</property>
+ <style>
+ <class name="icon"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="title_box">
+ <property name="hexpand">True</property>
+ <property name="orientation">vertical</property>
+ <property name="valign">center</property>
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="lines">0</property>
+ <property name="visible">False</property>
+ <property name="wrap">True</property>
+ <property name="wrap-mode">word-char</property>
+ <property name="xalign">0.0</property>
+ <style>
+ <class name="title"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="subtitle">
+ <property name="lines">0</property>
+ <property name="visible">False</property>
+ <property name="wrap">True</property>
+ <property name="wrap-mode">word-char</property>
+ <property name="xalign">0.0</property>
+ <style>
+ <class name="subtitle"/>
+ </style>
+ </object>
+ </child>
+ <style>
+ <class name="title"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="suffixes">
+ <property name="valign">center</property>
+ <child>
+ <object class="GtkSwitch"/>
+ </child>
+ <style>
+ <class name="suffixes"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </property>
+ <property name="valign">center</property>
+ <style>
+ <class name="view"/>
+ </style>
+ </template>
+</interface>