summaryrefslogtreecommitdiff
path: root/giscanner/mallard-Python-class.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/mallard-Python-class.tmpl')
-rw-r--r--giscanner/mallard-Python-class.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/giscanner/mallard-Python-class.tmpl b/giscanner/mallard-Python-class.tmpl
index 489a4295..62feb9ab 100644
--- a/giscanner/mallard-Python-class.tmpl
+++ b/giscanner/mallard-Python-class.tmpl
@@ -29,12 +29,16 @@ ${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(
% if node.version:
<p>Since ${node.version}</p>
% endif
- <synopsis ui:expanded="no">
+ <synopsis>
<title>Hierarchy</title>
<tree>
+% for class_ in formatter.get_class_hierarchy(node):
<item>
- <code>GObject.Object</code>
+ <code>${class_.namespace.name}.${class_.name}</code>
+% endfor
+% for class_ in formatter.get_class_hierarchy(node):
</item>
+% endfor
</tree>
</synopsis>
<links type="topic" ui:expanded="yes"