<%namespace name="doc" file="_doc.tmpl"/> <%! def dash_to_underscore(string): return '_'.join(string.split('-')) def dash_to_camel(string): words = string.split('-') return ''.join([words[0]] + [word.title() for word in words[1:]]) %> % if getattr(node, 'properties', []):

Property Details

% for p in node.properties: <%doc:introspectable node="${p}">

${p.name | dash_to_underscore}

% if p.name.lower() != p.name:
Names
${p.name}, ${p.name | dash_to_underscore}, ${p.name | dash_to_camel}
% endif
Type
${formatter.format_type(p.type)}
##
Default value
##
Not currently stored in GIR
Flags
${formatter.format_property_flags(p)}
% if p.doc: ${doc.format_documentation(p)} % endif % endfor % endif