Sha256: d16a51ac77f2079b540897760ba4ab4b76600411f93b13e8691940716f6486fe

Contents?: true

Size: 541 Bytes

Versions: 6

Compression:

Stored size: 541 Bytes

Contents

<%inherit file="/class.tmpl"/>
<%block name="synopsis">
  <synopsis><code>
from gi.repository import ${namespace.name}

${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(\
% for ix, property_ in enumerate(node.properties):
% if property_.construct or property_.construct_only or property_.writable:
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\
% if ix != len(node.properties) - 1:
, \
% endif
% endif
% endfor
)\
  </code></synopsis>
</%block>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gobject-introspection-2.2.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-2.1.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-2.0.3-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-2.0.2-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-2.0.1-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-2.0.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl