Builder/Provider/Palete/Gtk.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 09:30:23 +0000 (17:30 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 09:30:23 +0000 (17:30 +0800)
Builder/Provider/Palete/Gtk.js

index b6acb7d..6ea0992 100644 (file)
@@ -76,7 +76,12 @@ Gtk = XObject.define(
             this.map = cfg;
              
         },
-       
+        doc : function(what) {
+            var ns = what.split('.').shift();
+            this.commentLoad(ns);
+            return typeof(this.comments[ns][what]) == 'undefined' ?  '' : this.comments[ns][what];
+        },
+  
         getPropertiesFor: function(ename, type)
         {
             if (typeof(this.proplist[ename]) != 'undefined' &&