[tepl] InfoBar: start to write future class description



commit 50d1be25b56f43414be6ef18a49037e3b274fe88
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Nov 10 12:03:24 2020 +0100

    InfoBar: start to write future class description

 tepl/tepl-info-bar.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/tepl/tepl-info-bar.c b/tepl/tepl-info-bar.c
index bb46d45..c275433 100644
--- a/tepl/tepl-info-bar.c
+++ b/tepl/tepl-info-bar.c
@@ -13,6 +13,19 @@
  * of info bars.
  */
 
+/* To put later in the class description / the goal:
+ *
+ * The content area of a #TeplInfoBar contains a vertical container containing:
+ * - First, an horizontal container containing:
+ *   - A place for an optional icon.
+ *   - A vertical container that can contain: primary/secondary messages plus
+ *     additional widgets, in the order that they are added. So the widgets
+ *     added here are <emphasis>on the right</emphasis> of the icon.
+ * - Possible additional widgets, in the order that they are added. So the
+ *   widgets added here are <emphasis>under</emphasis> the icon (if there is an
+ *   icon).
+ */
+
 struct _TeplInfoBarPrivate
 {
        /* Left: icon. Right: content_vgrid. */


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