summaryrefslogtreecommitdiffstats
path: root/tests/interactive-panels/gtp-dynamic-panel.ui
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:45:20 +0000
commitae1c76ff830d146d41e88d6fba724c0a54bce868 (patch)
tree3c354bec95af07be35fc71a4b738268496f1a1c4 /tests/interactive-panels/gtp-dynamic-panel.ui
parentInitial commit. (diff)
downloadgnome-control-center-upstream.tar.xz
gnome-control-center-upstream.zip
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/interactive-panels/gtp-dynamic-panel.ui')
-rw-r--r--tests/interactive-panels/gtp-dynamic-panel.ui27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/interactive-panels/gtp-dynamic-panel.ui b/tests/interactive-panels/gtp-dynamic-panel.ui
new file mode 100644
index 0000000..30e1bdd
--- /dev/null
+++ b/tests/interactive-panels/gtp-dynamic-panel.ui
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.22"/>
+ <template class="GtpDynamicPanel" parent="CcPanel">
+ <child type="content">
+ <object class="AdwStatusPage">
+ <property name="icon-name">weather-clear-night-symbolic</property>
+ <property name="title">Dynamic Panel</property>
+ <property name="description">Dynamic panels may hide if you don't have some hardware. Use the button below to toggle the panel visibility:</property>
+
+ <child>
+ <object class="GtkButton">
+ <property name="halign">center</property>
+ <property name="label">Hide</property>
+ <signal name="clicked" handler="on_button_clicked_cb" object="GtpDynamicPanel" swapped="no" />
+ <style>
+ <class name="pill" />
+ </style>
+ </object>
+ </child>
+
+ </object>
+ </child>
+
+ </template>
+</interface>
+