tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 03:59:23 +0000 (11:59 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 03:59:23 +0000 (11:59 +0800)
tools/build_gtk_tree.js

index 2b6a108..2cbf2cc 100644 (file)
@@ -74,7 +74,8 @@ function BuildLists () {
         var odata = classes[cls];
         methods[cls] = {
             can_contain : [],
-            using_methods : { }
+            can_be_added_to : [],
+            using_methods : { }.
             
         };
            
@@ -132,6 +133,12 @@ function BuildLists () {
         
         
     }
+    
+    
+    // now do the reverese 'can be added to'
+    
+    
+    
     this.methods = methods;
     this.allmethods = methods;
     this.implementations = implementations;
@@ -148,6 +155,20 @@ function BuildLists () {
       So let's pick one..
         TOP        ARRAY  2ND
         Gtk.Button.add(Gtk.Widget) <<
+        
+        
+        What we need:
+        
+        A) what can this dragged element be dropped onto.
+        eg. list of parents.
+        
+        
+        
+        
+        B) what method is available when this object is dropped onto this one.
+        
+        
+        
      
      
     */