gobject-introspection 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +118 -0
- data/ext/gobject-introspection/depend +10 -0
- data/ext/gobject-introspection/extconf.rb +97 -0
- data/ext/gobject-introspection/gobject_introspection.def +5 -0
- data/ext/gobject-introspection/rb-gi-arg-info.c +151 -0
- data/ext/gobject-introspection/rb-gi-argument.c +1015 -0
- data/ext/gobject-introspection/rb-gi-base-info.c +218 -0
- data/ext/gobject-introspection/rb-gi-boxed-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-callable-info.c +104 -0
- data/ext/gobject-introspection/rb-gi-callback-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-constant-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-constructor-info.c +120 -0
- data/ext/gobject-introspection/rb-gi-conversions.h +116 -0
- data/ext/gobject-introspection/rb-gi-enum-info.c +145 -0
- data/ext/gobject-introspection/rb-gi-field-info.c +153 -0
- data/ext/gobject-introspection/rb-gi-flags-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-function-info.c +658 -0
- data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
- data/ext/gobject-introspection/rb-gi-loader.c +162 -0
- data/ext/gobject-introspection/rb-gi-method-info.c +109 -0
- data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
- data/ext/gobject-introspection/rb-gi-private.h +110 -0
- data/ext/gobject-introspection/rb-gi-property-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-registered-type-info.c +86 -0
- data/ext/gobject-introspection/rb-gi-repository.c +164 -0
- data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-struct-info.c +190 -0
- data/ext/gobject-introspection/rb-gi-type-info.c +143 -0
- data/ext/gobject-introspection/rb-gi-type-tag.c +43 -0
- data/ext/gobject-introspection/rb-gi-types.h +71 -0
- data/ext/gobject-introspection/rb-gi-union-info.c +206 -0
- data/ext/gobject-introspection/rb-gi-unresolved-info.c +48 -0
- data/ext/gobject-introspection/rb-gi-value-info.c +57 -0
- data/ext/gobject-introspection/rb-gi-vfunc-info.c +91 -0
- data/ext/gobject-introspection/rb-gobject-introspection.c +44 -0
- data/ext/gobject-introspection/rb-gobject-introspection.h +57 -0
- data/extconf.rb +71 -0
- data/lib/1.9/gobject_introspection.so +0 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/gobject-introspection.rb +52 -0
- data/lib/gobject-introspection/callable-info.rb +91 -0
- data/lib/gobject-introspection/collection-reader.rb +34 -0
- data/lib/gobject-introspection/interface-info.rb +32 -0
- data/lib/gobject-introspection/loader.rb +328 -0
- data/lib/gobject-introspection/object-info.rb +33 -0
- data/lib/gobject-introspection/repository.rb +32 -0
- data/lib/gobject-introspection/struct-info.rb +28 -0
- data/lib/gobject-introspection/union-info.rb +28 -0
- data/test/gobject-introspection-test-utils.rb +26 -0
- data/test/run-test.rb +45 -0
- data/test/test-arg-info.rb +68 -0
- data/test/test-base-info.rb +31 -0
- data/test/test-boxed-info.rb +21 -0
- data/test/test-callable-info.rb +49 -0
- data/test/test-callback-info.rb +29 -0
- data/test/test-constant-info.rb +24 -0
- data/test/test-enum-info.rb +56 -0
- data/test/test-field-type.rb +42 -0
- data/test/test-flags-info.rb +27 -0
- data/test/test-function-info.rb +37 -0
- data/test/test-interface-info.rb +97 -0
- data/test/test-loader.rb +30 -0
- data/test/test-object-info.rb +131 -0
- data/test/test-property-info.rb +38 -0
- data/test/test-registered-type-info.rb +35 -0
- data/test/test-repository.rb +59 -0
- data/test/test-signal-info.rb +37 -0
- data/test/test-struct-info.rb +57 -0
- data/test/test-type-info.rb +62 -0
- data/test/test-type-tag.rb +29 -0
- data/test/test-union-info.rb +21 -0
- data/test/test-value-info.rb +28 -0
- data/test/test-vfunc-info.rb +42 -0
- data/vendor/local/bin/g-ir-compiler.exe +0 -0
- data/vendor/local/bin/g-ir-generate.exe +0 -0
- data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
- data/vendor/local/include/gobject-introspection-1.0/giarginfo.h +52 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +89 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +74 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +46 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +52 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +77 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +68 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +137 -0
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +44 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +53 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +179 -0
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +80 -0
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +45 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +53 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +55 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +453 -0
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +57 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +56 -0
- data/vendor/local/lib/girepository-1.0/DBus-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/DBusGLib-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GIRepository-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GL-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GLib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GModule-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/GObject-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Gio-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/cairo-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/fontconfig-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/freetype2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/libxml2-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xfixes-4.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xft-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xlib-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/xrandr-1.3.typelib +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.py +24 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.py +74 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.py +1204 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.py +1100 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.py +196 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +140 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +60 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +61 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl +5 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl +4 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +18 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl +13 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +48 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl +10 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl +37 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +17 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl +13 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +53 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl +10 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl +2 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl +42 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +33 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +29 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +40 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +19 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +635 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.py +363 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.py +551 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.py +581 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.py +584 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.py +236 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.py +76 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.py +1337 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.py +185 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.py +50 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/odict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.py +497 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.py +78 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.py +132 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.py +324 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.py +119 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.py +999 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.py +141 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.py +197 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
- data/vendor/local/lib/libgirepository-1.0.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
- data/vendor/local/lib/libgirepository-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-1.0.pc +26 -0
- data/vendor/local/lib/pkgconfig/gobject-introspection-no-export-1.0.pc +23 -0
- data/vendor/local/share/aclocal/introspection.m4 +96 -0
- data/vendor/local/share/gir-1.0/DBus-1.0.gir +32 -0
- data/vendor/local/share/gir-1.0/DBusGLib-1.0.gir +18 -0
- data/vendor/local/share/gir-1.0/GIRepository-2.0.gir +3833 -0
- data/vendor/local/share/gir-1.0/GL-1.0.gir +31 -0
- data/vendor/local/share/gir-1.0/GLib-2.0.gir +44304 -0
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +184 -0
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +13947 -0
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +73619 -0
- data/vendor/local/share/gir-1.0/cairo-1.0.gir +70 -0
- data/vendor/local/share/gir-1.0/fontconfig-2.0.gir +18 -0
- data/vendor/local/share/gir-1.0/freetype2-2.0.gir +22 -0
- data/vendor/local/share/gir-1.0/libxml2-2.0.gir +25 -0
- data/vendor/local/share/gir-1.0/xfixes-4.0.gir +10 -0
- data/vendor/local/share/gir-1.0/xft-2.0.gir +23 -0
- data/vendor/local/share/gir-1.0/xlib-2.0.gir +67 -0
- data/vendor/local/share/gir-1.0/xrandr-1.3.gir +16 -0
- data/vendor/local/share/gobject-introspection-1.0/Makefile.introspection +166 -0
- data/vendor/local/share/gobject-introspection-1.0/gdump.c +564 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +835 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +198 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +55 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +33 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1473 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +428 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.c +790 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/foo.h +437 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5256 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1158 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4009 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +944 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +45 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +95 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +33 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +36 -0
- data/vendor/local/share/license/gobject-introspection/AUTHORS +9 -0
- data/vendor/local/share/license/gobject-introspection/COPYING +12 -0
- data/vendor/local/share/man/man1/g-ir-compiler.1 +51 -0
- data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
- metadata +343 -0
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/namespace.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<%inherit file="/class.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code>
|
4
|
+
const ${namespace.name} = imports.gi.${namespace.name};
|
5
|
+
|
6
|
+
let ${formatter.to_underscores(node.name).lower()} = new ${namespace.name}.${node.name}(\
|
7
|
+
% if len(node.properties) > 0:
|
8
|
+
{
|
9
|
+
% for ix, property_ in enumerate(node.properties):
|
10
|
+
% if property_.construct or property_.construct_only or property_.writable:
|
11
|
+
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>: value,
|
12
|
+
% endif
|
13
|
+
% endfor
|
14
|
+
}\
|
15
|
+
% endif
|
16
|
+
);
|
17
|
+
</code></synopsis>
|
18
|
+
</%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="details">
|
3
|
+
% if node.members:
|
4
|
+
<terms>
|
5
|
+
% for member in node.members:
|
6
|
+
<item>
|
7
|
+
<title><code>${node.name}.${member.name.upper()}</code></title>
|
8
|
+
${formatter.format(node, member.doc)}
|
9
|
+
</item>
|
10
|
+
% endfor
|
11
|
+
</terms>
|
12
|
+
% endif
|
13
|
+
</%block>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<api:function>
|
5
|
+
<api:returns>
|
6
|
+
<api:type>${formatter.format_type(node.retval.type) | x}</api:type>
|
7
|
+
</api:returns>
|
8
|
+
<api:name>${node.symbol}</api:name>
|
9
|
+
% for arg in formatter.get_parameters(node):
|
10
|
+
% if arg.type.ctype == '<varargs>':
|
11
|
+
<api:varargs/>
|
12
|
+
% else:
|
13
|
+
<api:arg>
|
14
|
+
<api:type>${formatter.format_type(arg.type) | x}</api:type>
|
15
|
+
<api:name>${formatter.format_parameter_name(node, arg)}</api:name>
|
16
|
+
</api:arg>
|
17
|
+
% endif
|
18
|
+
% endfor
|
19
|
+
</api:function>
|
20
|
+
</%block>
|
21
|
+
<%block name="synopsis">
|
22
|
+
<synopsis><code mime="text/x-gjs">
|
23
|
+
function \
|
24
|
+
${node.name}(\
|
25
|
+
${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in formatter.get_parameters(node))}\
|
26
|
+
):${formatter.format_type(node.retval.type)} {
|
27
|
+
// Gjs wrapper for ${node.symbol}()
|
28
|
+
}
|
29
|
+
</code></synopsis>
|
30
|
+
</%block>
|
31
|
+
<%block name="details">
|
32
|
+
% if formatter.get_parameters(node) or node.retval:
|
33
|
+
<terms>
|
34
|
+
% for arg in formatter.get_parameters(node):
|
35
|
+
<item>
|
36
|
+
<title><code>${arg.argname}</code></title>
|
37
|
+
${formatter.format(node, arg.doc)}
|
38
|
+
</item>
|
39
|
+
% endfor
|
40
|
+
% if node.retval and node.retval.type.ctype != 'void':
|
41
|
+
<item>
|
42
|
+
<title><code>Returns</code></title>
|
43
|
+
${formatter.format(node, node.retval.doc)}
|
44
|
+
</item>
|
45
|
+
% endif
|
46
|
+
</terms>
|
47
|
+
% endif
|
48
|
+
</%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
|
+
"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
|
9
|
+
</code></synopsis>
|
10
|
+
</%block>
|
@@ -0,0 +1,37 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
|
+
function callback(${formatter.to_underscores(node.parent.name).lower()}, \
|
9
|
+
% for arg in formatter.get_parameters(node):
|
10
|
+
${arg.argname}:${formatter.format_type(arg.type)}, \
|
11
|
+
% endfor
|
12
|
+
):${formatter.format_type(node.retval.type)};
|
13
|
+
</code></synopsis>
|
14
|
+
</%block>
|
15
|
+
<%block name="details">
|
16
|
+
<terms>
|
17
|
+
<item>
|
18
|
+
<title><code>${formatter.to_underscores(node.parent.name).lower()}</code></title>
|
19
|
+
<p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
|
20
|
+
</item>
|
21
|
+
% for arg in formatter.get_parameters(node):
|
22
|
+
<item>
|
23
|
+
<title><code>${arg.argname}</code></title>
|
24
|
+
${formatter.format(node, arg.doc)}
|
25
|
+
</item>
|
26
|
+
% endfor
|
27
|
+
% if node.retval and \
|
28
|
+
node.retval.type.ctype != 'void' and \
|
29
|
+
node.retval.type.ctype is not None:
|
30
|
+
<item>
|
31
|
+
<title><code>Returns</code></title>
|
32
|
+
${formatter.format(node, node.retval.doc)}
|
33
|
+
</item>
|
34
|
+
% endif
|
35
|
+
</terms>
|
36
|
+
</%block>
|
37
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code mime="text/x-gjs">
|
4
|
+
function vfunc_${node.name}(\
|
5
|
+
${', '.join('%s:%s' % (arg.argname, formatter.format_type(arg.type)) for arg in formatter.get_parameters(node))}\
|
6
|
+
):${formatter.format_type(node.retval.type)} {
|
7
|
+
}
|
8
|
+
</code></synopsis>
|
9
|
+
</%block>
|
10
|
+
<%block name="details">
|
11
|
+
% if formatter.get_parameters(node) or node.retval:
|
12
|
+
<terms>
|
13
|
+
% for arg in formatter.get_parameters(node):
|
14
|
+
<item>
|
15
|
+
<title><code>${arg.argname}</code></title>
|
16
|
+
${formatter.format(node, arg.doc)}
|
17
|
+
</item>
|
18
|
+
% endfor
|
19
|
+
% if node.retval and node.retval.type.ctype != 'void':
|
20
|
+
<item>
|
21
|
+
<title><code>Returns</code></title>
|
22
|
+
${formatter.format(node, node.retval.doc)}
|
23
|
+
</item>
|
24
|
+
% endif
|
25
|
+
</terms>
|
26
|
+
% endif
|
27
|
+
</%block>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<%inherit file="/class.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code>
|
4
|
+
from gi.repository import ${namespace.name}
|
5
|
+
|
6
|
+
${formatter.to_underscores(node.name).lower()} = ${namespace.name}.${node.name}(\
|
7
|
+
% for ix, property_ in enumerate(node.properties):
|
8
|
+
% if property_.construct or property_.construct_only or property_.writable:
|
9
|
+
<link xref='${namespace.name}.${node.name}-${property_.name}'>${property_.name.replace('-', '_')}</link>=value\
|
10
|
+
% if ix != len(node.properties) - 1:
|
11
|
+
, \
|
12
|
+
% endif
|
13
|
+
% endif
|
14
|
+
% endfor
|
15
|
+
)\
|
16
|
+
</code></synopsis>
|
17
|
+
</%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="details">
|
3
|
+
% if node.members:
|
4
|
+
<terms>
|
5
|
+
% for member in node.members:
|
6
|
+
<item>
|
7
|
+
<title><code>${node.name}.${member.name.upper()}</code></title>
|
8
|
+
${formatter.format(node, member.doc)}
|
9
|
+
</item>
|
10
|
+
% endfor
|
11
|
+
</terms>
|
12
|
+
% endif
|
13
|
+
</%block>
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<api:function>
|
5
|
+
<api:returns>
|
6
|
+
<api:type>${formatter.format_type(node.retval.type) | x}</api:type>
|
7
|
+
</api:returns>
|
8
|
+
<api:name>${node.symbol}</api:name>
|
9
|
+
% for arg in formatter.get_parameters(node):
|
10
|
+
% if arg.type.ctype == '<varargs>':
|
11
|
+
<api:varargs/>
|
12
|
+
% else:
|
13
|
+
<api:arg>
|
14
|
+
<api:type>${formatter.format_type(arg.type) | x}</api:type>
|
15
|
+
<api:name>${formatter.format_parameter_name(node, arg)}</api:name>
|
16
|
+
</api:arg>
|
17
|
+
% endif
|
18
|
+
% endfor
|
19
|
+
</api:function>
|
20
|
+
</%block>
|
21
|
+
<%block name="synopsis">
|
22
|
+
<synopsis><code mime="text/x-python">
|
23
|
+
% if formatter.get_parameters(node):
|
24
|
+
@accepts(\
|
25
|
+
${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
|
26
|
+
)
|
27
|
+
% endif
|
28
|
+
@returns(${formatter.format_type(node.retval.type) | x})
|
29
|
+
def \
|
30
|
+
${node.name}(\
|
31
|
+
${', '.join((formatter.format_parameter_name(node, arg) for arg in formatter.get_parameters(node)))}\
|
32
|
+
):
|
33
|
+
# Python wrapper for ${node.symbol}()
|
34
|
+
</code></synopsis>
|
35
|
+
</%block>
|
36
|
+
<%block name="details">
|
37
|
+
% if formatter.get_parameters(node) or node.retval:
|
38
|
+
<terms>
|
39
|
+
% for ix, arg in enumerate(formatter.get_parameters(node)):
|
40
|
+
<item>
|
41
|
+
<title><code>${formatter.format_parameter_name(node, arg)}</code></title>
|
42
|
+
${formatter.format(node, arg.doc)}
|
43
|
+
</item>
|
44
|
+
% endfor
|
45
|
+
% if node.retval and node.retval.type.ctype != 'void':
|
46
|
+
<item>
|
47
|
+
<title><code>Returns</code></title>
|
48
|
+
{formatter.format(node, node.retval.doc)}
|
49
|
+
</item>
|
50
|
+
% endif
|
51
|
+
</terms>
|
52
|
+
% endif
|
53
|
+
</%block>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%inherit file="./function.tmpl"/>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
|
+
"${node.name}" ${formatter.format_type(node.type)} : ${formatter.format_property_flags(node)}
|
9
|
+
</code></synopsis>
|
10
|
+
</%block>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="info">
|
3
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
4
|
+
<title type="link" role="topic">${node.name}</title>
|
5
|
+
</%block>
|
6
|
+
<%block name="synopsis">
|
7
|
+
<synopsis><code mime="text/x-python">
|
8
|
+
def callback(${formatter.to_underscores(node.parent.name).lower()}, \
|
9
|
+
% for arg in formatter.get_parameters(node):
|
10
|
+
${arg.argname}, \
|
11
|
+
% endfor
|
12
|
+
user_param1, ...)
|
13
|
+
</code></synopsis>
|
14
|
+
</%block>
|
15
|
+
<%block name="details">
|
16
|
+
<terms>
|
17
|
+
<item>
|
18
|
+
<title><code>${formatter.to_underscores(node.parent.name).lower()}</code></title>
|
19
|
+
<p>instance of ${formatter.format_xref(node.parent)} that is emitting the signal</p>
|
20
|
+
</item>
|
21
|
+
% for arg in formatter.get_parameters(node):
|
22
|
+
<item>
|
23
|
+
<title><code>${arg.argname}</code></title>
|
24
|
+
${formatter.format(node, arg.doc)}
|
25
|
+
</item>
|
26
|
+
% endfor
|
27
|
+
<title><code>user_param1</code></title>
|
28
|
+
<p>first user parameter (if any) specified with the connect() method</p>
|
29
|
+
<item>
|
30
|
+
<title><code>...</code></title>
|
31
|
+
<p>additional user parameters (if any)</p>
|
32
|
+
</item>
|
33
|
+
% if node.retval and \
|
34
|
+
node.retval.type.ctype != 'void' and \
|
35
|
+
node.retval.type.ctype is not None:
|
36
|
+
<item>
|
37
|
+
<title><code>Returns</code></title>
|
38
|
+
${formatter.format(node, node.retval.doc)}
|
39
|
+
</item>
|
40
|
+
% endif
|
41
|
+
</terms>
|
42
|
+
</%block>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<%inherit file="/base.tmpl"/>
|
2
|
+
<%block name="synopsis">
|
3
|
+
<synopsis><code mime="text/x-python">
|
4
|
+
% if formatter.get_parameters(node):
|
5
|
+
@accepts(\
|
6
|
+
${', '.join((formatter.format_type(arg.type) for arg in formatter.get_parameters(node)))}\
|
7
|
+
)
|
8
|
+
% endif
|
9
|
+
@returns(${formatter.format_type(node.retval.type) | x})
|
10
|
+
def \
|
11
|
+
do_${node.name}(\
|
12
|
+
${', '.join((arg.argname for arg in formatter.get_parameters(node)))}\
|
13
|
+
):
|
14
|
+
</code></synopsis>
|
15
|
+
</%block>
|
16
|
+
<%block name="details">
|
17
|
+
% if formatter.get_parameters(node) or node.retval:
|
18
|
+
<terms>
|
19
|
+
% for arg in formatter.get_parameters(node):
|
20
|
+
<item>
|
21
|
+
<title><code>${arg.argname}</code></title>
|
22
|
+
${formatter.format(node, arg.doc)}
|
23
|
+
</item>
|
24
|
+
% endfor
|
25
|
+
% if node.retval and node.retval.type.ctype != 'void':
|
26
|
+
<item>
|
27
|
+
<title><code>Returns</code></title>
|
28
|
+
${formatter.format(node, node.retval.doc)}
|
29
|
+
</item>
|
30
|
+
% endif
|
31
|
+
</terms>
|
32
|
+
% endif
|
33
|
+
</%block>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<%! page_type="topic" %>\
|
2
|
+
<?xml version="1.0"?>
|
3
|
+
<page id="${page_id}"
|
4
|
+
type="${self.attr.page_type}"
|
5
|
+
style="${page_kind}"
|
6
|
+
xmlns="http://projectmallard.org/1.0/"
|
7
|
+
xmlns:api="http://projectmallard.org/experimental/api/"
|
8
|
+
xmlns:ui="http://projectmallard.org/1.0/ui/">
|
9
|
+
<info>
|
10
|
+
<%block name="info">
|
11
|
+
${formatter.format_xref(node.parent, type="guide", group=page_kind)}
|
12
|
+
</%block>
|
13
|
+
</info>
|
14
|
+
<title><%block name="title">${formatter.format_page_name(node)}</%block></title>
|
15
|
+
<%block name="synopsis">
|
16
|
+
</%block>
|
17
|
+
<%block name="doc">
|
18
|
+
${formatter.format(node, node.doc)}
|
19
|
+
</%block>
|
20
|
+
<%block name="since_version">
|
21
|
+
% if node.version:
|
22
|
+
<p>Since ${node.version}</p>
|
23
|
+
% endif
|
24
|
+
</%block>
|
25
|
+
<%block name="details">
|
26
|
+
</%block>
|
27
|
+
<%block name="links">
|
28
|
+
</%block>
|
29
|
+
</page>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<%! page_type="guide" %>\
|
2
|
+
<%inherit file="/base.tmpl"/>
|
3
|
+
<%block name="details">
|
4
|
+
<synopsis>
|
5
|
+
<title>Hierarchy</title>
|
6
|
+
<tree>
|
7
|
+
% for class_ in formatter.get_class_hierarchy(node):
|
8
|
+
<item>
|
9
|
+
<code>${class_.namespace.name}.${class_.name}</code>
|
10
|
+
% endfor
|
11
|
+
% for class_ in formatter.get_class_hierarchy(node):
|
12
|
+
</item>
|
13
|
+
% endfor
|
14
|
+
</tree>
|
15
|
+
</synopsis>
|
16
|
+
</%block>
|
17
|
+
<%block name="links">
|
18
|
+
<links type="topic" ui:expanded="true"
|
19
|
+
api:type="function" api:mime="${formatter.mime_type}"
|
20
|
+
groups="method" style="linklist">
|
21
|
+
<title>Methods</title>
|
22
|
+
</links>
|
23
|
+
<links type="topic" ui:expanded="true"
|
24
|
+
api:type="function" api:mime="${formatter.mime_type}"
|
25
|
+
groups="function" style="linklist">
|
26
|
+
<title>Functions</title>
|
27
|
+
</links>
|
28
|
+
<links type="topic" ui:expanded="true" groups="property" style="linklist">
|
29
|
+
<title>Properties</title>
|
30
|
+
</links>
|
31
|
+
<links type="topic" ui:expanded="true" groups="signal" style="linklist">
|
32
|
+
<title>Signals</title>
|
33
|
+
</links>
|
34
|
+
<links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
|
35
|
+
<title>Virtual functions</title>
|
36
|
+
</links>
|
37
|
+
<links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
|
38
|
+
<title>Other</title>
|
39
|
+
</links>
|
40
|
+
</%block>
|