[libhandy] demo: Set color scheme



commit 3e37ed87d0d64c26581a55a4a19c7f4c707cc8cc
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Thu Aug 26 15:49:19 2021 +0500

    demo: Set color scheme

 examples/handy-demo.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/examples/handy-demo.c b/examples/handy-demo.c
index 7225afe9..bec6faae 100644
--- a/examples/handy-demo.c
+++ b/examples/handy-demo.c
@@ -43,6 +43,9 @@ startup (GtkApplication *app)
                                              GTK_STYLE_PROVIDER (css_provider),
                                              GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 
+  hdy_style_manager_set_color_scheme (hdy_style_manager_get_default (),
+                                      HDY_COLOR_SCHEME_PREFER_LIGHT);
+
   g_object_unref (css_provider);
 }
 


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