[libadwaita] demo: Add a badge example



commit 6840305dec74e1b83d85c74579651c50689b926d
Author: CodedOre <CodedOre>
Date:   Mon Jun 28 17:36:36 2021 +0500

    demo: Add a badge example

 examples/adw-view-switcher-demo-window.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/examples/adw-view-switcher-demo-window.ui b/examples/adw-view-switcher-demo-window.ui
index a5b853be..28a0c10c 100644
--- a/examples/adw-view-switcher-demo-window.ui
+++ b/examples/adw-view-switcher-demo-window.ui
@@ -60,6 +60,8 @@
                 <property name="name">page3</property>
                 <property name="title" translatable="yes">Stopwatch</property>
                 <property name="icon-name">clock-stopwatch-symbolic</property>
+                <property name="badge-number">3</property>
+                <property name="needs-attention">true</property>
                 <property name="child">
                   <object class="GtkLabel">
                     <property name="margin-top">24</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]