Sha256: ad6f40fae7107307f6442b5cdb93dd0af4948b33efd63886576137f8d409e33c

Contents?: true

Size: 849 Bytes

Versions: 67

Compression:

Stored size: 849 Bytes

Contents

<%inherit file="/base.tmpl"/>
<%block name="synopsis">
  <synopsis><code mime="text/x-python">
% if formatter.get_in_parameters(node):
@accepts(${', '.join((formatter.format_type(arg.type) for arg in formatter.get_in_parameters(node)))})
% endif
@returns(${formatter.format_type(node.retval.type) | x})
def on_${node.name}(${', '.join((arg.argname for arg in formatter.get_in_parameters(node)))}):
  </code></synopsis></%block>
<%block name="details">
% if formatter.get_in_parameters(node) or node.retval:
<terms>
% for arg in formatter.get_in_parameters(node):
<item>
<title><code>${arg.argname}</code></title>
${formatter.format(node, arg.doc)}
</item>
% endfor
% if node.retval and node.retval.type.ctype != 'void':
<item>
<title><code>Returns</code></title>
${formatter.format(node, node.retval.doc)}
</item>
% endif
</terms>
% endif
</%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/callback.tmpl
gobject-introspection-3.2.9-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.8-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.8-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.7-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.7-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.6-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.6-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.5-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.5-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.4-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.4-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.3-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.3-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.2-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.2-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.1-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.1-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.0-x64-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
gobject-introspection-3.2.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl