[libdazzle] app: add some docs for application



commit 27f2c6ee59922b42d92d99c8e0a23b683bae9a48
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 9 17:46:16 2017 -0700

    app: add some docs for application

 src/app/dzl-application.c |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/src/app/dzl-application.c b/src/app/dzl-application.c
index 87165f7..80190bc 100644
--- a/src/app/dzl-application.c
+++ b/src/app/dzl-application.c
@@ -20,6 +20,27 @@
 
 #include "app/dzl-application.h"
 
+/**
+ * SECTION:dzl-application
+ * @title: DzlApplication
+ * @short_description: Application base class with goodies
+ *
+ * #DzlApplication is an extension of #GtkApplication with extra features to
+ * integrate various libdazzle subsystems with your application. We suggest
+ * subclassing #DzlApplication.
+ *
+ * The #DzlApplication class provides:
+ *
+ *  - Automatic menu merging including the "app-menu".
+ *  - Automatic Icon loading based on resources-base-path.
+ *  - Authmatic theme tracking to load CSS variants based on user themes.
+ *
+ * The #DzlApplication class automatically manages loading alternate CSS based
+ * on the active theme by tracking #GtkSettings:gtk-theme-name. Additionally,
+ * it supports menu merging including the base "app-menu" as loaded by automatic
+ * #GResources in #GApplication:resource-base-path. It will autom
+ */
+
 typedef struct
 {
   /*


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