Sha256: 6e7548d8e61641c86a8916e7fd5b65b1630a7f2f123320c67069008dffa902ea

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

<%inherit file="/class.tmpl"/>
<%block name="synopsis">
  <synopsis><code>
const ${namespace.name} = imports.gi.${namespace.name};

let ${formatter.to_underscores(node.name).lower()} = new ${namespace.name}.${node.name}(\
% if len(node.properties) > 0:
{
% 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,
% endif
% endfor
}\
% endif
);
  </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/Gjs/class.tmpl
gobject-introspection-2.1.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl
gobject-introspection-2.0.3-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl
gobject-introspection-2.0.2-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl
gobject-introspection-2.0.1-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl
gobject-introspection-2.0.0-x86-mingw32 vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl