Sha256: 3211149b416e0d487938f8d267e6c8c9349f03c63965bb7ff52bc390ba6257f5

Contents?: true

Size: 593 Bytes

Versions: 67

Compression:

Stored size: 593 Bytes

Contents

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

${formatter.to_underscores(node).lower()} = ${namespace.name}.${node.name}(\
% if isinstance(node, (ast.Class, ast.Interface)):
% 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
% endif
)
  </code></synopsis></%block>

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
gobject-introspection-3.2.9-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.9-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.8-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.8-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.7-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.7-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.6-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.6-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.5-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.5-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.4-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.4-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.3-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.3-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.2-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.2-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.1-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.1-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.0-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
gobject-introspection-3.2.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl