[gnome-control-center/wip/animated-notebook] shell: Add explanation of the internal widget layout



commit fe13758cc2dbf4a97f025d25d684f72fcdeaed10
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 2 13:31:41 2012 +0100

    shell: Add explanation of the internal widget layout

 shell/cc-notebook.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-notebook.c b/shell/cc-notebook.c
index df87d23..aa50f61 100644
--- a/shell/cc-notebook.c
+++ b/shell/cc-notebook.c
@@ -29,6 +29,14 @@
 
 #define GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CC_TYPE_NOTEBOOK, CcNotebookPrivate))
 
+/* Structure is:
+ * GtkClutterEmbed aka stage
+ *     scroll_actor
+ *         bin (with a ClutterFlowLayout layout
+ *             ClutterActor (each page is 1 widget)
+ *             ClutterActor...
+ */
+
 struct _CcNotebookPrivate
 {
 	GtkWidget *embed;



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