docs/class.html
[gnome.introspection-doc-generator] / docs / class.html
index 33f5218..2ba96be 100644 (file)
             <td class="hd-info">{+data.ns+} = imports.gi.{+data.ns+}; </td>
        </tr>
 </if>
-    
+     <tr>
+            <td class="label">GIR File:</td>
+            <td class="hd-info"><a href="{+data.gir_filename+}">{+data.gir_filename+}</a></td>
+        </tr>
         <tr>
             <td class="label">C documentation:</td>
             <td class="hd-info">{+new Link().toGnome(data.alias)+}</td>
                </td></tr>    
        </if>
        
+<script type="text/javascript">    
+var display = '';
+function toggle() {
+    display  = display == 'none' ? '': 'none';
+    Array.prototype.slice.call(
+       document.getElementsByTagName('tr')
+    ).forEach(function(tr) {
+       tr.style.display = ''; 
+       if (tr.className.match(/notInherited/)) return;
+       if (!tr.className.match(/expandable/)) return;
+       tr.style.display = display; 
+    });
+}
+</script>    
+    
     </table>