gobject-introspection 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +129 -0
- data/ext/gobject-introspection/depend +10 -0
- data/ext/gobject-introspection/extconf.rb +94 -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 +2053 -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 +133 -0
- data/ext/gobject-introspection/rb-gi-conversions.h +145 -0
- data/ext/gobject-introspection/rb-gi-enum-info.c +155 -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 +841 -0
- data/ext/gobject-introspection/rb-gi-interface-info.c +222 -0
- data/ext/gobject-introspection/rb-gi-loader.c +224 -0
- data/ext/gobject-introspection/rb-gi-method-info.c +83 -0
- data/ext/gobject-introspection/rb-gi-object-info.c +345 -0
- data/ext/gobject-introspection/rb-gi-private.h +105 -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 +246 -0
- data/ext/gobject-introspection/rb-gi-signal-info.c +77 -0
- data/ext/gobject-introspection/rb-gi-struct-info.c +202 -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 +60 -0
- data/extconf.rb +71 -0
- data/lib/2.0/gobject_introspection.so +0 -0
- data/lib/2.1/gobject_introspection.so +0 -0
- data/lib/2.2/gobject_introspection.so +0 -0
- data/lib/gobject-introspection.rb +53 -0
- data/lib/gobject-introspection/boxed-info.rb +28 -0
- data/lib/gobject-introspection/callable-info.rb +100 -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 +465 -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 +61 -0
- data/test/test-field-type.rb +42 -0
- data/test/test-flags-info.rb +27 -0
- data/test/test-function-info.rb +39 -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 +62 -0
- data/test/test-signal-info.rb +40 -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 +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gibaseinfo.h +120 -0
- data/vendor/local/include/gobject-introspection-1.0/gicallableinfo.h +110 -0
- data/vendor/local/include/gobject-introspection-1.0/giconstantinfo.h +58 -0
- data/vendor/local/include/gobject-introspection-1.0/gienuminfo.h +82 -0
- data/vendor/local/include/gobject-introspection-1.0/gifieldinfo.h +71 -0
- data/vendor/local/include/gobject-introspection-1.0/gifunctioninfo.h +100 -0
- data/vendor/local/include/gobject-introspection-1.0/giinterfaceinfo.h +106 -0
- data/vendor/local/include/gobject-introspection-1.0/giobjectinfo.h +207 -0
- data/vendor/local/include/gobject-introspection-1.0/gipropertyinfo.h +56 -0
- data/vendor/local/include/gobject-introspection-1.0/giregisteredtypeinfo.h +64 -0
- data/vendor/local/include/gobject-introspection-1.0/girepository.h +239 -0
- data/vendor/local/include/gobject-introspection-1.0/girffi.h +104 -0
- data/vendor/local/include/gobject-introspection-1.0/gisignalinfo.h +57 -0
- data/vendor/local/include/gobject-introspection-1.0/gistructinfo.h +77 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypeinfo.h +87 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypelib.h +80 -0
- data/vendor/local/include/gobject-introspection-1.0/gitypes.h +524 -0
- data/vendor/local/include/gobject-introspection-1.0/giunioninfo.h +84 -0
- data/vendor/local/include/gobject-introspection-1.0/giversionmacros.h +128 -0
- data/vendor/local/include/gobject-introspection-1.0/givfuncinfo.h +73 -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/win32-1.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 +76 -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 +2161 -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 +1139 -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 +203 -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/ccompiler.py +202 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/codegen.py +173 -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/collections/__init__.py +23 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.py +305 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.py +120 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docmain.py +72 -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/callback.tmpl +4 -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/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl +60 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl +2 -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/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl +30 -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 +21 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl +9 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl +17 -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 +9 -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 +38 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl +18 -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/field.tmpl +1 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl +47 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl +16 -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 +9 -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 +41 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl +27 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/base.tmpl +20 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/class.tmpl +61 -0
- data/vendor/local/lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl +16 -0
- data/vendor/local/lib/gobject-introspection/giscanner/docwriter.py +958 -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 +338 -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 +529 -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 +593 -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 +612 -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 +240 -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 +1366 -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 +203 -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/scannermain.py +561 -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 +152 -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 +140 -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 +329 -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 +136 -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 +971 -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 +211 -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 +156 -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/lib/pkgconfig/patched +0 -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 +4042 -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 +47221 -0
- data/vendor/local/share/gir-1.0/GModule-2.0.gir +301 -0
- data/vendor/local/share/gir-1.0/GObject-2.0.gir +14733 -0
- data/vendor/local/share/gir-1.0/Gio-2.0.gir +82459 -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/win32-1.0.gir +19 -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 +569 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.c +831 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/annotation.h +301 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.c +57 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/drawable.h +44 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.c +1579 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/everything.h +535 -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 +582 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.c +5426 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gimarshallingtests.h +1948 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/gitestmacros.h +10 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.c +4068 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/regress.h +1415 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/utility.h +102 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.c +47 -0
- data/vendor/local/share/gobject-introspection-1.0/tests/warnlib.h +46 -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 +42 -0
- data/vendor/local/share/man/man1/g-ir-generate.1 +29 -0
- metadata +363 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
prefix=/home/vagrant/ruby-gnome2.win64/gobject-introspection/vendor/local
|
2
|
+
exec_prefix=${prefix}
|
3
|
+
libdir=${exec_prefix}/lib
|
4
|
+
bindir=${exec_prefix}/bin
|
5
|
+
datarootdir=${prefix}/share
|
6
|
+
datadir=${datarootdir}
|
7
|
+
includedir=${prefix}/include
|
8
|
+
|
9
|
+
g_ir_scanner=${bindir}/g-ir-scanner
|
10
|
+
g_ir_compiler=${bindir}/g-ir-compiler.exe
|
11
|
+
g_ir_generate=${bindir}/g-ir-generate.exe
|
12
|
+
girdir=${datadir}/gir-1.0
|
13
|
+
typelibdir=${libdir}/girepository-1.0
|
14
|
+
|
15
|
+
Cflags: -I${includedir}/gobject-introspection-1.0
|
16
|
+
Requires: glib-2.0 gobject-2.0
|
17
|
+
Requires.private: gmodule-no-export-2.0 libffi
|
18
|
+
Libs: -L${libdir} -lgirepository-1.0
|
19
|
+
Libs.private:
|
20
|
+
|
21
|
+
Name: gobject-introspection
|
22
|
+
Description: GObject Introspection
|
23
|
+
Version: 1.42.0
|
File without changes
|
@@ -0,0 +1,96 @@
|
|
1
|
+
dnl -*- mode: autoconf -*-
|
2
|
+
dnl Copyright 2009 Johan Dahlin
|
3
|
+
dnl
|
4
|
+
dnl This file is free software; the author(s) gives unlimited
|
5
|
+
dnl permission to copy and/or distribute it, with or without
|
6
|
+
dnl modifications, as long as this notice is preserved.
|
7
|
+
dnl
|
8
|
+
|
9
|
+
# serial 1
|
10
|
+
|
11
|
+
m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
|
12
|
+
[
|
13
|
+
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
|
14
|
+
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
|
15
|
+
AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
|
16
|
+
|
17
|
+
dnl enable/disable introspection
|
18
|
+
m4_if([$2], [require],
|
19
|
+
[dnl
|
20
|
+
enable_introspection=yes
|
21
|
+
],[dnl
|
22
|
+
AC_ARG_ENABLE(introspection,
|
23
|
+
AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
|
24
|
+
[Enable introspection for this build]),,
|
25
|
+
[enable_introspection=auto])
|
26
|
+
])dnl
|
27
|
+
|
28
|
+
AC_MSG_CHECKING([for gobject-introspection])
|
29
|
+
|
30
|
+
dnl presence/version checking
|
31
|
+
AS_CASE([$enable_introspection],
|
32
|
+
[no], [dnl
|
33
|
+
found_introspection="no (disabled, use --enable-introspection to enable)"
|
34
|
+
],dnl
|
35
|
+
[yes],[dnl
|
36
|
+
PKG_CHECK_EXISTS([gobject-introspection-1.0],,
|
37
|
+
AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
|
38
|
+
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
|
39
|
+
found_introspection=yes,
|
40
|
+
AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
|
41
|
+
],dnl
|
42
|
+
[auto],[dnl
|
43
|
+
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
|
44
|
+
dnl Canonicalize enable_introspection
|
45
|
+
enable_introspection=$found_introspection
|
46
|
+
],dnl
|
47
|
+
[dnl
|
48
|
+
AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
|
49
|
+
])dnl
|
50
|
+
|
51
|
+
AC_MSG_RESULT([$found_introspection])
|
52
|
+
|
53
|
+
INTROSPECTION_SCANNER=
|
54
|
+
INTROSPECTION_COMPILER=
|
55
|
+
INTROSPECTION_GENERATE=
|
56
|
+
INTROSPECTION_GIRDIR=
|
57
|
+
INTROSPECTION_TYPELIBDIR=
|
58
|
+
if test "x$found_introspection" = "xyes"; then
|
59
|
+
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
|
60
|
+
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
|
61
|
+
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
|
62
|
+
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
|
63
|
+
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
|
64
|
+
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
|
65
|
+
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
|
66
|
+
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
|
67
|
+
fi
|
68
|
+
AC_SUBST(INTROSPECTION_SCANNER)
|
69
|
+
AC_SUBST(INTROSPECTION_COMPILER)
|
70
|
+
AC_SUBST(INTROSPECTION_GENERATE)
|
71
|
+
AC_SUBST(INTROSPECTION_GIRDIR)
|
72
|
+
AC_SUBST(INTROSPECTION_TYPELIBDIR)
|
73
|
+
AC_SUBST(INTROSPECTION_CFLAGS)
|
74
|
+
AC_SUBST(INTROSPECTION_LIBS)
|
75
|
+
AC_SUBST(INTROSPECTION_MAKEFILE)
|
76
|
+
|
77
|
+
AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
|
78
|
+
])
|
79
|
+
|
80
|
+
|
81
|
+
dnl Usage:
|
82
|
+
dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
|
83
|
+
|
84
|
+
AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
|
85
|
+
[
|
86
|
+
_GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
|
87
|
+
])
|
88
|
+
|
89
|
+
dnl Usage:
|
90
|
+
dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
|
91
|
+
|
92
|
+
|
93
|
+
AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
|
94
|
+
[
|
95
|
+
_GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
|
96
|
+
])
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<repository version="1.2"
|
3
|
+
xmlns="http://www.gtk.org/introspection/core/1.0"
|
4
|
+
xmlns:c="http://www.gtk.org/introspection/c/1.0"
|
5
|
+
xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
|
6
|
+
c:identifier-prefixes="DBus"
|
7
|
+
c:symbol-prefixes="DBus">
|
8
|
+
<package name="dbus-1"/>
|
9
|
+
<namespace name="DBus"
|
10
|
+
version="1.0"
|
11
|
+
c:prefix="DBus">
|
12
|
+
<enumeration name="BusType" c:type="DBusBusType">
|
13
|
+
<member name="session" value="0" c:identifier="DBUS_BUS_SESSION"/>
|
14
|
+
<member name="system" value="1" c:identifier="DBUS_BUS_SYSTEM"/>
|
15
|
+
<member name="starter" value="2" c:identifier="DBUS_BUS_STARTER"/>
|
16
|
+
</enumeration>
|
17
|
+
<record name="Connection"
|
18
|
+
c:type="DBusConnection"
|
19
|
+
glib:type-name="DBusConnection"
|
20
|
+
glib:get-type="dbus_connection_get_type">
|
21
|
+
</record>
|
22
|
+
<record name="Error" c:type="DBusError">
|
23
|
+
</record>
|
24
|
+
<record name="Message"
|
25
|
+
c:type="DBusMessage">
|
26
|
+
</record>
|
27
|
+
<record name="MessageIter" c:type="DBusMessageIter">
|
28
|
+
</record>
|
29
|
+
<record name="PendingCall" c:type="DBusPendingCall">
|
30
|
+
</record>
|
31
|
+
</namespace>
|
32
|
+
</repository>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<repository version="1.2"
|
3
|
+
xmlns="http://www.gtk.org/introspection/core/1.0"
|
4
|
+
xmlns:c="http://www.gtk.org/introspection/c/1.0"
|
5
|
+
xmlns:glib="http://www.gtk.org/introspection/glib/1.0"
|
6
|
+
c:identifier-prefixes="DBus"
|
7
|
+
c:symbol-prefixes="DBus">
|
8
|
+
<include name="GObject" version="2.0"/>
|
9
|
+
<package name="dbus-glib-1"/>
|
10
|
+
<namespace name="DBusGLib" version="1.0" c:prefix="DBusG">
|
11
|
+
<record name="Connection" c:type="DBusGConnection"/>
|
12
|
+
<record name="MethodInvocation" c:type="DBusGMethodInvocation"/>
|
13
|
+
<class name="Proxy" c:type="DBusGProxy" parent="GObject.Object"
|
14
|
+
glib:type-name="DBusGProxy" glib:get-type="dbus_g_proxy_get_type">
|
15
|
+
</class>
|
16
|
+
<record name="ProxyClass" c:type="DBusGProxyClass"/>
|
17
|
+
</namespace>
|
18
|
+
</repository>
|
@@ -0,0 +1,4042 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!-- This file was automatically generated from C sources - DO NOT EDIT!
|
3
|
+
To affect the contents of this file, edit the original C definitions,
|
4
|
+
and/or use gtk-doc annotations. -->
|
5
|
+
<repository version="1.2"
|
6
|
+
xmlns="http://www.gtk.org/introspection/core/1.0"
|
7
|
+
xmlns:c="http://www.gtk.org/introspection/c/1.0"
|
8
|
+
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
|
9
|
+
<include name="GObject" version="2.0"/>
|
10
|
+
<package name="gobject-introspection-1.0"/>
|
11
|
+
<c:include name="girepository.h"/>
|
12
|
+
<namespace name="GIRepository"
|
13
|
+
version="2.0"
|
14
|
+
shared-library="libgirepository-1.0-1.dll"
|
15
|
+
c:identifier-prefixes="GI"
|
16
|
+
c:symbol-prefixes="g">
|
17
|
+
<alias name="ArgInfo" c:type="GIArgInfo">
|
18
|
+
<doc xml:space="preserve">Represents an argument.</doc>
|
19
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
20
|
+
</alias>
|
21
|
+
<alias name="CallableInfo" c:type="GICallableInfo">
|
22
|
+
<doc xml:space="preserve">Represents a callable, either #GIFunctionInfo, #GICallbackInfo or
|
23
|
+
#GIVFuncInfo.</doc>
|
24
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
25
|
+
</alias>
|
26
|
+
<alias name="CallbackInfo" c:type="GICallbackInfo">
|
27
|
+
<doc xml:space="preserve">Represents a callback, eg arguments and return value.</doc>
|
28
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
29
|
+
</alias>
|
30
|
+
<alias name="ConstantInfo" c:type="GIConstantInfo">
|
31
|
+
<doc xml:space="preserve">Represents a constant.</doc>
|
32
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
33
|
+
</alias>
|
34
|
+
<alias name="EnumInfo" c:type="GIEnumInfo">
|
35
|
+
<doc xml:space="preserve">Represents an enum or a flag.</doc>
|
36
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
37
|
+
</alias>
|
38
|
+
<alias name="FieldInfo" c:type="GIFieldInfo">
|
39
|
+
<doc xml:space="preserve">Represents a field of a #GIStructInfo or a #GIUnionInfo.</doc>
|
40
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
41
|
+
</alias>
|
42
|
+
<alias name="FunctionInfo" c:type="GIFunctionInfo">
|
43
|
+
<doc xml:space="preserve">Represents a function, eg arguments and return value.</doc>
|
44
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
45
|
+
</alias>
|
46
|
+
<alias name="InterfaceInfo" c:type="GIInterfaceInfo">
|
47
|
+
<doc xml:space="preserve">Represents an interface.</doc>
|
48
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
49
|
+
</alias>
|
50
|
+
<alias name="ObjectInfo" c:type="GIObjectInfo">
|
51
|
+
<doc xml:space="preserve">Represents an object.</doc>
|
52
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
53
|
+
</alias>
|
54
|
+
<alias name="PropertyInfo" c:type="GIPropertyInfo">
|
55
|
+
<doc xml:space="preserve">Represents a property of a #GIObjectInfo or a #GIInterfaceInfo.</doc>
|
56
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
57
|
+
</alias>
|
58
|
+
<alias name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo">
|
59
|
+
<doc xml:space="preserve">Represent a registered type.</doc>
|
60
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
61
|
+
</alias>
|
62
|
+
<alias name="SignalInfo" c:type="GISignalInfo">
|
63
|
+
<doc xml:space="preserve">Represents a signal.</doc>
|
64
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
65
|
+
</alias>
|
66
|
+
<alias name="StructInfo" c:type="GIStructInfo">
|
67
|
+
<doc xml:space="preserve">Represents a struct.</doc>
|
68
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
69
|
+
</alias>
|
70
|
+
<alias name="TypeInfo" c:type="GITypeInfo">
|
71
|
+
<doc xml:space="preserve">Represents type information, direction, transfer etc.</doc>
|
72
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
73
|
+
</alias>
|
74
|
+
<alias name="UnionInfo" c:type="GIUnionInfo">
|
75
|
+
<doc xml:space="preserve">Represents a union.</doc>
|
76
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
77
|
+
</alias>
|
78
|
+
<alias name="VFuncInfo" c:type="GIVFuncInfo">
|
79
|
+
<doc xml:space="preserve">Represents a virtual function.</doc>
|
80
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
81
|
+
</alias>
|
82
|
+
<alias name="ValueInfo" c:type="GIValueInfo">
|
83
|
+
<doc xml:space="preserve">Represents a enum value of a #GIEnumInfo.</doc>
|
84
|
+
<type name="BaseInfo" c:type="GIBaseInfo"/>
|
85
|
+
</alias>
|
86
|
+
<union name="Argument" c:type="GIArgument">
|
87
|
+
<doc xml:space="preserve">Stores an argument of varying type</doc>
|
88
|
+
<field name="v_boolean" writable="1">
|
89
|
+
<doc xml:space="preserve">TODO</doc>
|
90
|
+
<type name="gboolean" c:type="gboolean"/>
|
91
|
+
</field>
|
92
|
+
<field name="v_int8" writable="1">
|
93
|
+
<doc xml:space="preserve">TODO</doc>
|
94
|
+
<type name="gint8" c:type="gint8"/>
|
95
|
+
</field>
|
96
|
+
<field name="v_uint8" writable="1">
|
97
|
+
<doc xml:space="preserve">TODO</doc>
|
98
|
+
<type name="guint8" c:type="guint8"/>
|
99
|
+
</field>
|
100
|
+
<field name="v_int16" writable="1">
|
101
|
+
<doc xml:space="preserve">TODO</doc>
|
102
|
+
<type name="gint16" c:type="gint16"/>
|
103
|
+
</field>
|
104
|
+
<field name="v_uint16" writable="1">
|
105
|
+
<doc xml:space="preserve">TODO</doc>
|
106
|
+
<type name="guint16" c:type="guint16"/>
|
107
|
+
</field>
|
108
|
+
<field name="v_int32" writable="1">
|
109
|
+
<doc xml:space="preserve">TODO</doc>
|
110
|
+
<type name="gint32" c:type="gint32"/>
|
111
|
+
</field>
|
112
|
+
<field name="v_uint32" writable="1">
|
113
|
+
<doc xml:space="preserve">TODO</doc>
|
114
|
+
<type name="guint32" c:type="guint32"/>
|
115
|
+
</field>
|
116
|
+
<field name="v_int64" writable="1">
|
117
|
+
<doc xml:space="preserve">TODO</doc>
|
118
|
+
<type name="gint64" c:type="gint64"/>
|
119
|
+
</field>
|
120
|
+
<field name="v_uint64" writable="1">
|
121
|
+
<doc xml:space="preserve">TODO</doc>
|
122
|
+
<type name="guint64" c:type="guint64"/>
|
123
|
+
</field>
|
124
|
+
<field name="v_float" writable="1">
|
125
|
+
<doc xml:space="preserve">TODO</doc>
|
126
|
+
<type name="gfloat" c:type="gfloat"/>
|
127
|
+
</field>
|
128
|
+
<field name="v_double" writable="1">
|
129
|
+
<doc xml:space="preserve">TODO</doc>
|
130
|
+
<type name="gdouble" c:type="gdouble"/>
|
131
|
+
</field>
|
132
|
+
<field name="v_short" writable="1">
|
133
|
+
<doc xml:space="preserve">TODO</doc>
|
134
|
+
<type name="gshort" c:type="gshort"/>
|
135
|
+
</field>
|
136
|
+
<field name="v_ushort" writable="1">
|
137
|
+
<doc xml:space="preserve">TODO</doc>
|
138
|
+
<type name="gushort" c:type="gushort"/>
|
139
|
+
</field>
|
140
|
+
<field name="v_int" writable="1">
|
141
|
+
<doc xml:space="preserve">TODO</doc>
|
142
|
+
<type name="gint" c:type="gint"/>
|
143
|
+
</field>
|
144
|
+
<field name="v_uint" writable="1">
|
145
|
+
<doc xml:space="preserve">TODO</doc>
|
146
|
+
<type name="guint" c:type="guint"/>
|
147
|
+
</field>
|
148
|
+
<field name="v_long" writable="1">
|
149
|
+
<doc xml:space="preserve">TODO</doc>
|
150
|
+
<type name="glong" c:type="glong"/>
|
151
|
+
</field>
|
152
|
+
<field name="v_ulong" writable="1">
|
153
|
+
<doc xml:space="preserve">TODO</doc>
|
154
|
+
<type name="gulong" c:type="gulong"/>
|
155
|
+
</field>
|
156
|
+
<field name="v_ssize" writable="1">
|
157
|
+
<doc xml:space="preserve">TODO</doc>
|
158
|
+
<type name="gssize" c:type="gssize"/>
|
159
|
+
</field>
|
160
|
+
<field name="v_size" writable="1">
|
161
|
+
<doc xml:space="preserve">TODO</doc>
|
162
|
+
<type name="gsize" c:type="gsize"/>
|
163
|
+
</field>
|
164
|
+
<field name="v_string" writable="1">
|
165
|
+
<doc xml:space="preserve">TODO</doc>
|
166
|
+
<type name="utf8" c:type="gchar*"/>
|
167
|
+
</field>
|
168
|
+
<field name="v_pointer" writable="1">
|
169
|
+
<doc xml:space="preserve">TODO</doc>
|
170
|
+
<type name="gpointer" c:type="gpointer"/>
|
171
|
+
</field>
|
172
|
+
</union>
|
173
|
+
<enumeration name="ArrayType" c:type="GIArrayType">
|
174
|
+
<doc xml:space="preserve">The type of array in a #GITypeInfo.</doc>
|
175
|
+
<member name="c" value="0" c:identifier="GI_ARRAY_TYPE_C">
|
176
|
+
<doc xml:space="preserve">a C array, char[] for instance</doc>
|
177
|
+
</member>
|
178
|
+
<member name="array" value="1" c:identifier="GI_ARRAY_TYPE_ARRAY">
|
179
|
+
<doc xml:space="preserve">a @GArray array</doc>
|
180
|
+
</member>
|
181
|
+
<member name="ptr_array"
|
182
|
+
value="2"
|
183
|
+
c:identifier="GI_ARRAY_TYPE_PTR_ARRAY">
|
184
|
+
<doc xml:space="preserve">a #GPtrArray array</doc>
|
185
|
+
</member>
|
186
|
+
<member name="byte_array"
|
187
|
+
value="3"
|
188
|
+
c:identifier="GI_ARRAY_TYPE_BYTE_ARRAY">
|
189
|
+
<doc xml:space="preserve">a #GByteArray array</doc>
|
190
|
+
</member>
|
191
|
+
</enumeration>
|
192
|
+
<record name="AttributeIter" c:type="GIAttributeIter">
|
193
|
+
<doc xml:space="preserve">An opaque structure used to iterate over attributes
|
194
|
+
in a #GIBaseInfo struct.</doc>
|
195
|
+
<field name="data" readable="0" private="1">
|
196
|
+
<type name="gpointer" c:type="gpointer"/>
|
197
|
+
</field>
|
198
|
+
<field name="data2" readable="0" private="1">
|
199
|
+
<type name="gpointer" c:type="gpointer"/>
|
200
|
+
</field>
|
201
|
+
<field name="data3" readable="0" private="1">
|
202
|
+
<type name="gpointer" c:type="gpointer"/>
|
203
|
+
</field>
|
204
|
+
<field name="data4" readable="0" private="1">
|
205
|
+
<type name="gpointer" c:type="gpointer"/>
|
206
|
+
</field>
|
207
|
+
</record>
|
208
|
+
<record name="BaseInfo"
|
209
|
+
c:type="GIBaseInfo"
|
210
|
+
glib:type-name="GIBaseInfo"
|
211
|
+
glib:get-type="g_base_info_gtype_get_type"
|
212
|
+
c:symbol-prefix="base_info_gtype">
|
213
|
+
<doc xml:space="preserve">GIBaseInfo is the common base struct of all other *Info structs
|
214
|
+
accessible through the #GIRepository API.
|
215
|
+
All other structs can be casted to a #GIBaseInfo, for instance:
|
216
|
+
<example>
|
217
|
+
<title>Casting a #GIFunctionInfo to #GIBaseInfo</title>
|
218
|
+
<programlisting>
|
219
|
+
GIFunctionInfo *function_info = ...;
|
220
|
+
GIBaseInfo *info = (GIBaseInfo*)function_info;
|
221
|
+
</programlisting>
|
222
|
+
</example>
|
223
|
+
Most #GIRepository APIs returning a #GIBaseInfo is actually creating a new struct, in other
|
224
|
+
words, g_base_info_unref() has to be called when done accessing the data.
|
225
|
+
GIBaseInfos are normally accessed by calling either
|
226
|
+
g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().
|
227
|
+
|
228
|
+
<example>
|
229
|
+
<title>Getting the Button of the Gtk typelib</title>
|
230
|
+
<programlisting>
|
231
|
+
GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button");
|
232
|
+
... use button_info ...
|
233
|
+
g_base_info_unref(button_info);
|
234
|
+
</programlisting>
|
235
|
+
</example>
|
236
|
+
|
237
|
+
<refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy">
|
238
|
+
<title role="struct_hierarchy.title">Struct hierarchy</title>
|
239
|
+
<synopsis>
|
240
|
+
GIBaseInfo
|
241
|
+
+----<link linkend="gi-GIArgInfo">GIArgInfo</link>
|
242
|
+
+----<link linkend="gi-GICallableInfo">GICallableInfo</link>
|
243
|
+
+----<link linkend="gi-GIConstantInfo">GIConstantInfo</link>
|
244
|
+
+----<link linkend="gi-GIFieldInfo">GIFieldInfo</link>
|
245
|
+
+----<link linkend="gi-GIPropertyInfo">GIPropertyInfo</link>
|
246
|
+
+----<link linkend="gi-GIRegisteredTypeInfo">GIRegisteredTypeInfo</link>
|
247
|
+
+----<link linkend="gi-GITypeInfo">GITypeInfo</link>
|
248
|
+
</synopsis>
|
249
|
+
</refsect1></doc>
|
250
|
+
<field name="dummy1" readable="0" private="1">
|
251
|
+
<type name="gint32" c:type="gint32"/>
|
252
|
+
</field>
|
253
|
+
<field name="dummy2" readable="0" private="1">
|
254
|
+
<type name="gint32" c:type="gint32"/>
|
255
|
+
</field>
|
256
|
+
<field name="dummy3" readable="0" private="1">
|
257
|
+
<type name="gpointer" c:type="gpointer"/>
|
258
|
+
</field>
|
259
|
+
<field name="dummy4" readable="0" private="1">
|
260
|
+
<type name="gpointer" c:type="gpointer"/>
|
261
|
+
</field>
|
262
|
+
<field name="dummy5" readable="0" private="1">
|
263
|
+
<type name="gpointer" c:type="gpointer"/>
|
264
|
+
</field>
|
265
|
+
<field name="dummy6" readable="0" private="1">
|
266
|
+
<type name="guint32" c:type="guint32"/>
|
267
|
+
</field>
|
268
|
+
<field name="dummy7" readable="0" private="1">
|
269
|
+
<type name="guint32" c:type="guint32"/>
|
270
|
+
</field>
|
271
|
+
<field name="padding" readable="0" private="1">
|
272
|
+
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
273
|
+
<type name="gpointer" c:type="gpointer"/>
|
274
|
+
</array>
|
275
|
+
</field>
|
276
|
+
<method name="equal" c:identifier="g_base_info_equal">
|
277
|
+
<doc xml:space="preserve">Compare two #GIBaseInfo.
|
278
|
+
|
279
|
+
Using pointer comparison is not practical since many functions return
|
280
|
+
different instances of #GIBaseInfo that refers to the same part of the
|
281
|
+
TypeLib; use this function instead to do #GIBaseInfo comparisons.</doc>
|
282
|
+
<return-value transfer-ownership="none">
|
283
|
+
<doc xml:space="preserve">%TRUE if and only if @info1 equals @info2.</doc>
|
284
|
+
<type name="gboolean" c:type="gboolean"/>
|
285
|
+
</return-value>
|
286
|
+
<parameters>
|
287
|
+
<instance-parameter name="info1" transfer-ownership="none">
|
288
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
289
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
290
|
+
</instance-parameter>
|
291
|
+
<parameter name="info2" transfer-ownership="none">
|
292
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
293
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
294
|
+
</parameter>
|
295
|
+
</parameters>
|
296
|
+
</method>
|
297
|
+
<method name="get_attribute" c:identifier="g_base_info_get_attribute">
|
298
|
+
<doc xml:space="preserve">Retrieve an arbitrary attribute associated with this node.</doc>
|
299
|
+
<return-value transfer-ownership="none">
|
300
|
+
<doc xml:space="preserve">The value of the attribute, or %NULL if no such attribute exists</doc>
|
301
|
+
<type name="utf8" c:type="const gchar*"/>
|
302
|
+
</return-value>
|
303
|
+
<parameters>
|
304
|
+
<instance-parameter name="info" transfer-ownership="none">
|
305
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
306
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
307
|
+
</instance-parameter>
|
308
|
+
<parameter name="name" transfer-ownership="none">
|
309
|
+
<doc xml:space="preserve">a freeform string naming an attribute</doc>
|
310
|
+
<type name="utf8" c:type="const gchar*"/>
|
311
|
+
</parameter>
|
312
|
+
</parameters>
|
313
|
+
</method>
|
314
|
+
<method name="get_container" c:identifier="g_base_info_get_container">
|
315
|
+
<doc xml:space="preserve">Obtain the container of the @info. The container is the parent
|
316
|
+
GIBaseInfo. For instance, the parent of a #GIFunctionInfo is an
|
317
|
+
#GIObjectInfo or #GIInterfaceInfo.</doc>
|
318
|
+
<return-value transfer-ownership="none">
|
319
|
+
<doc xml:space="preserve">the container</doc>
|
320
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
321
|
+
</return-value>
|
322
|
+
<parameters>
|
323
|
+
<instance-parameter name="info" transfer-ownership="none">
|
324
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
325
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
326
|
+
</instance-parameter>
|
327
|
+
</parameters>
|
328
|
+
</method>
|
329
|
+
<method name="get_name" c:identifier="g_base_info_get_name">
|
330
|
+
<doc xml:space="preserve">Obtain the name of the @info. What the name represents depends on
|
331
|
+
the #GIInfoType of the @info. For instance for #GIFunctionInfo it is
|
332
|
+
the name of the function.</doc>
|
333
|
+
<return-value transfer-ownership="none">
|
334
|
+
<doc xml:space="preserve">the name of @info or %NULL if it lacks a name.</doc>
|
335
|
+
<type name="utf8" c:type="const gchar*"/>
|
336
|
+
</return-value>
|
337
|
+
<parameters>
|
338
|
+
<instance-parameter name="info" transfer-ownership="none">
|
339
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
340
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
341
|
+
</instance-parameter>
|
342
|
+
</parameters>
|
343
|
+
</method>
|
344
|
+
<method name="get_namespace" c:identifier="g_base_info_get_namespace">
|
345
|
+
<doc xml:space="preserve">Obtain the namespace of @info.</doc>
|
346
|
+
<return-value transfer-ownership="none">
|
347
|
+
<doc xml:space="preserve">the namespace</doc>
|
348
|
+
<type name="utf8" c:type="const gchar*"/>
|
349
|
+
</return-value>
|
350
|
+
<parameters>
|
351
|
+
<instance-parameter name="info" transfer-ownership="none">
|
352
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
353
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
354
|
+
</instance-parameter>
|
355
|
+
</parameters>
|
356
|
+
</method>
|
357
|
+
<method name="get_type" c:identifier="g_base_info_get_type">
|
358
|
+
<doc xml:space="preserve">Obtain the info type of the GIBaseInfo.</doc>
|
359
|
+
<return-value transfer-ownership="none">
|
360
|
+
<doc xml:space="preserve">the info type of @info</doc>
|
361
|
+
<type name="InfoType" c:type="GIInfoType"/>
|
362
|
+
</return-value>
|
363
|
+
<parameters>
|
364
|
+
<instance-parameter name="info" transfer-ownership="none">
|
365
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
366
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
367
|
+
</instance-parameter>
|
368
|
+
</parameters>
|
369
|
+
</method>
|
370
|
+
<method name="get_typelib" c:identifier="g_base_info_get_typelib">
|
371
|
+
<doc xml:space="preserve">Obtain the typelib this @info belongs to</doc>
|
372
|
+
<return-value transfer-ownership="none">
|
373
|
+
<doc xml:space="preserve">the typelib.</doc>
|
374
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
375
|
+
</return-value>
|
376
|
+
<parameters>
|
377
|
+
<instance-parameter name="info" transfer-ownership="none">
|
378
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
379
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
380
|
+
</instance-parameter>
|
381
|
+
</parameters>
|
382
|
+
</method>
|
383
|
+
<method name="is_deprecated" c:identifier="g_base_info_is_deprecated">
|
384
|
+
<doc xml:space="preserve">Obtain whether the @info is represents a metadata which is
|
385
|
+
deprecated or not.</doc>
|
386
|
+
<return-value transfer-ownership="none">
|
387
|
+
<doc xml:space="preserve">%TRUE if deprecated</doc>
|
388
|
+
<type name="gboolean" c:type="gboolean"/>
|
389
|
+
</return-value>
|
390
|
+
<parameters>
|
391
|
+
<instance-parameter name="info" transfer-ownership="none">
|
392
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
393
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
394
|
+
</instance-parameter>
|
395
|
+
</parameters>
|
396
|
+
</method>
|
397
|
+
<method name="iterate_attributes"
|
398
|
+
c:identifier="g_base_info_iterate_attributes">
|
399
|
+
<doc xml:space="preserve">Iterate over all attributes associated with this node. The iterator
|
400
|
+
structure is typically stack allocated, and must have its first
|
401
|
+
member initialized to %NULL. Attributes are arbitrary namespaced key–value
|
402
|
+
pairs which can be attached to almost any item. They are intended for use
|
403
|
+
by software higher in the toolchain than bindings, and are distinct from
|
404
|
+
normal GIR annotations.
|
405
|
+
|
406
|
+
Both the @name and @value should be treated as constants
|
407
|
+
and must not be freed.
|
408
|
+
|
409
|
+
<example>
|
410
|
+
<title>Iterating over attributes</title>
|
411
|
+
<programlisting>
|
412
|
+
void
|
413
|
+
print_attributes (GIBaseInfo *info)
|
414
|
+
{
|
415
|
+
GIAttributeIter iter = { 0, };
|
416
|
+
char *name;
|
417
|
+
char *value;
|
418
|
+
while (g_base_info_iterate_attributes (info, &iter, &name, &value))
|
419
|
+
{
|
420
|
+
g_print ("attribute name: %s value: %s", name, value);
|
421
|
+
}
|
422
|
+
}
|
423
|
+
</programlisting>
|
424
|
+
</example></doc>
|
425
|
+
<return-value transfer-ownership="none">
|
426
|
+
<doc xml:space="preserve">%TRUE if there are more attributes</doc>
|
427
|
+
<type name="gboolean" c:type="gboolean"/>
|
428
|
+
</return-value>
|
429
|
+
<parameters>
|
430
|
+
<instance-parameter name="info" transfer-ownership="none">
|
431
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
432
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
433
|
+
</instance-parameter>
|
434
|
+
<parameter name="iterator" transfer-ownership="none">
|
435
|
+
<doc xml:space="preserve">a #GIAttributeIter structure, must be initialized; see below</doc>
|
436
|
+
<type name="AttributeIter" c:type="GIAttributeIter*"/>
|
437
|
+
</parameter>
|
438
|
+
<parameter name="name"
|
439
|
+
direction="out"
|
440
|
+
caller-allocates="0"
|
441
|
+
transfer-ownership="none">
|
442
|
+
<doc xml:space="preserve">Returned name, must not be freed</doc>
|
443
|
+
<type name="utf8" c:type="char**"/>
|
444
|
+
</parameter>
|
445
|
+
<parameter name="value"
|
446
|
+
direction="out"
|
447
|
+
caller-allocates="0"
|
448
|
+
transfer-ownership="none">
|
449
|
+
<doc xml:space="preserve">Returned name, must not be freed</doc>
|
450
|
+
<type name="utf8" c:type="char**"/>
|
451
|
+
</parameter>
|
452
|
+
</parameters>
|
453
|
+
</method>
|
454
|
+
<method name="ref" c:identifier="g_base_info_ref" introspectable="0">
|
455
|
+
<doc xml:space="preserve">Increases the reference count of @info.</doc>
|
456
|
+
<return-value transfer-ownership="full">
|
457
|
+
<doc xml:space="preserve">the same @info.</doc>
|
458
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
459
|
+
</return-value>
|
460
|
+
<parameters>
|
461
|
+
<instance-parameter name="info" transfer-ownership="none">
|
462
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
463
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
464
|
+
</instance-parameter>
|
465
|
+
</parameters>
|
466
|
+
</method>
|
467
|
+
<method name="unref" c:identifier="g_base_info_unref" introspectable="0">
|
468
|
+
<doc xml:space="preserve">Decreases the reference count of @info. When its reference count
|
469
|
+
drops to 0, the info is freed.</doc>
|
470
|
+
<return-value transfer-ownership="none">
|
471
|
+
<type name="none" c:type="void"/>
|
472
|
+
</return-value>
|
473
|
+
<parameters>
|
474
|
+
<instance-parameter name="info" transfer-ownership="none">
|
475
|
+
<doc xml:space="preserve">a #GIBaseInfo</doc>
|
476
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
477
|
+
</instance-parameter>
|
478
|
+
</parameters>
|
479
|
+
</method>
|
480
|
+
</record>
|
481
|
+
<enumeration name="Direction" c:type="GIDirection">
|
482
|
+
<doc xml:space="preserve">The direction of a #GIArgInfo.</doc>
|
483
|
+
<member name="in" value="0" c:identifier="GI_DIRECTION_IN">
|
484
|
+
<doc xml:space="preserve">in argument.</doc>
|
485
|
+
</member>
|
486
|
+
<member name="out" value="1" c:identifier="GI_DIRECTION_OUT">
|
487
|
+
<doc xml:space="preserve">out argument.</doc>
|
488
|
+
</member>
|
489
|
+
<member name="inout" value="2" c:identifier="GI_DIRECTION_INOUT">
|
490
|
+
<doc xml:space="preserve">in and out argument.</doc>
|
491
|
+
</member>
|
492
|
+
</enumeration>
|
493
|
+
<bitfield name="FieldInfoFlags" c:type="GIFieldInfoFlags">
|
494
|
+
<doc xml:space="preserve">Flags for a #GIFieldInfo.</doc>
|
495
|
+
<member name="readable" value="1" c:identifier="GI_FIELD_IS_READABLE">
|
496
|
+
<doc xml:space="preserve">field is readable.</doc>
|
497
|
+
</member>
|
498
|
+
<member name="writable" value="2" c:identifier="GI_FIELD_IS_WRITABLE">
|
499
|
+
<doc xml:space="preserve">field is writable.</doc>
|
500
|
+
</member>
|
501
|
+
</bitfield>
|
502
|
+
<bitfield name="FunctionInfoFlags" c:type="GIFunctionInfoFlags">
|
503
|
+
<doc xml:space="preserve">Flags for a #GIFunctionInfo struct.</doc>
|
504
|
+
<member name="is_method" value="1" c:identifier="GI_FUNCTION_IS_METHOD">
|
505
|
+
<doc xml:space="preserve">is a method.</doc>
|
506
|
+
</member>
|
507
|
+
<member name="is_constructor"
|
508
|
+
value="2"
|
509
|
+
c:identifier="GI_FUNCTION_IS_CONSTRUCTOR">
|
510
|
+
<doc xml:space="preserve">is a constructor.</doc>
|
511
|
+
</member>
|
512
|
+
<member name="is_getter" value="4" c:identifier="GI_FUNCTION_IS_GETTER">
|
513
|
+
<doc xml:space="preserve">is a getter of a #GIPropertyInfo.</doc>
|
514
|
+
</member>
|
515
|
+
<member name="is_setter" value="8" c:identifier="GI_FUNCTION_IS_SETTER">
|
516
|
+
<doc xml:space="preserve">is a setter of a #GIPropertyInfo.</doc>
|
517
|
+
</member>
|
518
|
+
<member name="wraps_vfunc"
|
519
|
+
value="16"
|
520
|
+
c:identifier="GI_FUNCTION_WRAPS_VFUNC">
|
521
|
+
<doc xml:space="preserve">represents a virtual function.</doc>
|
522
|
+
</member>
|
523
|
+
<member name="throws" value="32" c:identifier="GI_FUNCTION_THROWS">
|
524
|
+
<doc xml:space="preserve">the function may throw an error.</doc>
|
525
|
+
</member>
|
526
|
+
</bitfield>
|
527
|
+
<enumeration name="InfoType" c:type="GIInfoType">
|
528
|
+
<doc xml:space="preserve">The type of a GIBaseInfo struct.</doc>
|
529
|
+
<member name="invalid" value="0" c:identifier="GI_INFO_TYPE_INVALID">
|
530
|
+
<doc xml:space="preserve">invalid type</doc>
|
531
|
+
</member>
|
532
|
+
<member name="function" value="1" c:identifier="GI_INFO_TYPE_FUNCTION">
|
533
|
+
<doc xml:space="preserve">function, see #GIFunctionInfo</doc>
|
534
|
+
</member>
|
535
|
+
<member name="callback" value="2" c:identifier="GI_INFO_TYPE_CALLBACK">
|
536
|
+
<doc xml:space="preserve">callback, see #GIFunctionInfo</doc>
|
537
|
+
</member>
|
538
|
+
<member name="struct" value="3" c:identifier="GI_INFO_TYPE_STRUCT">
|
539
|
+
<doc xml:space="preserve">struct, see #GIStructInfo</doc>
|
540
|
+
</member>
|
541
|
+
<member name="boxed" value="4" c:identifier="GI_INFO_TYPE_BOXED">
|
542
|
+
<doc xml:space="preserve">boxed, see #GIStructInfo or #GIUnionInfo</doc>
|
543
|
+
</member>
|
544
|
+
<member name="enum" value="5" c:identifier="GI_INFO_TYPE_ENUM">
|
545
|
+
<doc xml:space="preserve">enum, see #GIEnumInfo</doc>
|
546
|
+
</member>
|
547
|
+
<member name="flags" value="6" c:identifier="GI_INFO_TYPE_FLAGS">
|
548
|
+
<doc xml:space="preserve">flags, see #GIEnumInfo</doc>
|
549
|
+
</member>
|
550
|
+
<member name="object" value="7" c:identifier="GI_INFO_TYPE_OBJECT">
|
551
|
+
<doc xml:space="preserve">object, see #GIObjectInfo</doc>
|
552
|
+
</member>
|
553
|
+
<member name="interface" value="8" c:identifier="GI_INFO_TYPE_INTERFACE">
|
554
|
+
<doc xml:space="preserve">interface, see #GIInterfaceInfo</doc>
|
555
|
+
</member>
|
556
|
+
<member name="constant" value="9" c:identifier="GI_INFO_TYPE_CONSTANT">
|
557
|
+
<doc xml:space="preserve">contant, see #GIConstantInfo</doc>
|
558
|
+
</member>
|
559
|
+
<member name="invalid_0"
|
560
|
+
value="10"
|
561
|
+
c:identifier="GI_INFO_TYPE_INVALID_0">
|
562
|
+
<doc xml:space="preserve">deleted, used to be GI_INFO_TYPE_ERROR_DOMAIN.</doc>
|
563
|
+
</member>
|
564
|
+
<member name="union" value="11" c:identifier="GI_INFO_TYPE_UNION">
|
565
|
+
<doc xml:space="preserve">union, see #GIUnionInfo</doc>
|
566
|
+
</member>
|
567
|
+
<member name="value" value="12" c:identifier="GI_INFO_TYPE_VALUE">
|
568
|
+
<doc xml:space="preserve">enum value, see #GIValueInfo</doc>
|
569
|
+
</member>
|
570
|
+
<member name="signal" value="13" c:identifier="GI_INFO_TYPE_SIGNAL">
|
571
|
+
<doc xml:space="preserve">signal, see #GISignalInfo</doc>
|
572
|
+
</member>
|
573
|
+
<member name="vfunc" value="14" c:identifier="GI_INFO_TYPE_VFUNC">
|
574
|
+
<doc xml:space="preserve">virtual function, see #GIVFuncInfo</doc>
|
575
|
+
</member>
|
576
|
+
<member name="property" value="15" c:identifier="GI_INFO_TYPE_PROPERTY">
|
577
|
+
<doc xml:space="preserve">GObject property, see #GIPropertyInfo</doc>
|
578
|
+
</member>
|
579
|
+
<member name="field" value="16" c:identifier="GI_INFO_TYPE_FIELD">
|
580
|
+
<doc xml:space="preserve">struct or union field, see #GIFieldInfo</doc>
|
581
|
+
</member>
|
582
|
+
<member name="arg" value="17" c:identifier="GI_INFO_TYPE_ARG">
|
583
|
+
<doc xml:space="preserve">argument of a function or callback, see #GIArgInfo</doc>
|
584
|
+
</member>
|
585
|
+
<member name="type" value="18" c:identifier="GI_INFO_TYPE_TYPE">
|
586
|
+
<doc xml:space="preserve">type information, see #GITypeInfo</doc>
|
587
|
+
</member>
|
588
|
+
<member name="unresolved"
|
589
|
+
value="19"
|
590
|
+
c:identifier="GI_INFO_TYPE_UNRESOLVED">
|
591
|
+
<doc xml:space="preserve">unresolved type, a type which is not present in
|
592
|
+
the typelib, or any of its dependencies.</doc>
|
593
|
+
</member>
|
594
|
+
</enumeration>
|
595
|
+
<callback name="ObjectInfoGetValueFunction"
|
596
|
+
c:type="GIObjectInfoGetValueFunction"
|
597
|
+
introspectable="0">
|
598
|
+
<doc xml:space="preserve">Extract an object instance out of @value</doc>
|
599
|
+
<return-value transfer-ownership="full">
|
600
|
+
<doc xml:space="preserve">the object instance</doc>
|
601
|
+
<type name="gpointer" c:type="void*"/>
|
602
|
+
</return-value>
|
603
|
+
<parameters>
|
604
|
+
<parameter name="value" transfer-ownership="none">
|
605
|
+
<doc xml:space="preserve">a #GValue</doc>
|
606
|
+
<type name="GObject.Value" c:type="const GValue*"/>
|
607
|
+
</parameter>
|
608
|
+
</parameters>
|
609
|
+
</callback>
|
610
|
+
<callback name="ObjectInfoRefFunction"
|
611
|
+
c:type="GIObjectInfoRefFunction"
|
612
|
+
introspectable="0">
|
613
|
+
<doc xml:space="preserve">Increases the reference count of an object instance.</doc>
|
614
|
+
<return-value transfer-ownership="full">
|
615
|
+
<doc xml:space="preserve">the object instance</doc>
|
616
|
+
<type name="gpointer" c:type="void*"/>
|
617
|
+
</return-value>
|
618
|
+
<parameters>
|
619
|
+
<parameter name="object" transfer-ownership="none">
|
620
|
+
<doc xml:space="preserve">object instance pointer</doc>
|
621
|
+
<type name="gpointer" c:type="void*"/>
|
622
|
+
</parameter>
|
623
|
+
</parameters>
|
624
|
+
</callback>
|
625
|
+
<callback name="ObjectInfoSetValueFunction"
|
626
|
+
c:type="GIObjectInfoSetValueFunction"
|
627
|
+
introspectable="0">
|
628
|
+
<doc xml:space="preserve">Update @value and attach the object instance pointer @object to it.</doc>
|
629
|
+
<return-value transfer-ownership="none">
|
630
|
+
<type name="none" c:type="void"/>
|
631
|
+
</return-value>
|
632
|
+
<parameters>
|
633
|
+
<parameter name="value" transfer-ownership="none">
|
634
|
+
<doc xml:space="preserve">a #GValue</doc>
|
635
|
+
<type name="GObject.Value" c:type="GValue*"/>
|
636
|
+
</parameter>
|
637
|
+
<parameter name="object" transfer-ownership="none">
|
638
|
+
<doc xml:space="preserve">object instance pointer</doc>
|
639
|
+
<type name="gpointer" c:type="void*"/>
|
640
|
+
</parameter>
|
641
|
+
</parameters>
|
642
|
+
</callback>
|
643
|
+
<callback name="ObjectInfoUnrefFunction"
|
644
|
+
c:type="GIObjectInfoUnrefFunction"
|
645
|
+
introspectable="0">
|
646
|
+
<doc xml:space="preserve">Decreases the reference count of an object instance.</doc>
|
647
|
+
<return-value transfer-ownership="none">
|
648
|
+
<type name="none" c:type="void"/>
|
649
|
+
</return-value>
|
650
|
+
<parameters>
|
651
|
+
<parameter name="object" transfer-ownership="none">
|
652
|
+
<doc xml:space="preserve">object instance pointer</doc>
|
653
|
+
<type name="gpointer" c:type="void*"/>
|
654
|
+
</parameter>
|
655
|
+
</parameters>
|
656
|
+
</callback>
|
657
|
+
<class name="Repository"
|
658
|
+
c:symbol-prefix="irepository"
|
659
|
+
c:type="GIRepository"
|
660
|
+
parent="GObject.Object"
|
661
|
+
glib:type-name="GIRepository"
|
662
|
+
glib:get-type="g_irepository_get_type"
|
663
|
+
glib:type-struct="RepositoryClass">
|
664
|
+
<doc xml:space="preserve">#GIRepository is used to manage repositories of namespaces. Namespaces
|
665
|
+
are represented on disk by type libraries (.typelib files).</doc>
|
666
|
+
<function name="dump" c:identifier="g_irepository_dump" throws="1">
|
667
|
+
<return-value transfer-ownership="none">
|
668
|
+
<type name="gboolean" c:type="gboolean"/>
|
669
|
+
</return-value>
|
670
|
+
<parameters>
|
671
|
+
<parameter name="arg" transfer-ownership="none">
|
672
|
+
<type name="utf8" c:type="const char*"/>
|
673
|
+
</parameter>
|
674
|
+
</parameters>
|
675
|
+
</function>
|
676
|
+
<function name="error_quark" c:identifier="g_irepository_error_quark">
|
677
|
+
<return-value transfer-ownership="none">
|
678
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
679
|
+
</return-value>
|
680
|
+
</function>
|
681
|
+
<function name="get_default" c:identifier="g_irepository_get_default">
|
682
|
+
<doc xml:space="preserve">Returns the singleton process-global default #GIRepository. It is
|
683
|
+
not currently supported to have multiple repositories in a
|
684
|
+
particular process, but this function is provided in the unlikely
|
685
|
+
eventuality that it would become possible, and as a convenience for
|
686
|
+
higher level language bindings to conform to the GObject method
|
687
|
+
call conventions.
|
688
|
+
|
689
|
+
All methods on #GIRepository also accept %NULL as an instance
|
690
|
+
parameter to mean this default repository, which is usually more
|
691
|
+
convenient for C.</doc>
|
692
|
+
<return-value transfer-ownership="none">
|
693
|
+
<doc xml:space="preserve">The global singleton #GIRepository</doc>
|
694
|
+
<type name="Repository" c:type="GIRepository*"/>
|
695
|
+
</return-value>
|
696
|
+
</function>
|
697
|
+
<function name="get_option_group"
|
698
|
+
c:identifier="g_irepository_get_option_group"
|
699
|
+
introspectable="0">
|
700
|
+
<doc xml:space="preserve">Obtain the option group for girepository, it's used
|
701
|
+
by the dumper and for programs that wants to provide
|
702
|
+
introspection information</doc>
|
703
|
+
<return-value transfer-ownership="full">
|
704
|
+
<doc xml:space="preserve">the option group</doc>
|
705
|
+
<type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
|
706
|
+
</return-value>
|
707
|
+
</function>
|
708
|
+
<function name="get_search_path"
|
709
|
+
c:identifier="g_irepository_get_search_path">
|
710
|
+
<doc xml:space="preserve">Returns the current search path #GIRepository will use when loading
|
711
|
+
typelib files. The list is internal to #GIRespository and should not
|
712
|
+
be freed, nor should its string elements.</doc>
|
713
|
+
<return-value transfer-ownership="none">
|
714
|
+
<doc xml:space="preserve">#GSList of strings</doc>
|
715
|
+
<type name="GLib.SList" c:type="GSList*">
|
716
|
+
<type name="filename"/>
|
717
|
+
</type>
|
718
|
+
</return-value>
|
719
|
+
</function>
|
720
|
+
<function name="prepend_library_path"
|
721
|
+
c:identifier="g_irepository_prepend_library_path">
|
722
|
+
<return-value transfer-ownership="none">
|
723
|
+
<type name="none" c:type="void"/>
|
724
|
+
</return-value>
|
725
|
+
<parameters>
|
726
|
+
<parameter name="directory" transfer-ownership="none">
|
727
|
+
<type name="utf8" c:type="const char*"/>
|
728
|
+
</parameter>
|
729
|
+
</parameters>
|
730
|
+
</function>
|
731
|
+
<function name="prepend_search_path"
|
732
|
+
c:identifier="g_irepository_prepend_search_path">
|
733
|
+
<doc xml:space="preserve">Prepends @directory to the typelib search path.
|
734
|
+
See g_irepository_get_search_path().</doc>
|
735
|
+
<return-value transfer-ownership="none">
|
736
|
+
<type name="none" c:type="void"/>
|
737
|
+
</return-value>
|
738
|
+
<parameters>
|
739
|
+
<parameter name="directory" transfer-ownership="none">
|
740
|
+
<doc xml:space="preserve">directory name to prepend to the typelib
|
741
|
+
search path</doc>
|
742
|
+
<type name="filename" c:type="char*"/>
|
743
|
+
</parameter>
|
744
|
+
</parameters>
|
745
|
+
</function>
|
746
|
+
<method name="enumerate_versions"
|
747
|
+
c:identifier="g_irepository_enumerate_versions">
|
748
|
+
<doc xml:space="preserve">Obtain an unordered list of versions (either currently loaded or
|
749
|
+
available) for @namespace_ in this @repository.</doc>
|
750
|
+
<return-value transfer-ownership="full">
|
751
|
+
<doc xml:space="preserve">the array of versions.</doc>
|
752
|
+
<type name="GLib.List" c:type="GList*">
|
753
|
+
<type name="utf8"/>
|
754
|
+
</type>
|
755
|
+
</return-value>
|
756
|
+
<parameters>
|
757
|
+
<instance-parameter name="repository"
|
758
|
+
transfer-ownership="none"
|
759
|
+
nullable="1"
|
760
|
+
allow-none="1">
|
761
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
762
|
+
process-global default #GIRepository</doc>
|
763
|
+
<type name="Repository" c:type="GIRepository*"/>
|
764
|
+
</instance-parameter>
|
765
|
+
<parameter name="namespace_" transfer-ownership="none">
|
766
|
+
<doc xml:space="preserve">GI namespace, e.g. "Gtk"</doc>
|
767
|
+
<type name="utf8" c:type="const gchar*"/>
|
768
|
+
</parameter>
|
769
|
+
</parameters>
|
770
|
+
</method>
|
771
|
+
<method name="find_by_error_domain"
|
772
|
+
c:identifier="g_irepository_find_by_error_domain"
|
773
|
+
version="1.29.17">
|
774
|
+
<doc xml:space="preserve">Searches for the enum type corresponding to the given #GError
|
775
|
+
domain. Before calling this function for a particular namespace,
|
776
|
+
you must call g_irepository_require() once to load the namespace, or
|
777
|
+
otherwise ensure the namespace has already been loaded.</doc>
|
778
|
+
<return-value transfer-ownership="full">
|
779
|
+
<doc xml:space="preserve">#GIEnumInfo representing metadata about @domain's
|
780
|
+
enum type, or %NULL</doc>
|
781
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
782
|
+
</return-value>
|
783
|
+
<parameters>
|
784
|
+
<instance-parameter name="repository"
|
785
|
+
transfer-ownership="none"
|
786
|
+
nullable="1"
|
787
|
+
allow-none="1">
|
788
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
789
|
+
process-global default #GIRepository</doc>
|
790
|
+
<type name="Repository" c:type="GIRepository*"/>
|
791
|
+
</instance-parameter>
|
792
|
+
<parameter name="domain" transfer-ownership="none">
|
793
|
+
<doc xml:space="preserve">a #GError domain</doc>
|
794
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
795
|
+
</parameter>
|
796
|
+
</parameters>
|
797
|
+
</method>
|
798
|
+
<method name="find_by_gtype" c:identifier="g_irepository_find_by_gtype">
|
799
|
+
<doc xml:space="preserve">Searches all loaded namespaces for a particular #GType. Note that
|
800
|
+
in order to locate the metadata, the namespace corresponding to
|
801
|
+
the type must first have been loaded. There is currently no
|
802
|
+
mechanism for determining the namespace which corresponds to an
|
803
|
+
arbitrary GType - thus, this function will operate most reliably
|
804
|
+
when you know the GType to originate from be from a loaded namespace.</doc>
|
805
|
+
<return-value transfer-ownership="full">
|
806
|
+
<doc xml:space="preserve">#GIBaseInfo representing metadata about @type, or %NULL</doc>
|
807
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
808
|
+
</return-value>
|
809
|
+
<parameters>
|
810
|
+
<instance-parameter name="repository"
|
811
|
+
transfer-ownership="none"
|
812
|
+
nullable="1"
|
813
|
+
allow-none="1">
|
814
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
815
|
+
process-global default #GIRepository</doc>
|
816
|
+
<type name="Repository" c:type="GIRepository*"/>
|
817
|
+
</instance-parameter>
|
818
|
+
<parameter name="gtype" transfer-ownership="none">
|
819
|
+
<doc xml:space="preserve">GType to search for</doc>
|
820
|
+
<type name="GType" c:type="GType"/>
|
821
|
+
</parameter>
|
822
|
+
</parameters>
|
823
|
+
</method>
|
824
|
+
<method name="find_by_name" c:identifier="g_irepository_find_by_name">
|
825
|
+
<doc xml:space="preserve">Searches for a particular entry in a namespace. Before calling
|
826
|
+
this function for a particular namespace, you must call
|
827
|
+
g_irepository_require() once to load the namespace, or otherwise
|
828
|
+
ensure the namespace has already been loaded.</doc>
|
829
|
+
<return-value transfer-ownership="full">
|
830
|
+
<doc xml:space="preserve">#GIBaseInfo representing metadata about @name, or %NULL</doc>
|
831
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
832
|
+
</return-value>
|
833
|
+
<parameters>
|
834
|
+
<instance-parameter name="repository"
|
835
|
+
transfer-ownership="none"
|
836
|
+
nullable="1"
|
837
|
+
allow-none="1">
|
838
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
839
|
+
process-global default #GIRepository</doc>
|
840
|
+
<type name="Repository" c:type="GIRepository*"/>
|
841
|
+
</instance-parameter>
|
842
|
+
<parameter name="namespace_" transfer-ownership="none">
|
843
|
+
<doc xml:space="preserve">Namespace which will be searched</doc>
|
844
|
+
<type name="utf8" c:type="const gchar*"/>
|
845
|
+
</parameter>
|
846
|
+
<parameter name="name" transfer-ownership="none">
|
847
|
+
<doc xml:space="preserve">Entry name to find</doc>
|
848
|
+
<type name="utf8" c:type="const gchar*"/>
|
849
|
+
</parameter>
|
850
|
+
</parameters>
|
851
|
+
</method>
|
852
|
+
<method name="get_c_prefix" c:identifier="g_irepository_get_c_prefix">
|
853
|
+
<doc xml:space="preserve">This function returns the "C prefix", or the C level namespace
|
854
|
+
associated with the given introspection namespace. Each C symbol
|
855
|
+
starts with this prefix, as well each #GType in the library.
|
856
|
+
|
857
|
+
Note: The namespace must have already been loaded using a function
|
858
|
+
such as g_irepository_require() before calling this function.</doc>
|
859
|
+
<return-value transfer-ownership="none">
|
860
|
+
<doc xml:space="preserve">C namespace prefix, or %NULL if none associated</doc>
|
861
|
+
<type name="utf8" c:type="const gchar*"/>
|
862
|
+
</return-value>
|
863
|
+
<parameters>
|
864
|
+
<instance-parameter name="repository"
|
865
|
+
transfer-ownership="none"
|
866
|
+
nullable="1"
|
867
|
+
allow-none="1">
|
868
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
869
|
+
process-global default #GIRepository</doc>
|
870
|
+
<type name="Repository" c:type="GIRepository*"/>
|
871
|
+
</instance-parameter>
|
872
|
+
<parameter name="namespace_" transfer-ownership="none">
|
873
|
+
<doc xml:space="preserve">Namespace to inspect</doc>
|
874
|
+
<type name="utf8" c:type="const gchar*"/>
|
875
|
+
</parameter>
|
876
|
+
</parameters>
|
877
|
+
</method>
|
878
|
+
<method name="get_dependencies"
|
879
|
+
c:identifier="g_irepository_get_dependencies">
|
880
|
+
<doc xml:space="preserve">Return an array of all (transitive) versioned dependencies for
|
881
|
+
@namespace_. Returned strings are of the form
|
882
|
+
<code>namespace-version</code>.
|
883
|
+
|
884
|
+
Note: @namespace_ must have already been loaded using a function
|
885
|
+
such as g_irepository_require() before calling this function.</doc>
|
886
|
+
<return-value transfer-ownership="full">
|
887
|
+
<doc xml:space="preserve">Zero-terminated string array of versioned
|
888
|
+
dependencies</doc>
|
889
|
+
<array c:type="gchar**">
|
890
|
+
<type name="utf8"/>
|
891
|
+
</array>
|
892
|
+
</return-value>
|
893
|
+
<parameters>
|
894
|
+
<instance-parameter name="repository"
|
895
|
+
transfer-ownership="none"
|
896
|
+
nullable="1"
|
897
|
+
allow-none="1">
|
898
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
899
|
+
process-global default #GIRepository</doc>
|
900
|
+
<type name="Repository" c:type="GIRepository*"/>
|
901
|
+
</instance-parameter>
|
902
|
+
<parameter name="namespace_" transfer-ownership="none">
|
903
|
+
<doc xml:space="preserve">Namespace of interest</doc>
|
904
|
+
<type name="utf8" c:type="const gchar*"/>
|
905
|
+
</parameter>
|
906
|
+
</parameters>
|
907
|
+
</method>
|
908
|
+
<method name="get_info" c:identifier="g_irepository_get_info">
|
909
|
+
<doc xml:space="preserve">This function returns a particular metadata entry in the
|
910
|
+
given namespace @namespace_. The namespace must have
|
911
|
+
already been loaded before calling this function.
|
912
|
+
See g_irepository_get_n_infos() to find the maximum number of
|
913
|
+
entries.</doc>
|
914
|
+
<return-value transfer-ownership="full">
|
915
|
+
<doc xml:space="preserve">#GIBaseInfo containing metadata</doc>
|
916
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
917
|
+
</return-value>
|
918
|
+
<parameters>
|
919
|
+
<instance-parameter name="repository"
|
920
|
+
transfer-ownership="none"
|
921
|
+
nullable="1"
|
922
|
+
allow-none="1">
|
923
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
924
|
+
process-global default #GIRepository</doc>
|
925
|
+
<type name="Repository" c:type="GIRepository*"/>
|
926
|
+
</instance-parameter>
|
927
|
+
<parameter name="namespace_" transfer-ownership="none">
|
928
|
+
<doc xml:space="preserve">Namespace to inspect</doc>
|
929
|
+
<type name="utf8" c:type="const gchar*"/>
|
930
|
+
</parameter>
|
931
|
+
<parameter name="index" transfer-ownership="none">
|
932
|
+
<doc xml:space="preserve">0-based offset into namespace metadata for entry</doc>
|
933
|
+
<type name="gint" c:type="gint"/>
|
934
|
+
</parameter>
|
935
|
+
</parameters>
|
936
|
+
</method>
|
937
|
+
<method name="get_loaded_namespaces"
|
938
|
+
c:identifier="g_irepository_get_loaded_namespaces">
|
939
|
+
<doc xml:space="preserve">Return the list of currently loaded namespaces.</doc>
|
940
|
+
<return-value transfer-ownership="full">
|
941
|
+
<doc xml:space="preserve">List of namespaces</doc>
|
942
|
+
<array c:type="gchar**">
|
943
|
+
<type name="utf8"/>
|
944
|
+
</array>
|
945
|
+
</return-value>
|
946
|
+
<parameters>
|
947
|
+
<instance-parameter name="repository"
|
948
|
+
transfer-ownership="none"
|
949
|
+
nullable="1"
|
950
|
+
allow-none="1">
|
951
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
952
|
+
process-global default #GIRepository</doc>
|
953
|
+
<type name="Repository" c:type="GIRepository*"/>
|
954
|
+
</instance-parameter>
|
955
|
+
</parameters>
|
956
|
+
</method>
|
957
|
+
<method name="get_n_infos" c:identifier="g_irepository_get_n_infos">
|
958
|
+
<doc xml:space="preserve">This function returns the number of metadata entries in
|
959
|
+
given namespace @namespace_. The namespace must have
|
960
|
+
already been loaded before calling this function.</doc>
|
961
|
+
<return-value transfer-ownership="none">
|
962
|
+
<doc xml:space="preserve">number of metadata entries</doc>
|
963
|
+
<type name="gint" c:type="gint"/>
|
964
|
+
</return-value>
|
965
|
+
<parameters>
|
966
|
+
<instance-parameter name="repository"
|
967
|
+
transfer-ownership="none"
|
968
|
+
nullable="1"
|
969
|
+
allow-none="1">
|
970
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
971
|
+
process-global default #GIRepository</doc>
|
972
|
+
<type name="Repository" c:type="GIRepository*"/>
|
973
|
+
</instance-parameter>
|
974
|
+
<parameter name="namespace_" transfer-ownership="none">
|
975
|
+
<doc xml:space="preserve">Namespace to inspect</doc>
|
976
|
+
<type name="utf8" c:type="const gchar*"/>
|
977
|
+
</parameter>
|
978
|
+
</parameters>
|
979
|
+
</method>
|
980
|
+
<method name="get_shared_library"
|
981
|
+
c:identifier="g_irepository_get_shared_library">
|
982
|
+
<doc xml:space="preserve">This function returns the full path to the shared C library
|
983
|
+
associated with the given namespace @namespace_. There may be no
|
984
|
+
shared library path associated, in which case this function will
|
985
|
+
return %NULL.
|
986
|
+
|
987
|
+
Note: The namespace must have already been loaded using a function
|
988
|
+
such as g_irepository_require() before calling this function.</doc>
|
989
|
+
<return-value transfer-ownership="none">
|
990
|
+
<doc xml:space="preserve">Full path to shared library, or %NULL if none associated</doc>
|
991
|
+
<type name="utf8" c:type="const gchar*"/>
|
992
|
+
</return-value>
|
993
|
+
<parameters>
|
994
|
+
<instance-parameter name="repository"
|
995
|
+
transfer-ownership="none"
|
996
|
+
nullable="1"
|
997
|
+
allow-none="1">
|
998
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
999
|
+
process-global default #GIRepository</doc>
|
1000
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1001
|
+
</instance-parameter>
|
1002
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1003
|
+
<doc xml:space="preserve">Namespace to inspect</doc>
|
1004
|
+
<type name="utf8" c:type="const gchar*"/>
|
1005
|
+
</parameter>
|
1006
|
+
</parameters>
|
1007
|
+
</method>
|
1008
|
+
<method name="get_typelib_path"
|
1009
|
+
c:identifier="g_irepository_get_typelib_path">
|
1010
|
+
<doc xml:space="preserve">If namespace @namespace_ is loaded, return the full path to the
|
1011
|
+
.typelib file it was loaded from. If the typelib for
|
1012
|
+
namespace @namespace_ was included in a shared library, return
|
1013
|
+
the special string "&lt;builtin&gt;".</doc>
|
1014
|
+
<return-value transfer-ownership="none">
|
1015
|
+
<doc xml:space="preserve">Filesystem path (or $lt;builtin$gt;) if successful, %NULL if namespace is not loaded</doc>
|
1016
|
+
<type name="utf8" c:type="const gchar*"/>
|
1017
|
+
</return-value>
|
1018
|
+
<parameters>
|
1019
|
+
<instance-parameter name="repository"
|
1020
|
+
transfer-ownership="none"
|
1021
|
+
nullable="1"
|
1022
|
+
allow-none="1">
|
1023
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1024
|
+
process-global default #GIRepository</doc>
|
1025
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1026
|
+
</instance-parameter>
|
1027
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1028
|
+
<doc xml:space="preserve">GI namespace to use, e.g. "Gtk"</doc>
|
1029
|
+
<type name="utf8" c:type="const gchar*"/>
|
1030
|
+
</parameter>
|
1031
|
+
</parameters>
|
1032
|
+
</method>
|
1033
|
+
<method name="get_version" c:identifier="g_irepository_get_version">
|
1034
|
+
<doc xml:space="preserve">This function returns the loaded version associated with the given
|
1035
|
+
namespace @namespace_.
|
1036
|
+
|
1037
|
+
Note: The namespace must have already been loaded using a function
|
1038
|
+
such as g_irepository_require() before calling this function.</doc>
|
1039
|
+
<return-value transfer-ownership="none">
|
1040
|
+
<doc xml:space="preserve">Loaded version</doc>
|
1041
|
+
<type name="utf8" c:type="const gchar*"/>
|
1042
|
+
</return-value>
|
1043
|
+
<parameters>
|
1044
|
+
<instance-parameter name="repository"
|
1045
|
+
transfer-ownership="none"
|
1046
|
+
nullable="1"
|
1047
|
+
allow-none="1">
|
1048
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1049
|
+
process-global default #GIRepository</doc>
|
1050
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1051
|
+
</instance-parameter>
|
1052
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1053
|
+
<doc xml:space="preserve">Namespace to inspect</doc>
|
1054
|
+
<type name="utf8" c:type="const gchar*"/>
|
1055
|
+
</parameter>
|
1056
|
+
</parameters>
|
1057
|
+
</method>
|
1058
|
+
<method name="is_registered" c:identifier="g_irepository_is_registered">
|
1059
|
+
<doc xml:space="preserve">Check whether a particular namespace (and optionally, a specific
|
1060
|
+
version thereof) is currently loaded. This function is likely to
|
1061
|
+
only be useful in unusual circumstances; in order to act upon
|
1062
|
+
metadata in the namespace, you should call g_irepository_require()
|
1063
|
+
instead which will ensure the namespace is loaded, and return as
|
1064
|
+
quickly as this function will if it has already been loaded.</doc>
|
1065
|
+
<return-value transfer-ownership="none">
|
1066
|
+
<doc xml:space="preserve">%TRUE if namespace-version is loaded, %FALSE otherwise</doc>
|
1067
|
+
<type name="gboolean" c:type="gboolean"/>
|
1068
|
+
</return-value>
|
1069
|
+
<parameters>
|
1070
|
+
<instance-parameter name="repository"
|
1071
|
+
transfer-ownership="none"
|
1072
|
+
nullable="1"
|
1073
|
+
allow-none="1">
|
1074
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1075
|
+
process-global default #GIRepository</doc>
|
1076
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1077
|
+
</instance-parameter>
|
1078
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1079
|
+
<doc xml:space="preserve">Namespace of interest</doc>
|
1080
|
+
<type name="utf8" c:type="const gchar*"/>
|
1081
|
+
</parameter>
|
1082
|
+
<parameter name="version"
|
1083
|
+
transfer-ownership="none"
|
1084
|
+
nullable="1"
|
1085
|
+
allow-none="1">
|
1086
|
+
<doc xml:space="preserve">Required version, may be %NULL for latest</doc>
|
1087
|
+
<type name="utf8" c:type="const gchar*"/>
|
1088
|
+
</parameter>
|
1089
|
+
</parameters>
|
1090
|
+
</method>
|
1091
|
+
<method name="load_typelib"
|
1092
|
+
c:identifier="g_irepository_load_typelib"
|
1093
|
+
throws="1">
|
1094
|
+
<doc xml:space="preserve">TODO</doc>
|
1095
|
+
<return-value transfer-ownership="none">
|
1096
|
+
<type name="utf8" c:type="const char*"/>
|
1097
|
+
</return-value>
|
1098
|
+
<parameters>
|
1099
|
+
<instance-parameter name="repository"
|
1100
|
+
transfer-ownership="none"
|
1101
|
+
nullable="1"
|
1102
|
+
allow-none="1">
|
1103
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1104
|
+
process-global default #GIRepository</doc>
|
1105
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1106
|
+
</instance-parameter>
|
1107
|
+
<parameter name="typelib" transfer-ownership="none">
|
1108
|
+
<doc xml:space="preserve">TODO</doc>
|
1109
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1110
|
+
</parameter>
|
1111
|
+
<parameter name="flags" transfer-ownership="none">
|
1112
|
+
<doc xml:space="preserve">TODO</doc>
|
1113
|
+
<type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
|
1114
|
+
</parameter>
|
1115
|
+
</parameters>
|
1116
|
+
</method>
|
1117
|
+
<method name="require" c:identifier="g_irepository_require" throws="1">
|
1118
|
+
<doc xml:space="preserve">Force the namespace @namespace_ to be loaded if it isn't already.
|
1119
|
+
If @namespace_ is not loaded, this function will search for a
|
1120
|
+
".typelib" file using the repository search path. In addition, a
|
1121
|
+
version @version of namespace may be specified. If @version is
|
1122
|
+
not specified, the latest will be used.</doc>
|
1123
|
+
<return-value transfer-ownership="none">
|
1124
|
+
<doc xml:space="preserve">a pointer to the #GITypelib if successful, %NULL otherwise</doc>
|
1125
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1126
|
+
</return-value>
|
1127
|
+
<parameters>
|
1128
|
+
<instance-parameter name="repository"
|
1129
|
+
transfer-ownership="none"
|
1130
|
+
nullable="1"
|
1131
|
+
allow-none="1">
|
1132
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1133
|
+
process-global default #GIRepository</doc>
|
1134
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1135
|
+
</instance-parameter>
|
1136
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1137
|
+
<doc xml:space="preserve">GI namespace to use, e.g. "Gtk"</doc>
|
1138
|
+
<type name="utf8" c:type="const gchar*"/>
|
1139
|
+
</parameter>
|
1140
|
+
<parameter name="version"
|
1141
|
+
transfer-ownership="none"
|
1142
|
+
nullable="1"
|
1143
|
+
allow-none="1">
|
1144
|
+
<doc xml:space="preserve">Version of namespace, may be %NULL for latest</doc>
|
1145
|
+
<type name="utf8" c:type="const gchar*"/>
|
1146
|
+
</parameter>
|
1147
|
+
<parameter name="flags" transfer-ownership="none">
|
1148
|
+
<doc xml:space="preserve">Set of %GIRepositoryLoadFlags, may be 0</doc>
|
1149
|
+
<type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
|
1150
|
+
</parameter>
|
1151
|
+
</parameters>
|
1152
|
+
</method>
|
1153
|
+
<method name="require_private"
|
1154
|
+
c:identifier="g_irepository_require_private"
|
1155
|
+
throws="1">
|
1156
|
+
<doc xml:space="preserve">Force the namespace @namespace_ to be loaded if it isn't already.
|
1157
|
+
If @namespace_ is not loaded, this function will search for a
|
1158
|
+
".typelib" file within the private directory only. In addition, a
|
1159
|
+
version @version of namespace should be specified. If @version is
|
1160
|
+
not specified, the latest will be used.</doc>
|
1161
|
+
<return-value transfer-ownership="none">
|
1162
|
+
<doc xml:space="preserve">a pointer to the #GITypelib if successful, %NULL otherwise</doc>
|
1163
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1164
|
+
</return-value>
|
1165
|
+
<parameters>
|
1166
|
+
<instance-parameter name="repository"
|
1167
|
+
transfer-ownership="none"
|
1168
|
+
nullable="1"
|
1169
|
+
allow-none="1">
|
1170
|
+
<doc xml:space="preserve">A #GIRepository or %NULL for the singleton
|
1171
|
+
process-global default #GIRepository</doc>
|
1172
|
+
<type name="Repository" c:type="GIRepository*"/>
|
1173
|
+
</instance-parameter>
|
1174
|
+
<parameter name="typelib_dir" transfer-ownership="none">
|
1175
|
+
<doc xml:space="preserve">Private directory where to find the requested typelib</doc>
|
1176
|
+
<type name="utf8" c:type="const gchar*"/>
|
1177
|
+
</parameter>
|
1178
|
+
<parameter name="namespace_" transfer-ownership="none">
|
1179
|
+
<doc xml:space="preserve">GI namespace to use, e.g. "Gtk"</doc>
|
1180
|
+
<type name="utf8" c:type="const gchar*"/>
|
1181
|
+
</parameter>
|
1182
|
+
<parameter name="version"
|
1183
|
+
transfer-ownership="none"
|
1184
|
+
nullable="1"
|
1185
|
+
allow-none="1">
|
1186
|
+
<doc xml:space="preserve">Version of namespace, may be %NULL for latest</doc>
|
1187
|
+
<type name="utf8" c:type="const gchar*"/>
|
1188
|
+
</parameter>
|
1189
|
+
<parameter name="flags" transfer-ownership="none">
|
1190
|
+
<doc xml:space="preserve">Set of %GIRepositoryLoadFlags, may be 0</doc>
|
1191
|
+
<type name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags"/>
|
1192
|
+
</parameter>
|
1193
|
+
</parameters>
|
1194
|
+
</method>
|
1195
|
+
<field name="parent" readable="0" private="1">
|
1196
|
+
<type name="GObject.Object" c:type="GObject"/>
|
1197
|
+
</field>
|
1198
|
+
<field name="priv" readable="0" private="1">
|
1199
|
+
<type name="RepositoryPrivate" c:type="GIRepositoryPrivate*"/>
|
1200
|
+
</field>
|
1201
|
+
</class>
|
1202
|
+
<record name="RepositoryClass"
|
1203
|
+
c:type="GIRepositoryClass"
|
1204
|
+
glib:is-gtype-struct-for="Repository">
|
1205
|
+
<field name="parent" readable="0" private="1">
|
1206
|
+
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
|
1207
|
+
</field>
|
1208
|
+
</record>
|
1209
|
+
<enumeration name="RepositoryError" c:type="GIRepositoryError">
|
1210
|
+
<doc xml:space="preserve">An error code used with #G_IREPOSITORY_ERROR in a #GError returned
|
1211
|
+
from a #GIRepository routine.</doc>
|
1212
|
+
<member name="typelib_not_found"
|
1213
|
+
value="0"
|
1214
|
+
c:identifier="G_IREPOSITORY_ERROR_TYPELIB_NOT_FOUND">
|
1215
|
+
<doc xml:space="preserve">the typelib could not be found.</doc>
|
1216
|
+
</member>
|
1217
|
+
<member name="namespace_mismatch"
|
1218
|
+
value="1"
|
1219
|
+
c:identifier="G_IREPOSITORY_ERROR_NAMESPACE_MISMATCH">
|
1220
|
+
<doc xml:space="preserve">the namespace does not match the
|
1221
|
+
requested namespace.</doc>
|
1222
|
+
</member>
|
1223
|
+
<member name="namespace_version_conflict"
|
1224
|
+
value="2"
|
1225
|
+
c:identifier="G_IREPOSITORY_ERROR_NAMESPACE_VERSION_CONFLICT">
|
1226
|
+
<doc xml:space="preserve">the version of the
|
1227
|
+
typelib does not match the requested version.</doc>
|
1228
|
+
</member>
|
1229
|
+
<member name="library_not_found"
|
1230
|
+
value="3"
|
1231
|
+
c:identifier="G_IREPOSITORY_ERROR_LIBRARY_NOT_FOUND">
|
1232
|
+
<doc xml:space="preserve">the library used by the typelib
|
1233
|
+
could not be found.</doc>
|
1234
|
+
</member>
|
1235
|
+
</enumeration>
|
1236
|
+
<bitfield name="RepositoryLoadFlags" c:type="GIRepositoryLoadFlags">
|
1237
|
+
<doc xml:space="preserve">Flags that control how a typelib is loaded.</doc>
|
1238
|
+
<member name="irepository_load_flag_lazy"
|
1239
|
+
value="1"
|
1240
|
+
c:identifier="G_IREPOSITORY_LOAD_FLAG_LAZY">
|
1241
|
+
<doc xml:space="preserve">Lazily load the typelib.</doc>
|
1242
|
+
</member>
|
1243
|
+
</bitfield>
|
1244
|
+
<record name="RepositoryPrivate"
|
1245
|
+
c:type="GIRepositoryPrivate"
|
1246
|
+
disguised="1">
|
1247
|
+
</record>
|
1248
|
+
<enumeration name="ScopeType" c:type="GIScopeType">
|
1249
|
+
<doc xml:space="preserve">Scope type of a #GIArgInfo representing callback, determines how the
|
1250
|
+
callback is invoked and is used to decided when the invoke structs
|
1251
|
+
can be freed.</doc>
|
1252
|
+
<member name="invalid" value="0" c:identifier="GI_SCOPE_TYPE_INVALID">
|
1253
|
+
<doc xml:space="preserve">The argument is not of callback type.</doc>
|
1254
|
+
</member>
|
1255
|
+
<member name="call" value="1" c:identifier="GI_SCOPE_TYPE_CALL">
|
1256
|
+
<doc xml:space="preserve">The callback and associated user_data is only
|
1257
|
+
used during the call to this function.</doc>
|
1258
|
+
</member>
|
1259
|
+
<member name="async" value="2" c:identifier="GI_SCOPE_TYPE_ASYNC">
|
1260
|
+
<doc xml:space="preserve">The callback and associated user_data is
|
1261
|
+
only used until the callback is invoked, and the callback.
|
1262
|
+
is invoked always exactly once.</doc>
|
1263
|
+
</member>
|
1264
|
+
<member name="notified" value="3" c:identifier="GI_SCOPE_TYPE_NOTIFIED">
|
1265
|
+
<doc xml:space="preserve">The callback and and associated
|
1266
|
+
user_data is used until the caller is notfied via the destroy_notify.</doc>
|
1267
|
+
</member>
|
1268
|
+
</enumeration>
|
1269
|
+
<enumeration name="Transfer" c:type="GITransfer">
|
1270
|
+
<doc xml:space="preserve">The transfer is the exchange of data between two parts, from the callee to
|
1271
|
+
the caller. The callee is either a function/method/signal or an
|
1272
|
+
object/interface where a property is defined. The caller is the side
|
1273
|
+
accessing a property or calling a function.
|
1274
|
+
#GITransfer specifies who's responsible for freeing the resources after the
|
1275
|
+
ownership transfer is complete. In case of a containing type such as a list,
|
1276
|
+
an array or a hash table the container itself is specified differently from
|
1277
|
+
the items within the container itself. Each container is freed differently,
|
1278
|
+
check the documentation for the types themselves for information on how to
|
1279
|
+
free them.</doc>
|
1280
|
+
<member name="nothing" value="0" c:identifier="GI_TRANSFER_NOTHING">
|
1281
|
+
<doc xml:space="preserve">transfer nothing from the callee (function or the type
|
1282
|
+
instance the property belongs to) to the caller. The callee retains the
|
1283
|
+
ownership of the transfer and the caller doesn't need to do anything to free
|
1284
|
+
up the resources of this transfer.</doc>
|
1285
|
+
</member>
|
1286
|
+
<member name="container" value="1" c:identifier="GI_TRANSFER_CONTAINER">
|
1287
|
+
<doc xml:space="preserve">transfer the container (list, array, hash table) from
|
1288
|
+
the callee to the caller. The callee retains the ownership of the individual
|
1289
|
+
items in the container and the caller has to free up the container resources
|
1290
|
+
(g_list_free()/g_hash_table_destroy() etc) of this transfer.</doc>
|
1291
|
+
</member>
|
1292
|
+
<member name="everything"
|
1293
|
+
value="2"
|
1294
|
+
c:identifier="GI_TRANSFER_EVERYTHING">
|
1295
|
+
<doc xml:space="preserve">transfer everything, eg the container and its
|
1296
|
+
contents from the callee to the caller. This is the case when the callee
|
1297
|
+
creates a copy of all the data it returns. The caller is responsible for
|
1298
|
+
cleaning up the container and item resources of this transfer.</doc>
|
1299
|
+
</member>
|
1300
|
+
</enumeration>
|
1301
|
+
<enumeration name="TypeTag" c:type="GITypeTag">
|
1302
|
+
<doc xml:space="preserve">The type tag of a #GITypeInfo.</doc>
|
1303
|
+
<member name="void" value="0" c:identifier="GI_TYPE_TAG_VOID">
|
1304
|
+
<doc xml:space="preserve">void</doc>
|
1305
|
+
</member>
|
1306
|
+
<member name="boolean" value="1" c:identifier="GI_TYPE_TAG_BOOLEAN">
|
1307
|
+
<doc xml:space="preserve">boolean</doc>
|
1308
|
+
</member>
|
1309
|
+
<member name="int8" value="2" c:identifier="GI_TYPE_TAG_INT8">
|
1310
|
+
<doc xml:space="preserve">8-bit signed integer</doc>
|
1311
|
+
</member>
|
1312
|
+
<member name="uint8" value="3" c:identifier="GI_TYPE_TAG_UINT8">
|
1313
|
+
<doc xml:space="preserve">8-bit unsigned integer</doc>
|
1314
|
+
</member>
|
1315
|
+
<member name="int16" value="4" c:identifier="GI_TYPE_TAG_INT16">
|
1316
|
+
<doc xml:space="preserve">16-bit signed integer</doc>
|
1317
|
+
</member>
|
1318
|
+
<member name="uint16" value="5" c:identifier="GI_TYPE_TAG_UINT16">
|
1319
|
+
<doc xml:space="preserve">16-bit unsigned integer</doc>
|
1320
|
+
</member>
|
1321
|
+
<member name="int32" value="6" c:identifier="GI_TYPE_TAG_INT32">
|
1322
|
+
<doc xml:space="preserve">32-bit signed integer</doc>
|
1323
|
+
</member>
|
1324
|
+
<member name="uint32" value="7" c:identifier="GI_TYPE_TAG_UINT32">
|
1325
|
+
<doc xml:space="preserve">32-bit unsigned integer</doc>
|
1326
|
+
</member>
|
1327
|
+
<member name="int64" value="8" c:identifier="GI_TYPE_TAG_INT64">
|
1328
|
+
<doc xml:space="preserve">64-bit signed integer</doc>
|
1329
|
+
</member>
|
1330
|
+
<member name="uint64" value="9" c:identifier="GI_TYPE_TAG_UINT64">
|
1331
|
+
<doc xml:space="preserve">64-bit unsigned integer</doc>
|
1332
|
+
</member>
|
1333
|
+
<member name="float" value="10" c:identifier="GI_TYPE_TAG_FLOAT">
|
1334
|
+
<doc xml:space="preserve">float</doc>
|
1335
|
+
</member>
|
1336
|
+
<member name="double" value="11" c:identifier="GI_TYPE_TAG_DOUBLE">
|
1337
|
+
<doc xml:space="preserve">double floating point</doc>
|
1338
|
+
</member>
|
1339
|
+
<member name="gtype" value="12" c:identifier="GI_TYPE_TAG_GTYPE">
|
1340
|
+
<doc xml:space="preserve">a #GType</doc>
|
1341
|
+
</member>
|
1342
|
+
<member name="utf8" value="13" c:identifier="GI_TYPE_TAG_UTF8">
|
1343
|
+
<doc xml:space="preserve">a UTF-8 encoded string</doc>
|
1344
|
+
</member>
|
1345
|
+
<member name="filename" value="14" c:identifier="GI_TYPE_TAG_FILENAME">
|
1346
|
+
<doc xml:space="preserve">a filename, encoded in the same encoding
|
1347
|
+
as the native filesystem is using.</doc>
|
1348
|
+
</member>
|
1349
|
+
<member name="array" value="15" c:identifier="GI_TYPE_TAG_ARRAY">
|
1350
|
+
<doc xml:space="preserve">an array</doc>
|
1351
|
+
</member>
|
1352
|
+
<member name="interface" value="16" c:identifier="GI_TYPE_TAG_INTERFACE">
|
1353
|
+
<doc xml:space="preserve">an extended interface object</doc>
|
1354
|
+
</member>
|
1355
|
+
<member name="glist" value="17" c:identifier="GI_TYPE_TAG_GLIST">
|
1356
|
+
<doc xml:space="preserve">a #GList</doc>
|
1357
|
+
</member>
|
1358
|
+
<member name="gslist" value="18" c:identifier="GI_TYPE_TAG_GSLIST">
|
1359
|
+
<doc xml:space="preserve">a #GSList</doc>
|
1360
|
+
</member>
|
1361
|
+
<member name="ghash" value="19" c:identifier="GI_TYPE_TAG_GHASH">
|
1362
|
+
<doc xml:space="preserve">a #GHashTable</doc>
|
1363
|
+
</member>
|
1364
|
+
<member name="error" value="20" c:identifier="GI_TYPE_TAG_ERROR">
|
1365
|
+
<doc xml:space="preserve">a #GError</doc>
|
1366
|
+
</member>
|
1367
|
+
<member name="unichar" value="21" c:identifier="GI_TYPE_TAG_UNICHAR">
|
1368
|
+
<doc xml:space="preserve">Unicode character</doc>
|
1369
|
+
</member>
|
1370
|
+
</enumeration>
|
1371
|
+
<record name="Typelib" c:type="GITypelib" disguised="1">
|
1372
|
+
<doc xml:space="preserve">TODO</doc>
|
1373
|
+
<method name="free" c:identifier="g_typelib_free">
|
1374
|
+
<return-value transfer-ownership="none">
|
1375
|
+
<type name="none" c:type="void"/>
|
1376
|
+
</return-value>
|
1377
|
+
<parameters>
|
1378
|
+
<instance-parameter name="typelib" transfer-ownership="none">
|
1379
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1380
|
+
</instance-parameter>
|
1381
|
+
</parameters>
|
1382
|
+
</method>
|
1383
|
+
<method name="get_namespace" c:identifier="g_typelib_get_namespace">
|
1384
|
+
<return-value transfer-ownership="none">
|
1385
|
+
<type name="utf8" c:type="const gchar*"/>
|
1386
|
+
</return-value>
|
1387
|
+
<parameters>
|
1388
|
+
<instance-parameter name="typelib" transfer-ownership="none">
|
1389
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1390
|
+
</instance-parameter>
|
1391
|
+
</parameters>
|
1392
|
+
</method>
|
1393
|
+
<method name="symbol" c:identifier="g_typelib_symbol">
|
1394
|
+
<return-value transfer-ownership="none">
|
1395
|
+
<type name="gboolean" c:type="gboolean"/>
|
1396
|
+
</return-value>
|
1397
|
+
<parameters>
|
1398
|
+
<instance-parameter name="typelib" transfer-ownership="none">
|
1399
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1400
|
+
</instance-parameter>
|
1401
|
+
<parameter name="symbol_name" transfer-ownership="none">
|
1402
|
+
<type name="utf8" c:type="const gchar*"/>
|
1403
|
+
</parameter>
|
1404
|
+
<parameter name="symbol" transfer-ownership="none">
|
1405
|
+
<type name="gpointer" c:type="gpointer*"/>
|
1406
|
+
</parameter>
|
1407
|
+
</parameters>
|
1408
|
+
</method>
|
1409
|
+
<function name="new_from_const_memory"
|
1410
|
+
c:identifier="g_typelib_new_from_const_memory"
|
1411
|
+
introspectable="0"
|
1412
|
+
throws="1">
|
1413
|
+
<return-value>
|
1414
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1415
|
+
</return-value>
|
1416
|
+
<parameters>
|
1417
|
+
<parameter name="memory" transfer-ownership="none">
|
1418
|
+
<type name="guint8" c:type="const guint8*"/>
|
1419
|
+
</parameter>
|
1420
|
+
<parameter name="len" transfer-ownership="none">
|
1421
|
+
<type name="gsize" c:type="gsize"/>
|
1422
|
+
</parameter>
|
1423
|
+
</parameters>
|
1424
|
+
</function>
|
1425
|
+
<function name="new_from_mapped_file"
|
1426
|
+
c:identifier="g_typelib_new_from_mapped_file"
|
1427
|
+
introspectable="0"
|
1428
|
+
throws="1">
|
1429
|
+
<return-value>
|
1430
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1431
|
+
</return-value>
|
1432
|
+
<parameters>
|
1433
|
+
<parameter name="mfile" transfer-ownership="none">
|
1434
|
+
<type name="GLib.MappedFile" c:type="GMappedFile*"/>
|
1435
|
+
</parameter>
|
1436
|
+
</parameters>
|
1437
|
+
</function>
|
1438
|
+
<function name="new_from_memory"
|
1439
|
+
c:identifier="g_typelib_new_from_memory"
|
1440
|
+
introspectable="0"
|
1441
|
+
throws="1">
|
1442
|
+
<return-value>
|
1443
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
1444
|
+
</return-value>
|
1445
|
+
<parameters>
|
1446
|
+
<parameter name="memory" transfer-ownership="none">
|
1447
|
+
<type name="guint8" c:type="guint8*"/>
|
1448
|
+
</parameter>
|
1449
|
+
<parameter name="len" transfer-ownership="none">
|
1450
|
+
<type name="gsize" c:type="gsize"/>
|
1451
|
+
</parameter>
|
1452
|
+
</parameters>
|
1453
|
+
</function>
|
1454
|
+
</record>
|
1455
|
+
<record name="UnresolvedInfo" c:type="GIUnresolvedInfo" disguised="1">
|
1456
|
+
<doc xml:space="preserve">Represents a unresolved type in a typelib.</doc>
|
1457
|
+
</record>
|
1458
|
+
<bitfield name="VFuncInfoFlags" c:type="GIVFuncInfoFlags">
|
1459
|
+
<doc xml:space="preserve">Flags of a #GIVFuncInfo struct.</doc>
|
1460
|
+
<member name="must_chain_up"
|
1461
|
+
value="1"
|
1462
|
+
c:identifier="GI_VFUNC_MUST_CHAIN_UP">
|
1463
|
+
<doc xml:space="preserve">chains up to the parent type</doc>
|
1464
|
+
</member>
|
1465
|
+
<member name="must_override"
|
1466
|
+
value="2"
|
1467
|
+
c:identifier="GI_VFUNC_MUST_OVERRIDE">
|
1468
|
+
<doc xml:space="preserve">overrides</doc>
|
1469
|
+
</member>
|
1470
|
+
<member name="must_not_override"
|
1471
|
+
value="4"
|
1472
|
+
c:identifier="GI_VFUNC_MUST_NOT_OVERRIDE">
|
1473
|
+
<doc xml:space="preserve">does not override</doc>
|
1474
|
+
</member>
|
1475
|
+
<member name="throws" value="8" c:identifier="GI_VFUNC_THROWS">
|
1476
|
+
<doc xml:space="preserve">Includes a #GError</doc>
|
1477
|
+
</member>
|
1478
|
+
</bitfield>
|
1479
|
+
<function name="arg_info_get_closure"
|
1480
|
+
c:identifier="g_arg_info_get_closure">
|
1481
|
+
<doc xml:space="preserve">Obtain the index of the user data argument. This is only valid
|
1482
|
+
for arguments which are callbacks.</doc>
|
1483
|
+
<return-value transfer-ownership="none">
|
1484
|
+
<doc xml:space="preserve">index of the user data argument or -1 if there is none</doc>
|
1485
|
+
<type name="gint" c:type="gint"/>
|
1486
|
+
</return-value>
|
1487
|
+
<parameters>
|
1488
|
+
<parameter name="info" transfer-ownership="none">
|
1489
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1490
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1491
|
+
</parameter>
|
1492
|
+
</parameters>
|
1493
|
+
</function>
|
1494
|
+
<function name="arg_info_get_destroy"
|
1495
|
+
c:identifier="g_arg_info_get_destroy">
|
1496
|
+
<doc xml:space="preserve">Obtains the index of the #GDestroyNotify argument. This is only valid
|
1497
|
+
for arguments which are callbacks.</doc>
|
1498
|
+
<return-value transfer-ownership="none">
|
1499
|
+
<doc xml:space="preserve">index of the #GDestroyNotify argument or -1 if there is none</doc>
|
1500
|
+
<type name="gint" c:type="gint"/>
|
1501
|
+
</return-value>
|
1502
|
+
<parameters>
|
1503
|
+
<parameter name="info" transfer-ownership="none">
|
1504
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1505
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1506
|
+
</parameter>
|
1507
|
+
</parameters>
|
1508
|
+
</function>
|
1509
|
+
<function name="arg_info_get_direction"
|
1510
|
+
c:identifier="g_arg_info_get_direction">
|
1511
|
+
<doc xml:space="preserve">Obtain the direction of the argument. Check #GIDirection for possible
|
1512
|
+
direction values.</doc>
|
1513
|
+
<return-value transfer-ownership="none">
|
1514
|
+
<doc xml:space="preserve">the direction</doc>
|
1515
|
+
<type name="Direction" c:type="GIDirection"/>
|
1516
|
+
</return-value>
|
1517
|
+
<parameters>
|
1518
|
+
<parameter name="info" transfer-ownership="none">
|
1519
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1520
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1521
|
+
</parameter>
|
1522
|
+
</parameters>
|
1523
|
+
</function>
|
1524
|
+
<function name="arg_info_get_ownership_transfer"
|
1525
|
+
c:identifier="g_arg_info_get_ownership_transfer">
|
1526
|
+
<doc xml:space="preserve">Obtain the ownership transfer for this argument.
|
1527
|
+
#GITransfer contains a list of possible values.</doc>
|
1528
|
+
<return-value transfer-ownership="none">
|
1529
|
+
<doc xml:space="preserve">the transfer</doc>
|
1530
|
+
<type name="Transfer" c:type="GITransfer"/>
|
1531
|
+
</return-value>
|
1532
|
+
<parameters>
|
1533
|
+
<parameter name="info" transfer-ownership="none">
|
1534
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1535
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1536
|
+
</parameter>
|
1537
|
+
</parameters>
|
1538
|
+
</function>
|
1539
|
+
<function name="arg_info_get_scope" c:identifier="g_arg_info_get_scope">
|
1540
|
+
<doc xml:space="preserve">Obtain the scope type for this argument. The scope type explains
|
1541
|
+
how a callback is going to be invoked, most importantly when
|
1542
|
+
the resources required to invoke it can be freed.
|
1543
|
+
#GIScopeType contains a list of possible values.</doc>
|
1544
|
+
<return-value transfer-ownership="none">
|
1545
|
+
<doc xml:space="preserve">the scope type</doc>
|
1546
|
+
<type name="ScopeType" c:type="GIScopeType"/>
|
1547
|
+
</return-value>
|
1548
|
+
<parameters>
|
1549
|
+
<parameter name="info" transfer-ownership="none">
|
1550
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1551
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1552
|
+
</parameter>
|
1553
|
+
</parameters>
|
1554
|
+
</function>
|
1555
|
+
<function name="arg_info_get_type" c:identifier="g_arg_info_get_type">
|
1556
|
+
<doc xml:space="preserve">Obtain the type information for @info.</doc>
|
1557
|
+
<return-value transfer-ownership="full">
|
1558
|
+
<doc xml:space="preserve">the #GITypeInfo holding the type
|
1559
|
+
information for @info, free it with g_base_info_unref()
|
1560
|
+
when done.</doc>
|
1561
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
1562
|
+
</return-value>
|
1563
|
+
<parameters>
|
1564
|
+
<parameter name="info" transfer-ownership="none">
|
1565
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1566
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1567
|
+
</parameter>
|
1568
|
+
</parameters>
|
1569
|
+
</function>
|
1570
|
+
<function name="arg_info_is_caller_allocates"
|
1571
|
+
c:identifier="g_arg_info_is_caller_allocates">
|
1572
|
+
<doc xml:space="preserve">Obtain if the argument is a pointer to a struct or object that will
|
1573
|
+
receive an output of a function. The default assumption for
|
1574
|
+
%GI_DIRECTION_OUT arguments which have allocation is that the
|
1575
|
+
callee allocates; if this is %TRUE, then the caller must allocate.</doc>
|
1576
|
+
<return-value transfer-ownership="none">
|
1577
|
+
<doc xml:space="preserve">%TRUE if caller is required to have allocated the argument</doc>
|
1578
|
+
<type name="gboolean" c:type="gboolean"/>
|
1579
|
+
</return-value>
|
1580
|
+
<parameters>
|
1581
|
+
<parameter name="info" transfer-ownership="none">
|
1582
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1583
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1584
|
+
</parameter>
|
1585
|
+
</parameters>
|
1586
|
+
</function>
|
1587
|
+
<function name="arg_info_is_optional"
|
1588
|
+
c:identifier="g_arg_info_is_optional">
|
1589
|
+
<doc xml:space="preserve">Obtain if the argument is optional. For 'out' arguments this means
|
1590
|
+
that you can pass %NULL in order to ignore the result.</doc>
|
1591
|
+
<return-value transfer-ownership="none">
|
1592
|
+
<doc xml:space="preserve">%TRUE if it is an optional argument</doc>
|
1593
|
+
<type name="gboolean" c:type="gboolean"/>
|
1594
|
+
</return-value>
|
1595
|
+
<parameters>
|
1596
|
+
<parameter name="info" transfer-ownership="none">
|
1597
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1598
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1599
|
+
</parameter>
|
1600
|
+
</parameters>
|
1601
|
+
</function>
|
1602
|
+
<function name="arg_info_is_return_value"
|
1603
|
+
c:identifier="g_arg_info_is_return_value">
|
1604
|
+
<doc xml:space="preserve">Obtain if the argument is a return value. It can either be a
|
1605
|
+
parameter or a return value.</doc>
|
1606
|
+
<return-value transfer-ownership="none">
|
1607
|
+
<doc xml:space="preserve">%TRUE if it is a return value</doc>
|
1608
|
+
<type name="gboolean" c:type="gboolean"/>
|
1609
|
+
</return-value>
|
1610
|
+
<parameters>
|
1611
|
+
<parameter name="info" transfer-ownership="none">
|
1612
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1613
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1614
|
+
</parameter>
|
1615
|
+
</parameters>
|
1616
|
+
</function>
|
1617
|
+
<function name="arg_info_is_skip"
|
1618
|
+
c:identifier="g_arg_info_is_skip"
|
1619
|
+
version="1.29.0">
|
1620
|
+
<doc xml:space="preserve">Obtain if an argument is only useful in C.</doc>
|
1621
|
+
<return-value transfer-ownership="none">
|
1622
|
+
<doc xml:space="preserve">%TRUE if argument is only useful in C.</doc>
|
1623
|
+
<type name="gboolean" c:type="gboolean"/>
|
1624
|
+
</return-value>
|
1625
|
+
<parameters>
|
1626
|
+
<parameter name="info" transfer-ownership="none">
|
1627
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1628
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1629
|
+
</parameter>
|
1630
|
+
</parameters>
|
1631
|
+
</function>
|
1632
|
+
<function name="arg_info_load_type" c:identifier="g_arg_info_load_type">
|
1633
|
+
<doc xml:space="preserve">Obtain information about a the type of given argument @info; this
|
1634
|
+
function is a variant of g_arg_info_get_type() designed for stack
|
1635
|
+
allocation.
|
1636
|
+
|
1637
|
+
The initialized @type must not be referenced after @info is deallocated.</doc>
|
1638
|
+
<return-value transfer-ownership="none">
|
1639
|
+
<type name="none" c:type="void"/>
|
1640
|
+
</return-value>
|
1641
|
+
<parameters>
|
1642
|
+
<parameter name="info" transfer-ownership="none">
|
1643
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1644
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1645
|
+
</parameter>
|
1646
|
+
<parameter name="type"
|
1647
|
+
direction="out"
|
1648
|
+
caller-allocates="1"
|
1649
|
+
transfer-ownership="none">
|
1650
|
+
<doc xml:space="preserve">Initialized with information about type of @info</doc>
|
1651
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
1652
|
+
</parameter>
|
1653
|
+
</parameters>
|
1654
|
+
</function>
|
1655
|
+
<function name="arg_info_may_be_null"
|
1656
|
+
c:identifier="g_arg_info_may_be_null">
|
1657
|
+
<doc xml:space="preserve">Obtain if the type of the argument includes the possibility of %NULL.
|
1658
|
+
For 'in' values this means that %NULL is a valid value. For 'out'
|
1659
|
+
values, this means that %NULL may be returned.
|
1660
|
+
|
1661
|
+
See also g_arg_info_is_optional().</doc>
|
1662
|
+
<return-value transfer-ownership="none">
|
1663
|
+
<doc xml:space="preserve">%TRUE if the value may be %NULL</doc>
|
1664
|
+
<type name="gboolean" c:type="gboolean"/>
|
1665
|
+
</return-value>
|
1666
|
+
<parameters>
|
1667
|
+
<parameter name="info" transfer-ownership="none">
|
1668
|
+
<doc xml:space="preserve">a #GIArgInfo</doc>
|
1669
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1670
|
+
</parameter>
|
1671
|
+
</parameters>
|
1672
|
+
</function>
|
1673
|
+
<function name="callable_info_can_throw_gerror"
|
1674
|
+
c:identifier="g_callable_info_can_throw_gerror"
|
1675
|
+
version="1.34">
|
1676
|
+
<doc xml:space="preserve">TODO</doc>
|
1677
|
+
<return-value transfer-ownership="none">
|
1678
|
+
<doc xml:space="preserve">%TRUE if this #GICallableInfo can throw a #GError</doc>
|
1679
|
+
<type name="gboolean" c:type="gboolean"/>
|
1680
|
+
</return-value>
|
1681
|
+
<parameters>
|
1682
|
+
<parameter name="info" transfer-ownership="none">
|
1683
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1684
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1685
|
+
</parameter>
|
1686
|
+
</parameters>
|
1687
|
+
</function>
|
1688
|
+
<function name="callable_info_get_arg"
|
1689
|
+
c:identifier="g_callable_info_get_arg">
|
1690
|
+
<doc xml:space="preserve">Obtain information about a particular argument of this callable.</doc>
|
1691
|
+
<return-value transfer-ownership="full">
|
1692
|
+
<doc xml:space="preserve">the #GIArgInfo. Free it with
|
1693
|
+
g_base_info_unref() when done.</doc>
|
1694
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1695
|
+
</return-value>
|
1696
|
+
<parameters>
|
1697
|
+
<parameter name="info" transfer-ownership="none">
|
1698
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1699
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1700
|
+
</parameter>
|
1701
|
+
<parameter name="n" transfer-ownership="none">
|
1702
|
+
<doc xml:space="preserve">the argument index to fetch</doc>
|
1703
|
+
<type name="gint" c:type="gint"/>
|
1704
|
+
</parameter>
|
1705
|
+
</parameters>
|
1706
|
+
</function>
|
1707
|
+
<function name="callable_info_get_caller_owns"
|
1708
|
+
c:identifier="g_callable_info_get_caller_owns">
|
1709
|
+
<doc xml:space="preserve">See whether the caller owns the return value of this callable.
|
1710
|
+
#GITransfer contains a list of possible transfer values.</doc>
|
1711
|
+
<return-value transfer-ownership="none">
|
1712
|
+
<doc xml:space="preserve">%TRUE if the caller owns the return value, %FALSE otherwise.</doc>
|
1713
|
+
<type name="Transfer" c:type="GITransfer"/>
|
1714
|
+
</return-value>
|
1715
|
+
<parameters>
|
1716
|
+
<parameter name="info" transfer-ownership="none">
|
1717
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1718
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1719
|
+
</parameter>
|
1720
|
+
</parameters>
|
1721
|
+
</function>
|
1722
|
+
<function name="callable_info_get_instance_ownership_transfer"
|
1723
|
+
c:identifier="g_callable_info_get_instance_ownership_transfer">
|
1724
|
+
<doc xml:space="preserve">Obtains the ownership transfer for the instance argument.
|
1725
|
+
#GITransfer contains a list of possible transfer values.</doc>
|
1726
|
+
<return-value transfer-ownership="none">
|
1727
|
+
<doc xml:space="preserve">the transfer</doc>
|
1728
|
+
<type name="Transfer" c:type="GITransfer"/>
|
1729
|
+
</return-value>
|
1730
|
+
<parameters>
|
1731
|
+
<parameter name="info" transfer-ownership="none">
|
1732
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1733
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1734
|
+
</parameter>
|
1735
|
+
</parameters>
|
1736
|
+
</function>
|
1737
|
+
<function name="callable_info_get_n_args"
|
1738
|
+
c:identifier="g_callable_info_get_n_args">
|
1739
|
+
<doc xml:space="preserve">Obtain the number of arguments (both IN and OUT) for this callable.</doc>
|
1740
|
+
<return-value transfer-ownership="none">
|
1741
|
+
<doc xml:space="preserve">The number of arguments this callable expects.</doc>
|
1742
|
+
<type name="gint" c:type="gint"/>
|
1743
|
+
</return-value>
|
1744
|
+
<parameters>
|
1745
|
+
<parameter name="info" transfer-ownership="none">
|
1746
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1747
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1748
|
+
</parameter>
|
1749
|
+
</parameters>
|
1750
|
+
</function>
|
1751
|
+
<function name="callable_info_get_return_attribute"
|
1752
|
+
c:identifier="g_callable_info_get_return_attribute">
|
1753
|
+
<doc xml:space="preserve">Retrieve an arbitrary attribute associated with the return value.</doc>
|
1754
|
+
<return-value transfer-ownership="none">
|
1755
|
+
<doc xml:space="preserve">The value of the attribute, or %NULL if no such attribute exists</doc>
|
1756
|
+
<type name="utf8" c:type="const gchar*"/>
|
1757
|
+
</return-value>
|
1758
|
+
<parameters>
|
1759
|
+
<parameter name="info" transfer-ownership="none">
|
1760
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1761
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1762
|
+
</parameter>
|
1763
|
+
<parameter name="name" transfer-ownership="none">
|
1764
|
+
<doc xml:space="preserve">a freeform string naming an attribute</doc>
|
1765
|
+
<type name="utf8" c:type="const gchar*"/>
|
1766
|
+
</parameter>
|
1767
|
+
</parameters>
|
1768
|
+
</function>
|
1769
|
+
<function name="callable_info_get_return_type"
|
1770
|
+
c:identifier="g_callable_info_get_return_type">
|
1771
|
+
<doc xml:space="preserve">Obtain the return type of a callable item as a #GITypeInfo.</doc>
|
1772
|
+
<return-value transfer-ownership="full">
|
1773
|
+
<doc xml:space="preserve">the #GITypeInfo. Free the struct by calling
|
1774
|
+
g_base_info_unref() when done.</doc>
|
1775
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
1776
|
+
</return-value>
|
1777
|
+
<parameters>
|
1778
|
+
<parameter name="info" transfer-ownership="none">
|
1779
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1780
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1781
|
+
</parameter>
|
1782
|
+
</parameters>
|
1783
|
+
</function>
|
1784
|
+
<function name="callable_info_invoke"
|
1785
|
+
c:identifier="g_callable_info_invoke"
|
1786
|
+
throws="1">
|
1787
|
+
<doc xml:space="preserve">TODO</doc>
|
1788
|
+
<return-value transfer-ownership="none">
|
1789
|
+
<type name="gboolean" c:type="gboolean"/>
|
1790
|
+
</return-value>
|
1791
|
+
<parameters>
|
1792
|
+
<parameter name="info" transfer-ownership="none">
|
1793
|
+
<doc xml:space="preserve">TODO</doc>
|
1794
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1795
|
+
</parameter>
|
1796
|
+
<parameter name="function" transfer-ownership="none">
|
1797
|
+
<doc xml:space="preserve">TODO</doc>
|
1798
|
+
<type name="gpointer" c:type="gpointer"/>
|
1799
|
+
</parameter>
|
1800
|
+
<parameter name="in_args" transfer-ownership="none">
|
1801
|
+
<doc xml:space="preserve">TODO</doc>
|
1802
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
1803
|
+
</parameter>
|
1804
|
+
<parameter name="n_in_args" transfer-ownership="none">
|
1805
|
+
<doc xml:space="preserve">TODO</doc>
|
1806
|
+
<type name="gint" c:type="int"/>
|
1807
|
+
</parameter>
|
1808
|
+
<parameter name="out_args" transfer-ownership="none">
|
1809
|
+
<doc xml:space="preserve">TODO</doc>
|
1810
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
1811
|
+
</parameter>
|
1812
|
+
<parameter name="n_out_args" transfer-ownership="none">
|
1813
|
+
<doc xml:space="preserve">TODO</doc>
|
1814
|
+
<type name="gint" c:type="int"/>
|
1815
|
+
</parameter>
|
1816
|
+
<parameter name="return_value" transfer-ownership="none">
|
1817
|
+
<doc xml:space="preserve">TODO</doc>
|
1818
|
+
<type name="Argument" c:type="GIArgument*"/>
|
1819
|
+
</parameter>
|
1820
|
+
<parameter name="is_method" transfer-ownership="none">
|
1821
|
+
<doc xml:space="preserve">TODO</doc>
|
1822
|
+
<type name="gboolean" c:type="gboolean"/>
|
1823
|
+
</parameter>
|
1824
|
+
<parameter name="throws" transfer-ownership="none">
|
1825
|
+
<doc xml:space="preserve">TODO</doc>
|
1826
|
+
<type name="gboolean" c:type="gboolean"/>
|
1827
|
+
</parameter>
|
1828
|
+
</parameters>
|
1829
|
+
</function>
|
1830
|
+
<function name="callable_info_is_method"
|
1831
|
+
c:identifier="g_callable_info_is_method"
|
1832
|
+
version="1.34">
|
1833
|
+
<doc xml:space="preserve">Determines if the callable info is a method. For #GIVFuncInfo<!-- -->s,
|
1834
|
+
#GICallbackInfo<!-- -->s, and #GISignalInfo<!-- -->s,
|
1835
|
+
this is always true. Otherwise, this looks at the %GI_FUNCTION_IS_METHOD
|
1836
|
+
flag on the #GIFunctionInfo.
|
1837
|
+
|
1838
|
+
Concretely, this function returns whether g_callable_info_get_n_args()
|
1839
|
+
matches the number of arguments in the raw C method. For methods, there
|
1840
|
+
is one more C argument than is exposed by introspection: the "self"
|
1841
|
+
or "this" object.</doc>
|
1842
|
+
<return-value transfer-ownership="none">
|
1843
|
+
<doc xml:space="preserve">%TRUE if @info is a method, %FALSE otherwise</doc>
|
1844
|
+
<type name="gboolean" c:type="gboolean"/>
|
1845
|
+
</return-value>
|
1846
|
+
<parameters>
|
1847
|
+
<parameter name="info" transfer-ownership="none">
|
1848
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1849
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1850
|
+
</parameter>
|
1851
|
+
</parameters>
|
1852
|
+
</function>
|
1853
|
+
<function name="callable_info_iterate_return_attributes"
|
1854
|
+
c:identifier="g_callable_info_iterate_return_attributes">
|
1855
|
+
<doc xml:space="preserve">Iterate over all attributes associated with the return value. The
|
1856
|
+
iterator structure is typically stack allocated, and must have its
|
1857
|
+
first member initialized to %NULL.
|
1858
|
+
|
1859
|
+
Both the @name and @value should be treated as constants
|
1860
|
+
and must not be freed.
|
1861
|
+
|
1862
|
+
See g_base_info_iterate_attributes() for an example of how to use a
|
1863
|
+
similar API.</doc>
|
1864
|
+
<return-value transfer-ownership="none">
|
1865
|
+
<doc xml:space="preserve">%TRUE if there are more attributes</doc>
|
1866
|
+
<type name="gboolean" c:type="gboolean"/>
|
1867
|
+
</return-value>
|
1868
|
+
<parameters>
|
1869
|
+
<parameter name="info" transfer-ownership="none">
|
1870
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1871
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1872
|
+
</parameter>
|
1873
|
+
<parameter name="iterator" transfer-ownership="none">
|
1874
|
+
<doc xml:space="preserve">a #GIAttributeIter structure, must be initialized; see below</doc>
|
1875
|
+
<type name="AttributeIter" c:type="GIAttributeIter*"/>
|
1876
|
+
</parameter>
|
1877
|
+
<parameter name="name"
|
1878
|
+
direction="out"
|
1879
|
+
caller-allocates="0"
|
1880
|
+
transfer-ownership="none">
|
1881
|
+
<doc xml:space="preserve">Returned name, must not be freed</doc>
|
1882
|
+
<type name="utf8" c:type="char**"/>
|
1883
|
+
</parameter>
|
1884
|
+
<parameter name="value"
|
1885
|
+
direction="out"
|
1886
|
+
caller-allocates="0"
|
1887
|
+
transfer-ownership="none">
|
1888
|
+
<doc xml:space="preserve">Returned name, must not be freed</doc>
|
1889
|
+
<type name="utf8" c:type="char**"/>
|
1890
|
+
</parameter>
|
1891
|
+
</parameters>
|
1892
|
+
</function>
|
1893
|
+
<function name="callable_info_load_arg"
|
1894
|
+
c:identifier="g_callable_info_load_arg">
|
1895
|
+
<doc xml:space="preserve">Obtain information about a particular argument of this callable; this
|
1896
|
+
function is a variant of g_callable_info_get_arg() designed for stack
|
1897
|
+
allocation.
|
1898
|
+
|
1899
|
+
The initialized @arg must not be referenced after @info is deallocated.</doc>
|
1900
|
+
<return-value transfer-ownership="none">
|
1901
|
+
<type name="none" c:type="void"/>
|
1902
|
+
</return-value>
|
1903
|
+
<parameters>
|
1904
|
+
<parameter name="info" transfer-ownership="none">
|
1905
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1906
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1907
|
+
</parameter>
|
1908
|
+
<parameter name="n" transfer-ownership="none">
|
1909
|
+
<doc xml:space="preserve">the argument index to fetch</doc>
|
1910
|
+
<type name="gint" c:type="gint"/>
|
1911
|
+
</parameter>
|
1912
|
+
<parameter name="arg"
|
1913
|
+
direction="out"
|
1914
|
+
caller-allocates="1"
|
1915
|
+
transfer-ownership="none">
|
1916
|
+
<doc xml:space="preserve">Initialize with argument number @n</doc>
|
1917
|
+
<type name="ArgInfo" c:type="GIArgInfo*"/>
|
1918
|
+
</parameter>
|
1919
|
+
</parameters>
|
1920
|
+
</function>
|
1921
|
+
<function name="callable_info_load_return_type"
|
1922
|
+
c:identifier="g_callable_info_load_return_type">
|
1923
|
+
<doc xml:space="preserve">Obtain information about a return value of callable; this
|
1924
|
+
function is a variant of g_callable_info_get_return_type() designed for stack
|
1925
|
+
allocation.
|
1926
|
+
|
1927
|
+
The initialized @type must not be referenced after @info is deallocated.</doc>
|
1928
|
+
<return-value transfer-ownership="none">
|
1929
|
+
<type name="none" c:type="void"/>
|
1930
|
+
</return-value>
|
1931
|
+
<parameters>
|
1932
|
+
<parameter name="info" transfer-ownership="none">
|
1933
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1934
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1935
|
+
</parameter>
|
1936
|
+
<parameter name="type"
|
1937
|
+
direction="out"
|
1938
|
+
caller-allocates="1"
|
1939
|
+
transfer-ownership="none">
|
1940
|
+
<doc xml:space="preserve">Initialized with return type of @info</doc>
|
1941
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
1942
|
+
</parameter>
|
1943
|
+
</parameters>
|
1944
|
+
</function>
|
1945
|
+
<function name="callable_info_may_return_null"
|
1946
|
+
c:identifier="g_callable_info_may_return_null">
|
1947
|
+
<doc xml:space="preserve">See if a callable could return %NULL.</doc>
|
1948
|
+
<return-value transfer-ownership="none">
|
1949
|
+
<doc xml:space="preserve">%TRUE if callable could return %NULL</doc>
|
1950
|
+
<type name="gboolean" c:type="gboolean"/>
|
1951
|
+
</return-value>
|
1952
|
+
<parameters>
|
1953
|
+
<parameter name="info" transfer-ownership="none">
|
1954
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1955
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1956
|
+
</parameter>
|
1957
|
+
</parameters>
|
1958
|
+
</function>
|
1959
|
+
<function name="callable_info_skip_return"
|
1960
|
+
c:identifier="g_callable_info_skip_return">
|
1961
|
+
<doc xml:space="preserve">See if a callable's return value is only useful in C.</doc>
|
1962
|
+
<return-value transfer-ownership="none">
|
1963
|
+
<doc xml:space="preserve">%TRUE if return value is only useful in C.</doc>
|
1964
|
+
<type name="gboolean" c:type="gboolean"/>
|
1965
|
+
</return-value>
|
1966
|
+
<parameters>
|
1967
|
+
<parameter name="info" transfer-ownership="none">
|
1968
|
+
<doc xml:space="preserve">a #GICallableInfo</doc>
|
1969
|
+
<type name="CallableInfo" c:type="GICallableInfo*"/>
|
1970
|
+
</parameter>
|
1971
|
+
</parameters>
|
1972
|
+
</function>
|
1973
|
+
<function name="constant_info_free_value"
|
1974
|
+
c:identifier="g_constant_info_free_value"
|
1975
|
+
version="1.30.1"
|
1976
|
+
introspectable="0">
|
1977
|
+
<doc xml:space="preserve">Free the value returned from g_constant_info_get_value().</doc>
|
1978
|
+
<return-value transfer-ownership="none">
|
1979
|
+
<type name="none" c:type="void"/>
|
1980
|
+
</return-value>
|
1981
|
+
<parameters>
|
1982
|
+
<parameter name="info" transfer-ownership="none">
|
1983
|
+
<doc xml:space="preserve">a #GIConstantInfo</doc>
|
1984
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
1985
|
+
</parameter>
|
1986
|
+
<parameter name="value" transfer-ownership="none">
|
1987
|
+
<doc xml:space="preserve">the argument</doc>
|
1988
|
+
<type name="Argument" c:type="GIArgument*"/>
|
1989
|
+
</parameter>
|
1990
|
+
</parameters>
|
1991
|
+
</function>
|
1992
|
+
<function name="constant_info_get_type"
|
1993
|
+
c:identifier="g_constant_info_get_type">
|
1994
|
+
<doc xml:space="preserve">Obtain the type of the constant as a #GITypeInfo.</doc>
|
1995
|
+
<return-value transfer-ownership="full">
|
1996
|
+
<doc xml:space="preserve">the #GITypeInfo. Free the struct by calling
|
1997
|
+
g_base_info_unref() when done.</doc>
|
1998
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
1999
|
+
</return-value>
|
2000
|
+
<parameters>
|
2001
|
+
<parameter name="info" transfer-ownership="none">
|
2002
|
+
<doc xml:space="preserve">a #GIConstantInfo</doc>
|
2003
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
2004
|
+
</parameter>
|
2005
|
+
</parameters>
|
2006
|
+
</function>
|
2007
|
+
<function name="constant_info_get_value"
|
2008
|
+
c:identifier="g_constant_info_get_value"
|
2009
|
+
introspectable="0">
|
2010
|
+
<doc xml:space="preserve">Obtain the value associated with the #GIConstantInfo and store it in the
|
2011
|
+
@value parameter. @argument needs to be allocated before passing it in.
|
2012
|
+
The size of the constant value stored in @argument will be returned.
|
2013
|
+
Free the value with g_constant_info_free_value().</doc>
|
2014
|
+
<return-value transfer-ownership="none">
|
2015
|
+
<doc xml:space="preserve">size of the constant</doc>
|
2016
|
+
<type name="gint" c:type="gint"/>
|
2017
|
+
</return-value>
|
2018
|
+
<parameters>
|
2019
|
+
<parameter name="info" transfer-ownership="none">
|
2020
|
+
<doc xml:space="preserve">a #GIConstantInfo</doc>
|
2021
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
2022
|
+
</parameter>
|
2023
|
+
<parameter name="value"
|
2024
|
+
direction="out"
|
2025
|
+
caller-allocates="1"
|
2026
|
+
transfer-ownership="none">
|
2027
|
+
<doc xml:space="preserve">an argument</doc>
|
2028
|
+
<type name="Argument" c:type="GIArgument*"/>
|
2029
|
+
</parameter>
|
2030
|
+
</parameters>
|
2031
|
+
</function>
|
2032
|
+
<function name="enum_info_get_error_domain"
|
2033
|
+
c:identifier="g_enum_info_get_error_domain"
|
2034
|
+
version="1.29.17">
|
2035
|
+
<doc xml:space="preserve">Obtain the string form of the quark for the error domain associated with
|
2036
|
+
this enum, if any.</doc>
|
2037
|
+
<return-value transfer-ownership="none">
|
2038
|
+
<doc xml:space="preserve">the string form of the error domain associated
|
2039
|
+
with this enum, or %NULL.</doc>
|
2040
|
+
<type name="utf8" c:type="const gchar*"/>
|
2041
|
+
</return-value>
|
2042
|
+
<parameters>
|
2043
|
+
<parameter name="info" transfer-ownership="none">
|
2044
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2045
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2046
|
+
</parameter>
|
2047
|
+
</parameters>
|
2048
|
+
</function>
|
2049
|
+
<function name="enum_info_get_method"
|
2050
|
+
c:identifier="g_enum_info_get_method"
|
2051
|
+
version="1.29.17">
|
2052
|
+
<doc xml:space="preserve">Obtain an enum type method at index @n.</doc>
|
2053
|
+
<return-value transfer-ownership="full">
|
2054
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2055
|
+
g_base_info_unref() when done.</doc>
|
2056
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2057
|
+
</return-value>
|
2058
|
+
<parameters>
|
2059
|
+
<parameter name="info" transfer-ownership="none">
|
2060
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2061
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2062
|
+
</parameter>
|
2063
|
+
<parameter name="n" transfer-ownership="none">
|
2064
|
+
<doc xml:space="preserve">index of method to get</doc>
|
2065
|
+
<type name="gint" c:type="gint"/>
|
2066
|
+
</parameter>
|
2067
|
+
</parameters>
|
2068
|
+
</function>
|
2069
|
+
<function name="enum_info_get_n_methods"
|
2070
|
+
c:identifier="g_enum_info_get_n_methods"
|
2071
|
+
version="1.29.17">
|
2072
|
+
<doc xml:space="preserve">Obtain the number of methods that this enum type has.</doc>
|
2073
|
+
<return-value transfer-ownership="none">
|
2074
|
+
<doc xml:space="preserve">number of methods</doc>
|
2075
|
+
<type name="gint" c:type="gint"/>
|
2076
|
+
</return-value>
|
2077
|
+
<parameters>
|
2078
|
+
<parameter name="info" transfer-ownership="none">
|
2079
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2080
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2081
|
+
</parameter>
|
2082
|
+
</parameters>
|
2083
|
+
</function>
|
2084
|
+
<function name="enum_info_get_n_values"
|
2085
|
+
c:identifier="g_enum_info_get_n_values">
|
2086
|
+
<doc xml:space="preserve">Obtain the number of values this enumeration contains.</doc>
|
2087
|
+
<return-value transfer-ownership="none">
|
2088
|
+
<doc xml:space="preserve">the number of enumeration values</doc>
|
2089
|
+
<type name="gint" c:type="gint"/>
|
2090
|
+
</return-value>
|
2091
|
+
<parameters>
|
2092
|
+
<parameter name="info" transfer-ownership="none">
|
2093
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2094
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2095
|
+
</parameter>
|
2096
|
+
</parameters>
|
2097
|
+
</function>
|
2098
|
+
<function name="enum_info_get_storage_type"
|
2099
|
+
c:identifier="g_enum_info_get_storage_type">
|
2100
|
+
<doc xml:space="preserve">Obtain the tag of the type used for the enum in the C ABI. This will
|
2101
|
+
will be a signed or unsigned integral type.
|
2102
|
+
|
2103
|
+
Note that in the current implementation the width of the type is
|
2104
|
+
computed correctly, but the signed or unsigned nature of the type
|
2105
|
+
may not match the sign of the type used by the C compiler.</doc>
|
2106
|
+
<return-value transfer-ownership="none">
|
2107
|
+
<doc xml:space="preserve">the storage type for the enumeration</doc>
|
2108
|
+
<type name="TypeTag" c:type="GITypeTag"/>
|
2109
|
+
</return-value>
|
2110
|
+
<parameters>
|
2111
|
+
<parameter name="info" transfer-ownership="none">
|
2112
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2113
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2114
|
+
</parameter>
|
2115
|
+
</parameters>
|
2116
|
+
</function>
|
2117
|
+
<function name="enum_info_get_value" c:identifier="g_enum_info_get_value">
|
2118
|
+
<doc xml:space="preserve">Obtain a value for this enumeration.</doc>
|
2119
|
+
<return-value transfer-ownership="full">
|
2120
|
+
<doc xml:space="preserve">the enumeration value or %NULL if type tag is wrong,
|
2121
|
+
free the struct with g_base_info_unref() when done.</doc>
|
2122
|
+
<type name="ValueInfo" c:type="GIValueInfo*"/>
|
2123
|
+
</return-value>
|
2124
|
+
<parameters>
|
2125
|
+
<parameter name="info" transfer-ownership="none">
|
2126
|
+
<doc xml:space="preserve">a #GIEnumInfo</doc>
|
2127
|
+
<type name="EnumInfo" c:type="GIEnumInfo*"/>
|
2128
|
+
</parameter>
|
2129
|
+
<parameter name="n" transfer-ownership="none">
|
2130
|
+
<doc xml:space="preserve">index of value to fetch</doc>
|
2131
|
+
<type name="gint" c:type="gint"/>
|
2132
|
+
</parameter>
|
2133
|
+
</parameters>
|
2134
|
+
</function>
|
2135
|
+
<function name="field_info_get_field"
|
2136
|
+
c:identifier="g_field_info_get_field"
|
2137
|
+
introspectable="0">
|
2138
|
+
<doc xml:space="preserve">Reads a field identified by a #GIFieldInfo from a C structure or
|
2139
|
+
union. This only handles fields of simple C types. It will fail
|
2140
|
+
for a field of a composite type like a nested structure or union
|
2141
|
+
even if that is actually readable.</doc>
|
2142
|
+
<return-value transfer-ownership="none">
|
2143
|
+
<doc xml:space="preserve">%TRUE if reading the field succeeded, otherwise %FALSE</doc>
|
2144
|
+
<type name="gboolean" c:type="gboolean"/>
|
2145
|
+
</return-value>
|
2146
|
+
<parameters>
|
2147
|
+
<parameter name="field_info" transfer-ownership="none">
|
2148
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2149
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2150
|
+
</parameter>
|
2151
|
+
<parameter name="mem" transfer-ownership="none">
|
2152
|
+
<doc xml:space="preserve">pointer to a block of memory representing a C structure or union</doc>
|
2153
|
+
<type name="gpointer" c:type="gpointer"/>
|
2154
|
+
</parameter>
|
2155
|
+
<parameter name="value" transfer-ownership="none">
|
2156
|
+
<doc xml:space="preserve">a #GIArgument into which to store the value retrieved</doc>
|
2157
|
+
<type name="Argument" c:type="GIArgument*"/>
|
2158
|
+
</parameter>
|
2159
|
+
</parameters>
|
2160
|
+
</function>
|
2161
|
+
<function name="field_info_get_flags"
|
2162
|
+
c:identifier="g_field_info_get_flags">
|
2163
|
+
<doc xml:space="preserve">Obtain the flags for this #GIFieldInfo. See #GIFieldInfoFlags for possible
|
2164
|
+
flag values.</doc>
|
2165
|
+
<return-value transfer-ownership="none">
|
2166
|
+
<doc xml:space="preserve">the flags</doc>
|
2167
|
+
<type name="FieldInfoFlags" c:type="GIFieldInfoFlags"/>
|
2168
|
+
</return-value>
|
2169
|
+
<parameters>
|
2170
|
+
<parameter name="info" transfer-ownership="none">
|
2171
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2172
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2173
|
+
</parameter>
|
2174
|
+
</parameters>
|
2175
|
+
</function>
|
2176
|
+
<function name="field_info_get_offset"
|
2177
|
+
c:identifier="g_field_info_get_offset">
|
2178
|
+
<doc xml:space="preserve">Obtain the offset in bits of the field member, this is relative
|
2179
|
+
to the beginning of the struct or union.</doc>
|
2180
|
+
<return-value transfer-ownership="none">
|
2181
|
+
<doc xml:space="preserve">the field offset</doc>
|
2182
|
+
<type name="gint" c:type="gint"/>
|
2183
|
+
</return-value>
|
2184
|
+
<parameters>
|
2185
|
+
<parameter name="info" transfer-ownership="none">
|
2186
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2187
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2188
|
+
</parameter>
|
2189
|
+
</parameters>
|
2190
|
+
</function>
|
2191
|
+
<function name="field_info_get_size" c:identifier="g_field_info_get_size">
|
2192
|
+
<doc xml:space="preserve">Obtain the size in bits of the field member, this is how
|
2193
|
+
much space you need to allocate to store the field.</doc>
|
2194
|
+
<return-value transfer-ownership="none">
|
2195
|
+
<doc xml:space="preserve">the field size</doc>
|
2196
|
+
<type name="gint" c:type="gint"/>
|
2197
|
+
</return-value>
|
2198
|
+
<parameters>
|
2199
|
+
<parameter name="info" transfer-ownership="none">
|
2200
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2201
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2202
|
+
</parameter>
|
2203
|
+
</parameters>
|
2204
|
+
</function>
|
2205
|
+
<function name="field_info_get_type" c:identifier="g_field_info_get_type">
|
2206
|
+
<doc xml:space="preserve">Obtain the type of a field as a #GITypeInfo.</doc>
|
2207
|
+
<return-value transfer-ownership="full">
|
2208
|
+
<doc xml:space="preserve">the #GITypeInfo. Free the struct by calling
|
2209
|
+
g_base_info_unref() when done.</doc>
|
2210
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
2211
|
+
</return-value>
|
2212
|
+
<parameters>
|
2213
|
+
<parameter name="info" transfer-ownership="none">
|
2214
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2215
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2216
|
+
</parameter>
|
2217
|
+
</parameters>
|
2218
|
+
</function>
|
2219
|
+
<function name="field_info_set_field"
|
2220
|
+
c:identifier="g_field_info_set_field"
|
2221
|
+
introspectable="0">
|
2222
|
+
<doc xml:space="preserve">Writes a field identified by a #GIFieldInfo to a C structure or
|
2223
|
+
union. This only handles fields of simple C types. It will fail
|
2224
|
+
for a field of a composite type like a nested structure or union
|
2225
|
+
even if that is actually writable. Note also that that it will refuse
|
2226
|
+
to write fields where memory management would by required. A field
|
2227
|
+
with a type such as 'char *' must be set with a setter function.</doc>
|
2228
|
+
<return-value transfer-ownership="none">
|
2229
|
+
<doc xml:space="preserve">%TRUE if writing the field succeeded, otherwise %FALSE</doc>
|
2230
|
+
<type name="gboolean" c:type="gboolean"/>
|
2231
|
+
</return-value>
|
2232
|
+
<parameters>
|
2233
|
+
<parameter name="field_info" transfer-ownership="none">
|
2234
|
+
<doc xml:space="preserve">a #GIFieldInfo</doc>
|
2235
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2236
|
+
</parameter>
|
2237
|
+
<parameter name="mem" transfer-ownership="none">
|
2238
|
+
<doc xml:space="preserve">pointer to a block of memory representing a C structure or union</doc>
|
2239
|
+
<type name="gpointer" c:type="gpointer"/>
|
2240
|
+
</parameter>
|
2241
|
+
<parameter name="value" transfer-ownership="none">
|
2242
|
+
<doc xml:space="preserve">a #GIArgument holding the value to store</doc>
|
2243
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
2244
|
+
</parameter>
|
2245
|
+
</parameters>
|
2246
|
+
</function>
|
2247
|
+
<function name="function_info_get_flags"
|
2248
|
+
c:identifier="g_function_info_get_flags">
|
2249
|
+
<doc xml:space="preserve">Obtain the #GIFunctionInfoFlags for the @info.</doc>
|
2250
|
+
<return-value transfer-ownership="none">
|
2251
|
+
<doc xml:space="preserve">the flags</doc>
|
2252
|
+
<type name="FunctionInfoFlags" c:type="GIFunctionInfoFlags"/>
|
2253
|
+
</return-value>
|
2254
|
+
<parameters>
|
2255
|
+
<parameter name="info" transfer-ownership="none">
|
2256
|
+
<doc xml:space="preserve">a #GIFunctionInfo</doc>
|
2257
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2258
|
+
</parameter>
|
2259
|
+
</parameters>
|
2260
|
+
</function>
|
2261
|
+
<function name="function_info_get_property"
|
2262
|
+
c:identifier="g_function_info_get_property">
|
2263
|
+
<doc xml:space="preserve">Obtain the property associated with this #GIFunctionInfo.
|
2264
|
+
Only #GIFunctionInfo with the flag %GI_FUNCTION_IS_GETTER or
|
2265
|
+
%GI_FUNCTION_IS_SETTER have a property set. For other cases,
|
2266
|
+
%NULL will be returned.</doc>
|
2267
|
+
<return-value transfer-ownership="full">
|
2268
|
+
<doc xml:space="preserve">the property or %NULL if not set. Free it with
|
2269
|
+
g_base_info_unref() when done.</doc>
|
2270
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
2271
|
+
</return-value>
|
2272
|
+
<parameters>
|
2273
|
+
<parameter name="info" transfer-ownership="none">
|
2274
|
+
<doc xml:space="preserve">a #GIFunctionInfo</doc>
|
2275
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2276
|
+
</parameter>
|
2277
|
+
</parameters>
|
2278
|
+
</function>
|
2279
|
+
<function name="function_info_get_symbol"
|
2280
|
+
c:identifier="g_function_info_get_symbol">
|
2281
|
+
<doc xml:space="preserve">Obtain the symbol of the function. The symbol is the name of the
|
2282
|
+
exported function, suitable to be used as an argument to
|
2283
|
+
g_module_symbol().</doc>
|
2284
|
+
<return-value transfer-ownership="none">
|
2285
|
+
<doc xml:space="preserve">the symbol</doc>
|
2286
|
+
<type name="utf8" c:type="const gchar*"/>
|
2287
|
+
</return-value>
|
2288
|
+
<parameters>
|
2289
|
+
<parameter name="info" transfer-ownership="none">
|
2290
|
+
<doc xml:space="preserve">a #GIFunctionInfo</doc>
|
2291
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2292
|
+
</parameter>
|
2293
|
+
</parameters>
|
2294
|
+
</function>
|
2295
|
+
<function name="function_info_get_vfunc"
|
2296
|
+
c:identifier="g_function_info_get_vfunc">
|
2297
|
+
<doc xml:space="preserve">Obtain the virtual function associated with this #GIFunctionInfo.
|
2298
|
+
Only #GIFunctionInfo with the flag %GI_FUNCTION_WRAPS_VFUNC has
|
2299
|
+
a virtual function set. For other cases, %NULL will be returned.</doc>
|
2300
|
+
<return-value transfer-ownership="full">
|
2301
|
+
<doc xml:space="preserve">the virtual function or %NULL if not set.
|
2302
|
+
Free it by calling g_base_info_unref() when done.</doc>
|
2303
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
2304
|
+
</return-value>
|
2305
|
+
<parameters>
|
2306
|
+
<parameter name="info" transfer-ownership="none">
|
2307
|
+
<doc xml:space="preserve">a #GIFunctionInfo</doc>
|
2308
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2309
|
+
</parameter>
|
2310
|
+
</parameters>
|
2311
|
+
</function>
|
2312
|
+
<function name="function_info_invoke"
|
2313
|
+
c:identifier="g_function_info_invoke"
|
2314
|
+
introspectable="0"
|
2315
|
+
throws="1">
|
2316
|
+
<doc xml:space="preserve">Invokes the function described in @info with the given
|
2317
|
+
arguments. Note that inout parameters must appear in both
|
2318
|
+
argument lists. This function uses dlsym() to obtain a pointer
|
2319
|
+
to the function, so the library or shared object containing the
|
2320
|
+
described function must either be linked to the caller, or must
|
2321
|
+
have been g_module_symbol()<!-- -->ed before calling this function.</doc>
|
2322
|
+
<return-value transfer-ownership="none">
|
2323
|
+
<doc xml:space="preserve">%TRUE if the function has been invoked, %FALSE if an
|
2324
|
+
error occurred.</doc>
|
2325
|
+
<type name="gboolean" c:type="gboolean"/>
|
2326
|
+
</return-value>
|
2327
|
+
<parameters>
|
2328
|
+
<parameter name="info" transfer-ownership="none">
|
2329
|
+
<doc xml:space="preserve">a #GIFunctionInfo describing the function to invoke</doc>
|
2330
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2331
|
+
</parameter>
|
2332
|
+
<parameter name="in_args" transfer-ownership="none">
|
2333
|
+
<doc xml:space="preserve">an array of #GIArgument<!-- -->s, one for each in
|
2334
|
+
parameter of @info. If there are no in parameter, @in_args
|
2335
|
+
can be %NULL</doc>
|
2336
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
2337
|
+
</parameter>
|
2338
|
+
<parameter name="n_in_args" transfer-ownership="none">
|
2339
|
+
<doc xml:space="preserve">the length of the @in_args array</doc>
|
2340
|
+
<type name="gint" c:type="int"/>
|
2341
|
+
</parameter>
|
2342
|
+
<parameter name="out_args" transfer-ownership="none">
|
2343
|
+
<doc xml:space="preserve">an array of #GIArgument<!-- -->s, one for each out
|
2344
|
+
parameter of @info. If there are no out parameters, @out_args
|
2345
|
+
may be %NULL</doc>
|
2346
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
2347
|
+
</parameter>
|
2348
|
+
<parameter name="n_out_args" transfer-ownership="none">
|
2349
|
+
<doc xml:space="preserve">the length of the @out_args array</doc>
|
2350
|
+
<type name="gint" c:type="int"/>
|
2351
|
+
</parameter>
|
2352
|
+
<parameter name="return_value" transfer-ownership="none">
|
2353
|
+
<doc xml:space="preserve">return location for the return value of the
|
2354
|
+
function. If the function returns void, @return_value may be
|
2355
|
+
%NULL</doc>
|
2356
|
+
<type name="Argument" c:type="GIArgument*"/>
|
2357
|
+
</parameter>
|
2358
|
+
</parameters>
|
2359
|
+
</function>
|
2360
|
+
<function name="info_new" c:identifier="g_info_new">
|
2361
|
+
<doc xml:space="preserve">TODO</doc>
|
2362
|
+
<return-value transfer-ownership="full">
|
2363
|
+
<doc xml:space="preserve">TODO</doc>
|
2364
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
2365
|
+
</return-value>
|
2366
|
+
<parameters>
|
2367
|
+
<parameter name="type" transfer-ownership="none">
|
2368
|
+
<doc xml:space="preserve">TODO</doc>
|
2369
|
+
<type name="InfoType" c:type="GIInfoType"/>
|
2370
|
+
</parameter>
|
2371
|
+
<parameter name="container" transfer-ownership="none">
|
2372
|
+
<doc xml:space="preserve">TODO</doc>
|
2373
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
2374
|
+
</parameter>
|
2375
|
+
<parameter name="typelib" transfer-ownership="none">
|
2376
|
+
<doc xml:space="preserve">TODO</doc>
|
2377
|
+
<type name="Typelib" c:type="GITypelib*"/>
|
2378
|
+
</parameter>
|
2379
|
+
<parameter name="offset" transfer-ownership="none">
|
2380
|
+
<doc xml:space="preserve">TODO</doc>
|
2381
|
+
<type name="guint32" c:type="guint32"/>
|
2382
|
+
</parameter>
|
2383
|
+
</parameters>
|
2384
|
+
</function>
|
2385
|
+
<function name="info_type_to_string" c:identifier="g_info_type_to_string">
|
2386
|
+
<doc xml:space="preserve">Obtain a string representation of @type</doc>
|
2387
|
+
<return-value transfer-ownership="none">
|
2388
|
+
<doc xml:space="preserve">the string</doc>
|
2389
|
+
<type name="utf8" c:type="const gchar*"/>
|
2390
|
+
</return-value>
|
2391
|
+
<parameters>
|
2392
|
+
<parameter name="type" transfer-ownership="none">
|
2393
|
+
<doc xml:space="preserve">the info type</doc>
|
2394
|
+
<type name="InfoType" c:type="GIInfoType"/>
|
2395
|
+
</parameter>
|
2396
|
+
</parameters>
|
2397
|
+
</function>
|
2398
|
+
<function name="interface_info_find_method"
|
2399
|
+
c:identifier="g_interface_info_find_method">
|
2400
|
+
<doc xml:space="preserve">Obtain a method of the interface type given a @name. %NULL will be
|
2401
|
+
returned if there's no method available with that name.</doc>
|
2402
|
+
<return-value transfer-ownership="full">
|
2403
|
+
<doc xml:space="preserve">the #GIFunctionInfo or %NULL if none found.
|
2404
|
+
Free the struct by calling g_base_info_unref() when done.</doc>
|
2405
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2406
|
+
</return-value>
|
2407
|
+
<parameters>
|
2408
|
+
<parameter name="info" transfer-ownership="none">
|
2409
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2410
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2411
|
+
</parameter>
|
2412
|
+
<parameter name="name" transfer-ownership="none">
|
2413
|
+
<doc xml:space="preserve">name of method to obtain</doc>
|
2414
|
+
<type name="utf8" c:type="const gchar*"/>
|
2415
|
+
</parameter>
|
2416
|
+
</parameters>
|
2417
|
+
</function>
|
2418
|
+
<function name="interface_info_find_signal"
|
2419
|
+
c:identifier="g_interface_info_find_signal"
|
2420
|
+
version="1.34">
|
2421
|
+
<doc xml:space="preserve">TODO</doc>
|
2422
|
+
<return-value transfer-ownership="full">
|
2423
|
+
<doc xml:space="preserve">Info for the signal with name @name in @info, or
|
2424
|
+
%NULL on failure.</doc>
|
2425
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
2426
|
+
</return-value>
|
2427
|
+
<parameters>
|
2428
|
+
<parameter name="info" transfer-ownership="none">
|
2429
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2430
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2431
|
+
</parameter>
|
2432
|
+
<parameter name="name" transfer-ownership="none">
|
2433
|
+
<doc xml:space="preserve">Name of signal</doc>
|
2434
|
+
<type name="utf8" c:type="const gchar*"/>
|
2435
|
+
</parameter>
|
2436
|
+
</parameters>
|
2437
|
+
</function>
|
2438
|
+
<function name="interface_info_find_vfunc"
|
2439
|
+
c:identifier="g_interface_info_find_vfunc">
|
2440
|
+
<doc xml:space="preserve">Locate a virtual function slot with name @name. See the documentation
|
2441
|
+
for g_object_info_find_vfunc() for more information on virtuals.</doc>
|
2442
|
+
<return-value transfer-ownership="full">
|
2443
|
+
<doc xml:space="preserve">the #GIVFuncInfo, or %NULL. Free it with
|
2444
|
+
g_base_info_unref() when done.</doc>
|
2445
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
2446
|
+
</return-value>
|
2447
|
+
<parameters>
|
2448
|
+
<parameter name="info" transfer-ownership="none">
|
2449
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2450
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2451
|
+
</parameter>
|
2452
|
+
<parameter name="name" transfer-ownership="none">
|
2453
|
+
<doc xml:space="preserve">The name of a virtual function to find.</doc>
|
2454
|
+
<type name="utf8" c:type="const gchar*"/>
|
2455
|
+
</parameter>
|
2456
|
+
</parameters>
|
2457
|
+
</function>
|
2458
|
+
<function name="interface_info_get_constant"
|
2459
|
+
c:identifier="g_interface_info_get_constant">
|
2460
|
+
<doc xml:space="preserve">Obtain an interface type constant at index @n.</doc>
|
2461
|
+
<return-value transfer-ownership="full">
|
2462
|
+
<doc xml:space="preserve">the #GIConstantInfo. Free the struct by calling
|
2463
|
+
g_base_info_unref() when done.</doc>
|
2464
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
2465
|
+
</return-value>
|
2466
|
+
<parameters>
|
2467
|
+
<parameter name="info" transfer-ownership="none">
|
2468
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2469
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2470
|
+
</parameter>
|
2471
|
+
<parameter name="n" transfer-ownership="none">
|
2472
|
+
<doc xml:space="preserve">index of constant to get</doc>
|
2473
|
+
<type name="gint" c:type="gint"/>
|
2474
|
+
</parameter>
|
2475
|
+
</parameters>
|
2476
|
+
</function>
|
2477
|
+
<function name="interface_info_get_iface_struct"
|
2478
|
+
c:identifier="g_interface_info_get_iface_struct">
|
2479
|
+
<doc xml:space="preserve">Returns the layout C structure associated with this #GInterface.</doc>
|
2480
|
+
<return-value transfer-ownership="full">
|
2481
|
+
<doc xml:space="preserve">the #GIStructInfo or %NULL. Free it with
|
2482
|
+
g_base_info_unref() when done.</doc>
|
2483
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
2484
|
+
</return-value>
|
2485
|
+
<parameters>
|
2486
|
+
<parameter name="info" transfer-ownership="none">
|
2487
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2488
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2489
|
+
</parameter>
|
2490
|
+
</parameters>
|
2491
|
+
</function>
|
2492
|
+
<function name="interface_info_get_method"
|
2493
|
+
c:identifier="g_interface_info_get_method">
|
2494
|
+
<doc xml:space="preserve">Obtain an interface type method at index @n.</doc>
|
2495
|
+
<return-value transfer-ownership="full">
|
2496
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2497
|
+
g_base_info_unref() when done.</doc>
|
2498
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2499
|
+
</return-value>
|
2500
|
+
<parameters>
|
2501
|
+
<parameter name="info" transfer-ownership="none">
|
2502
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2503
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2504
|
+
</parameter>
|
2505
|
+
<parameter name="n" transfer-ownership="none">
|
2506
|
+
<doc xml:space="preserve">index of method to get</doc>
|
2507
|
+
<type name="gint" c:type="gint"/>
|
2508
|
+
</parameter>
|
2509
|
+
</parameters>
|
2510
|
+
</function>
|
2511
|
+
<function name="interface_info_get_n_constants"
|
2512
|
+
c:identifier="g_interface_info_get_n_constants">
|
2513
|
+
<doc xml:space="preserve">Obtain the number of constants that this interface type has.</doc>
|
2514
|
+
<return-value transfer-ownership="none">
|
2515
|
+
<doc xml:space="preserve">number of constants</doc>
|
2516
|
+
<type name="gint" c:type="gint"/>
|
2517
|
+
</return-value>
|
2518
|
+
<parameters>
|
2519
|
+
<parameter name="info" transfer-ownership="none">
|
2520
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2521
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2522
|
+
</parameter>
|
2523
|
+
</parameters>
|
2524
|
+
</function>
|
2525
|
+
<function name="interface_info_get_n_methods"
|
2526
|
+
c:identifier="g_interface_info_get_n_methods">
|
2527
|
+
<doc xml:space="preserve">Obtain the number of methods that this interface type has.</doc>
|
2528
|
+
<return-value transfer-ownership="none">
|
2529
|
+
<doc xml:space="preserve">number of methods</doc>
|
2530
|
+
<type name="gint" c:type="gint"/>
|
2531
|
+
</return-value>
|
2532
|
+
<parameters>
|
2533
|
+
<parameter name="info" transfer-ownership="none">
|
2534
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2535
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2536
|
+
</parameter>
|
2537
|
+
</parameters>
|
2538
|
+
</function>
|
2539
|
+
<function name="interface_info_get_n_prerequisites"
|
2540
|
+
c:identifier="g_interface_info_get_n_prerequisites">
|
2541
|
+
<doc xml:space="preserve">Obtain the number of prerequisites for this interface type.
|
2542
|
+
A prerequisites is another interface that needs to be implemented for
|
2543
|
+
interface, similar to an base class for GObjects.</doc>
|
2544
|
+
<return-value transfer-ownership="none">
|
2545
|
+
<doc xml:space="preserve">number of prerequisites</doc>
|
2546
|
+
<type name="gint" c:type="gint"/>
|
2547
|
+
</return-value>
|
2548
|
+
<parameters>
|
2549
|
+
<parameter name="info" transfer-ownership="none">
|
2550
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2551
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2552
|
+
</parameter>
|
2553
|
+
</parameters>
|
2554
|
+
</function>
|
2555
|
+
<function name="interface_info_get_n_properties"
|
2556
|
+
c:identifier="g_interface_info_get_n_properties">
|
2557
|
+
<doc xml:space="preserve">Obtain the number of properties that this interface type has.</doc>
|
2558
|
+
<return-value transfer-ownership="none">
|
2559
|
+
<doc xml:space="preserve">number of properties</doc>
|
2560
|
+
<type name="gint" c:type="gint"/>
|
2561
|
+
</return-value>
|
2562
|
+
<parameters>
|
2563
|
+
<parameter name="info" transfer-ownership="none">
|
2564
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2565
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2566
|
+
</parameter>
|
2567
|
+
</parameters>
|
2568
|
+
</function>
|
2569
|
+
<function name="interface_info_get_n_signals"
|
2570
|
+
c:identifier="g_interface_info_get_n_signals">
|
2571
|
+
<doc xml:space="preserve">Obtain the number of signals that this interface type has.</doc>
|
2572
|
+
<return-value transfer-ownership="none">
|
2573
|
+
<doc xml:space="preserve">number of signals</doc>
|
2574
|
+
<type name="gint" c:type="gint"/>
|
2575
|
+
</return-value>
|
2576
|
+
<parameters>
|
2577
|
+
<parameter name="info" transfer-ownership="none">
|
2578
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2579
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2580
|
+
</parameter>
|
2581
|
+
</parameters>
|
2582
|
+
</function>
|
2583
|
+
<function name="interface_info_get_n_vfuncs"
|
2584
|
+
c:identifier="g_interface_info_get_n_vfuncs">
|
2585
|
+
<doc xml:space="preserve">Obtain the number of virtual functions that this interface type has.</doc>
|
2586
|
+
<return-value transfer-ownership="none">
|
2587
|
+
<doc xml:space="preserve">number of virtual functions</doc>
|
2588
|
+
<type name="gint" c:type="gint"/>
|
2589
|
+
</return-value>
|
2590
|
+
<parameters>
|
2591
|
+
<parameter name="info" transfer-ownership="none">
|
2592
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2593
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2594
|
+
</parameter>
|
2595
|
+
</parameters>
|
2596
|
+
</function>
|
2597
|
+
<function name="interface_info_get_prerequisite"
|
2598
|
+
c:identifier="g_interface_info_get_prerequisite">
|
2599
|
+
<doc xml:space="preserve">Obtain an interface type prerequisites index @n.</doc>
|
2600
|
+
<return-value transfer-ownership="full">
|
2601
|
+
<doc xml:space="preserve">the prerequisites as a #GIBaseInfo. Free the struct by calling
|
2602
|
+
g_base_info_unref() when done.</doc>
|
2603
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
2604
|
+
</return-value>
|
2605
|
+
<parameters>
|
2606
|
+
<parameter name="info" transfer-ownership="none">
|
2607
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2608
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2609
|
+
</parameter>
|
2610
|
+
<parameter name="n" transfer-ownership="none">
|
2611
|
+
<doc xml:space="preserve">index of prerequisites to get</doc>
|
2612
|
+
<type name="gint" c:type="gint"/>
|
2613
|
+
</parameter>
|
2614
|
+
</parameters>
|
2615
|
+
</function>
|
2616
|
+
<function name="interface_info_get_property"
|
2617
|
+
c:identifier="g_interface_info_get_property">
|
2618
|
+
<doc xml:space="preserve">Obtain an interface type property at index @n.</doc>
|
2619
|
+
<return-value transfer-ownership="full">
|
2620
|
+
<doc xml:space="preserve">the #GIPropertyInfo. Free the struct by calling
|
2621
|
+
g_base_info_unref() when done.</doc>
|
2622
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
2623
|
+
</return-value>
|
2624
|
+
<parameters>
|
2625
|
+
<parameter name="info" transfer-ownership="none">
|
2626
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2627
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2628
|
+
</parameter>
|
2629
|
+
<parameter name="n" transfer-ownership="none">
|
2630
|
+
<doc xml:space="preserve">index of property to get</doc>
|
2631
|
+
<type name="gint" c:type="gint"/>
|
2632
|
+
</parameter>
|
2633
|
+
</parameters>
|
2634
|
+
</function>
|
2635
|
+
<function name="interface_info_get_signal"
|
2636
|
+
c:identifier="g_interface_info_get_signal">
|
2637
|
+
<doc xml:space="preserve">Obtain an interface type signal at index @n.</doc>
|
2638
|
+
<return-value transfer-ownership="full">
|
2639
|
+
<doc xml:space="preserve">the #GISignalInfo. Free the struct by calling
|
2640
|
+
g_base_info_unref() when done.</doc>
|
2641
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
2642
|
+
</return-value>
|
2643
|
+
<parameters>
|
2644
|
+
<parameter name="info" transfer-ownership="none">
|
2645
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2646
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2647
|
+
</parameter>
|
2648
|
+
<parameter name="n" transfer-ownership="none">
|
2649
|
+
<doc xml:space="preserve">index of signal to get</doc>
|
2650
|
+
<type name="gint" c:type="gint"/>
|
2651
|
+
</parameter>
|
2652
|
+
</parameters>
|
2653
|
+
</function>
|
2654
|
+
<function name="interface_info_get_vfunc"
|
2655
|
+
c:identifier="g_interface_info_get_vfunc">
|
2656
|
+
<doc xml:space="preserve">Obtain an interface type virtual function at index @n.</doc>
|
2657
|
+
<return-value transfer-ownership="full">
|
2658
|
+
<doc xml:space="preserve">the #GIVFuncInfo. Free the struct by calling
|
2659
|
+
g_base_info_unref() when done.</doc>
|
2660
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
2661
|
+
</return-value>
|
2662
|
+
<parameters>
|
2663
|
+
<parameter name="info" transfer-ownership="none">
|
2664
|
+
<doc xml:space="preserve">a #GIInterfaceInfo</doc>
|
2665
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2666
|
+
</parameter>
|
2667
|
+
<parameter name="n" transfer-ownership="none">
|
2668
|
+
<doc xml:space="preserve">index of virtual function to get</doc>
|
2669
|
+
<type name="gint" c:type="gint"/>
|
2670
|
+
</parameter>
|
2671
|
+
</parameters>
|
2672
|
+
</function>
|
2673
|
+
<function name="invoke_error_quark" c:identifier="g_invoke_error_quark">
|
2674
|
+
<doc xml:space="preserve">TODO</doc>
|
2675
|
+
<return-value transfer-ownership="none">
|
2676
|
+
<doc xml:space="preserve">TODO</doc>
|
2677
|
+
<type name="GLib.Quark" c:type="GQuark"/>
|
2678
|
+
</return-value>
|
2679
|
+
</function>
|
2680
|
+
<enumeration name="nvokeError" c:type="GInvokeError">
|
2681
|
+
<doc xml:space="preserve">An error occuring while invoking a function via
|
2682
|
+
g_function_info_invoke().</doc>
|
2683
|
+
<member name="failed" value="0" c:identifier="G_INVOKE_ERROR_FAILED">
|
2684
|
+
<doc xml:space="preserve">invokation failed, unknown error.</doc>
|
2685
|
+
</member>
|
2686
|
+
<member name="symbol_not_found"
|
2687
|
+
value="1"
|
2688
|
+
c:identifier="G_INVOKE_ERROR_SYMBOL_NOT_FOUND">
|
2689
|
+
<doc xml:space="preserve">symbol couldn't be found in any of the
|
2690
|
+
libraries associated with the typelib of the function.</doc>
|
2691
|
+
</member>
|
2692
|
+
<member name="argument_mismatch"
|
2693
|
+
value="2"
|
2694
|
+
c:identifier="G_INVOKE_ERROR_ARGUMENT_MISMATCH">
|
2695
|
+
<doc xml:space="preserve">the arguments provided didn't match
|
2696
|
+
the expected arguments for the functions type signature.</doc>
|
2697
|
+
</member>
|
2698
|
+
</enumeration>
|
2699
|
+
<function name="object_info_find_method"
|
2700
|
+
c:identifier="g_object_info_find_method">
|
2701
|
+
<doc xml:space="preserve">Obtain a method of the object type given a @name. %NULL will be
|
2702
|
+
returned if there's no method available with that name.</doc>
|
2703
|
+
<return-value transfer-ownership="full">
|
2704
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2705
|
+
g_base_info_unref() when done.</doc>
|
2706
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2707
|
+
</return-value>
|
2708
|
+
<parameters>
|
2709
|
+
<parameter name="info" transfer-ownership="none">
|
2710
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2711
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2712
|
+
</parameter>
|
2713
|
+
<parameter name="name" transfer-ownership="none">
|
2714
|
+
<doc xml:space="preserve">name of method to obtain</doc>
|
2715
|
+
<type name="utf8" c:type="const gchar*"/>
|
2716
|
+
</parameter>
|
2717
|
+
</parameters>
|
2718
|
+
</function>
|
2719
|
+
<function name="object_info_find_method_using_interfaces"
|
2720
|
+
c:identifier="g_object_info_find_method_using_interfaces">
|
2721
|
+
<doc xml:space="preserve">Obtain a method of the object given a @name, searching both the
|
2722
|
+
object @info and any interfaces it implements. %NULL will be
|
2723
|
+
returned if there's no method available with that name.
|
2724
|
+
|
2725
|
+
Note that this function does *not* search parent classes; you will have
|
2726
|
+
to chain up if that's desired.</doc>
|
2727
|
+
<return-value transfer-ownership="full">
|
2728
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2729
|
+
g_base_info_unref() when done.</doc>
|
2730
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2731
|
+
</return-value>
|
2732
|
+
<parameters>
|
2733
|
+
<parameter name="info" transfer-ownership="none">
|
2734
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2735
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2736
|
+
</parameter>
|
2737
|
+
<parameter name="name" transfer-ownership="none">
|
2738
|
+
<doc xml:space="preserve">name of method to obtain</doc>
|
2739
|
+
<type name="utf8" c:type="const gchar*"/>
|
2740
|
+
</parameter>
|
2741
|
+
<parameter name="implementor"
|
2742
|
+
direction="out"
|
2743
|
+
caller-allocates="0"
|
2744
|
+
transfer-ownership="full">
|
2745
|
+
<doc xml:space="preserve">The implementor of the interface</doc>
|
2746
|
+
<type name="ObjectInfo" c:type="GIObjectInfo**"/>
|
2747
|
+
</parameter>
|
2748
|
+
</parameters>
|
2749
|
+
</function>
|
2750
|
+
<function name="object_info_find_signal"
|
2751
|
+
c:identifier="g_object_info_find_signal">
|
2752
|
+
<doc xml:space="preserve">TODO</doc>
|
2753
|
+
<return-value transfer-ownership="full">
|
2754
|
+
<doc xml:space="preserve">Info for the signal with name @name in @info, or %NULL on failure.</doc>
|
2755
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
2756
|
+
</return-value>
|
2757
|
+
<parameters>
|
2758
|
+
<parameter name="info" transfer-ownership="none">
|
2759
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2760
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2761
|
+
</parameter>
|
2762
|
+
<parameter name="name" transfer-ownership="none">
|
2763
|
+
<doc xml:space="preserve">Name of signal</doc>
|
2764
|
+
<type name="utf8" c:type="const gchar*"/>
|
2765
|
+
</parameter>
|
2766
|
+
</parameters>
|
2767
|
+
</function>
|
2768
|
+
<function name="object_info_find_vfunc"
|
2769
|
+
c:identifier="g_object_info_find_vfunc">
|
2770
|
+
<doc xml:space="preserve">Locate a virtual function slot with name @name. Note that the namespace
|
2771
|
+
for virtuals is distinct from that of methods; there may or may not be
|
2772
|
+
a concrete method associated for a virtual. If there is one, it may
|
2773
|
+
be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
|
2774
|
+
returned.
|
2775
|
+
See the documentation for g_vfunc_info_get_invoker() for more
|
2776
|
+
information on invoking virtuals.</doc>
|
2777
|
+
<return-value transfer-ownership="full">
|
2778
|
+
<doc xml:space="preserve">the #GIVFuncInfo, or %NULL. Free it with
|
2779
|
+
g_base_info_unref() when done.</doc>
|
2780
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
2781
|
+
</return-value>
|
2782
|
+
<parameters>
|
2783
|
+
<parameter name="info" transfer-ownership="none">
|
2784
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2785
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2786
|
+
</parameter>
|
2787
|
+
<parameter name="name" transfer-ownership="none">
|
2788
|
+
<doc xml:space="preserve">The name of a virtual function to find.</doc>
|
2789
|
+
<type name="utf8" c:type="const gchar*"/>
|
2790
|
+
</parameter>
|
2791
|
+
</parameters>
|
2792
|
+
</function>
|
2793
|
+
<function name="object_info_find_vfunc_using_interfaces"
|
2794
|
+
c:identifier="g_object_info_find_vfunc_using_interfaces">
|
2795
|
+
<doc xml:space="preserve">Locate a virtual function slot with name @name, searching both the object
|
2796
|
+
@info and any interfaces it implements. Note that the namespace for
|
2797
|
+
virtuals is distinct from that of methods; there may or may not be a
|
2798
|
+
concrete method associated for a virtual. If there is one, it may be
|
2799
|
+
retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
|
2800
|
+
returned.
|
2801
|
+
|
2802
|
+
Note that this function does *not* search parent classes; you will have
|
2803
|
+
to chain up if that's desired.</doc>
|
2804
|
+
<return-value transfer-ownership="full">
|
2805
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2806
|
+
g_base_info_unref() when done.</doc>
|
2807
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
2808
|
+
</return-value>
|
2809
|
+
<parameters>
|
2810
|
+
<parameter name="info" transfer-ownership="none">
|
2811
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2812
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2813
|
+
</parameter>
|
2814
|
+
<parameter name="name" transfer-ownership="none">
|
2815
|
+
<doc xml:space="preserve">name of method to obtain</doc>
|
2816
|
+
<type name="utf8" c:type="const gchar*"/>
|
2817
|
+
</parameter>
|
2818
|
+
<parameter name="implementor"
|
2819
|
+
direction="out"
|
2820
|
+
caller-allocates="0"
|
2821
|
+
transfer-ownership="full">
|
2822
|
+
<doc xml:space="preserve">The implementor of the interface</doc>
|
2823
|
+
<type name="ObjectInfo" c:type="GIObjectInfo**"/>
|
2824
|
+
</parameter>
|
2825
|
+
</parameters>
|
2826
|
+
</function>
|
2827
|
+
<function name="object_info_get_abstract"
|
2828
|
+
c:identifier="g_object_info_get_abstract">
|
2829
|
+
<doc xml:space="preserve">Obtain if the object type is an abstract type, eg if it cannot be
|
2830
|
+
instantiated</doc>
|
2831
|
+
<return-value transfer-ownership="none">
|
2832
|
+
<doc xml:space="preserve">%TRUE if the object type is abstract</doc>
|
2833
|
+
<type name="gboolean" c:type="gboolean"/>
|
2834
|
+
</return-value>
|
2835
|
+
<parameters>
|
2836
|
+
<parameter name="info" transfer-ownership="none">
|
2837
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2838
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2839
|
+
</parameter>
|
2840
|
+
</parameters>
|
2841
|
+
</function>
|
2842
|
+
<function name="object_info_get_class_struct"
|
2843
|
+
c:identifier="g_object_info_get_class_struct">
|
2844
|
+
<doc xml:space="preserve">Every #GObject has two structures; an instance structure and a class
|
2845
|
+
structure. This function returns the metadata for the class structure.</doc>
|
2846
|
+
<return-value transfer-ownership="full">
|
2847
|
+
<doc xml:space="preserve">the #GIStructInfo or %NULL. Free with
|
2848
|
+
g_base_info_unref() when done.</doc>
|
2849
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
2850
|
+
</return-value>
|
2851
|
+
<parameters>
|
2852
|
+
<parameter name="info" transfer-ownership="none">
|
2853
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2854
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2855
|
+
</parameter>
|
2856
|
+
</parameters>
|
2857
|
+
</function>
|
2858
|
+
<function name="object_info_get_constant"
|
2859
|
+
c:identifier="g_object_info_get_constant">
|
2860
|
+
<doc xml:space="preserve">Obtain an object type constant at index @n.</doc>
|
2861
|
+
<return-value transfer-ownership="full">
|
2862
|
+
<doc xml:space="preserve">the #GIConstantInfo. Free the struct by calling
|
2863
|
+
g_base_info_unref() when done.</doc>
|
2864
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
2865
|
+
</return-value>
|
2866
|
+
<parameters>
|
2867
|
+
<parameter name="info" transfer-ownership="none">
|
2868
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2869
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2870
|
+
</parameter>
|
2871
|
+
<parameter name="n" transfer-ownership="none">
|
2872
|
+
<doc xml:space="preserve">index of constant to get</doc>
|
2873
|
+
<type name="gint" c:type="gint"/>
|
2874
|
+
</parameter>
|
2875
|
+
</parameters>
|
2876
|
+
</function>
|
2877
|
+
<function name="object_info_get_field"
|
2878
|
+
c:identifier="g_object_info_get_field">
|
2879
|
+
<doc xml:space="preserve">Obtain an object type field at index @n.</doc>
|
2880
|
+
<return-value transfer-ownership="full">
|
2881
|
+
<doc xml:space="preserve">the #GIFieldInfo. Free the struct by calling
|
2882
|
+
g_base_info_unref() when done.</doc>
|
2883
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
2884
|
+
</return-value>
|
2885
|
+
<parameters>
|
2886
|
+
<parameter name="info" transfer-ownership="none">
|
2887
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2888
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2889
|
+
</parameter>
|
2890
|
+
<parameter name="n" transfer-ownership="none">
|
2891
|
+
<doc xml:space="preserve">index of field to get</doc>
|
2892
|
+
<type name="gint" c:type="gint"/>
|
2893
|
+
</parameter>
|
2894
|
+
</parameters>
|
2895
|
+
</function>
|
2896
|
+
<function name="object_info_get_fundamental"
|
2897
|
+
c:identifier="g_object_info_get_fundamental">
|
2898
|
+
<doc xml:space="preserve">Obtain if the object type is of a fundamental type which is not
|
2899
|
+
G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</doc>
|
2900
|
+
<return-value transfer-ownership="none">
|
2901
|
+
<doc xml:space="preserve">%TRUE if the object type is a fundamental type</doc>
|
2902
|
+
<type name="gboolean" c:type="gboolean"/>
|
2903
|
+
</return-value>
|
2904
|
+
<parameters>
|
2905
|
+
<parameter name="info" transfer-ownership="none">
|
2906
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2907
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2908
|
+
</parameter>
|
2909
|
+
</parameters>
|
2910
|
+
</function>
|
2911
|
+
<function name="object_info_get_get_value_function"
|
2912
|
+
c:identifier="g_object_info_get_get_value_function">
|
2913
|
+
<doc xml:space="preserve">Obtain the symbol name of the function that should be called to convert
|
2914
|
+
an object instance pointer of this object type to a GValue.
|
2915
|
+
I's mainly used fundamental types. The type signature for the symbol
|
2916
|
+
is %GIObjectInfoGetValueFunction, to fetch the function pointer
|
2917
|
+
see g_object_info_get_get_value_function().</doc>
|
2918
|
+
<return-value transfer-ownership="none">
|
2919
|
+
<doc xml:space="preserve">the symbol or %NULL</doc>
|
2920
|
+
<type name="utf8" c:type="const char*"/>
|
2921
|
+
</return-value>
|
2922
|
+
<parameters>
|
2923
|
+
<parameter name="info" transfer-ownership="none">
|
2924
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2925
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2926
|
+
</parameter>
|
2927
|
+
</parameters>
|
2928
|
+
</function>
|
2929
|
+
<function name="object_info_get_get_value_function_pointer"
|
2930
|
+
c:identifier="g_object_info_get_get_value_function_pointer"
|
2931
|
+
introspectable="0">
|
2932
|
+
<doc xml:space="preserve">Obtain a pointer to a function which can be used to
|
2933
|
+
extract an instance of this object type out of a GValue.
|
2934
|
+
This takes derivation into account and will reversely traverse
|
2935
|
+
the base classes of this type, starting at the top type.</doc>
|
2936
|
+
<return-value>
|
2937
|
+
<doc xml:space="preserve">the function pointer or %NULL</doc>
|
2938
|
+
<type name="ObjectInfoGetValueFunction"
|
2939
|
+
c:type="GIObjectInfoGetValueFunction"/>
|
2940
|
+
</return-value>
|
2941
|
+
<parameters>
|
2942
|
+
<parameter name="info" transfer-ownership="none">
|
2943
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2944
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2945
|
+
</parameter>
|
2946
|
+
</parameters>
|
2947
|
+
</function>
|
2948
|
+
<function name="object_info_get_interface"
|
2949
|
+
c:identifier="g_object_info_get_interface">
|
2950
|
+
<doc xml:space="preserve">Obtain an object type interface at index @n.</doc>
|
2951
|
+
<return-value transfer-ownership="full">
|
2952
|
+
<doc xml:space="preserve">the #GIInterfaceInfo. Free the struct by calling
|
2953
|
+
g_base_info_unref() when done.</doc>
|
2954
|
+
<type name="InterfaceInfo" c:type="GIInterfaceInfo*"/>
|
2955
|
+
</return-value>
|
2956
|
+
<parameters>
|
2957
|
+
<parameter name="info" transfer-ownership="none">
|
2958
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2959
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2960
|
+
</parameter>
|
2961
|
+
<parameter name="n" transfer-ownership="none">
|
2962
|
+
<doc xml:space="preserve">index of interface to get</doc>
|
2963
|
+
<type name="gint" c:type="gint"/>
|
2964
|
+
</parameter>
|
2965
|
+
</parameters>
|
2966
|
+
</function>
|
2967
|
+
<function name="object_info_get_method"
|
2968
|
+
c:identifier="g_object_info_get_method">
|
2969
|
+
<doc xml:space="preserve">Obtain an object type method at index @n.</doc>
|
2970
|
+
<return-value transfer-ownership="full">
|
2971
|
+
<doc xml:space="preserve">the #GIFunctionInfo. Free the struct by calling
|
2972
|
+
g_base_info_unref() when done.</doc>
|
2973
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
2974
|
+
</return-value>
|
2975
|
+
<parameters>
|
2976
|
+
<parameter name="info" transfer-ownership="none">
|
2977
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2978
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2979
|
+
</parameter>
|
2980
|
+
<parameter name="n" transfer-ownership="none">
|
2981
|
+
<doc xml:space="preserve">index of method to get</doc>
|
2982
|
+
<type name="gint" c:type="gint"/>
|
2983
|
+
</parameter>
|
2984
|
+
</parameters>
|
2985
|
+
</function>
|
2986
|
+
<function name="object_info_get_n_constants"
|
2987
|
+
c:identifier="g_object_info_get_n_constants">
|
2988
|
+
<doc xml:space="preserve">Obtain the number of constants that this object type has.</doc>
|
2989
|
+
<return-value transfer-ownership="none">
|
2990
|
+
<doc xml:space="preserve">number of constants</doc>
|
2991
|
+
<type name="gint" c:type="gint"/>
|
2992
|
+
</return-value>
|
2993
|
+
<parameters>
|
2994
|
+
<parameter name="info" transfer-ownership="none">
|
2995
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
2996
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
2997
|
+
</parameter>
|
2998
|
+
</parameters>
|
2999
|
+
</function>
|
3000
|
+
<function name="object_info_get_n_fields"
|
3001
|
+
c:identifier="g_object_info_get_n_fields">
|
3002
|
+
<doc xml:space="preserve">Obtain the number of fields that this object type has.</doc>
|
3003
|
+
<return-value transfer-ownership="none">
|
3004
|
+
<doc xml:space="preserve">number of fields</doc>
|
3005
|
+
<type name="gint" c:type="gint"/>
|
3006
|
+
</return-value>
|
3007
|
+
<parameters>
|
3008
|
+
<parameter name="info" transfer-ownership="none">
|
3009
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3010
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3011
|
+
</parameter>
|
3012
|
+
</parameters>
|
3013
|
+
</function>
|
3014
|
+
<function name="object_info_get_n_interfaces"
|
3015
|
+
c:identifier="g_object_info_get_n_interfaces">
|
3016
|
+
<doc xml:space="preserve">Obtain the number of interfaces that this object type has.</doc>
|
3017
|
+
<return-value transfer-ownership="none">
|
3018
|
+
<doc xml:space="preserve">number of interfaces</doc>
|
3019
|
+
<type name="gint" c:type="gint"/>
|
3020
|
+
</return-value>
|
3021
|
+
<parameters>
|
3022
|
+
<parameter name="info" transfer-ownership="none">
|
3023
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3024
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3025
|
+
</parameter>
|
3026
|
+
</parameters>
|
3027
|
+
</function>
|
3028
|
+
<function name="object_info_get_n_methods"
|
3029
|
+
c:identifier="g_object_info_get_n_methods">
|
3030
|
+
<doc xml:space="preserve">Obtain the number of methods that this object type has.</doc>
|
3031
|
+
<return-value transfer-ownership="none">
|
3032
|
+
<doc xml:space="preserve">number of methods</doc>
|
3033
|
+
<type name="gint" c:type="gint"/>
|
3034
|
+
</return-value>
|
3035
|
+
<parameters>
|
3036
|
+
<parameter name="info" transfer-ownership="none">
|
3037
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3038
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3039
|
+
</parameter>
|
3040
|
+
</parameters>
|
3041
|
+
</function>
|
3042
|
+
<function name="object_info_get_n_properties"
|
3043
|
+
c:identifier="g_object_info_get_n_properties">
|
3044
|
+
<doc xml:space="preserve">Obtain the number of properties that this object type has.</doc>
|
3045
|
+
<return-value transfer-ownership="none">
|
3046
|
+
<doc xml:space="preserve">number of properties</doc>
|
3047
|
+
<type name="gint" c:type="gint"/>
|
3048
|
+
</return-value>
|
3049
|
+
<parameters>
|
3050
|
+
<parameter name="info" transfer-ownership="none">
|
3051
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3052
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3053
|
+
</parameter>
|
3054
|
+
</parameters>
|
3055
|
+
</function>
|
3056
|
+
<function name="object_info_get_n_signals"
|
3057
|
+
c:identifier="g_object_info_get_n_signals">
|
3058
|
+
<doc xml:space="preserve">Obtain the number of signals that this object type has.</doc>
|
3059
|
+
<return-value transfer-ownership="none">
|
3060
|
+
<doc xml:space="preserve">number of signals</doc>
|
3061
|
+
<type name="gint" c:type="gint"/>
|
3062
|
+
</return-value>
|
3063
|
+
<parameters>
|
3064
|
+
<parameter name="info" transfer-ownership="none">
|
3065
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3066
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3067
|
+
</parameter>
|
3068
|
+
</parameters>
|
3069
|
+
</function>
|
3070
|
+
<function name="object_info_get_n_vfuncs"
|
3071
|
+
c:identifier="g_object_info_get_n_vfuncs">
|
3072
|
+
<doc xml:space="preserve">Obtain the number of virtual functions that this object type has.</doc>
|
3073
|
+
<return-value transfer-ownership="none">
|
3074
|
+
<doc xml:space="preserve">number of virtual functions</doc>
|
3075
|
+
<type name="gint" c:type="gint"/>
|
3076
|
+
</return-value>
|
3077
|
+
<parameters>
|
3078
|
+
<parameter name="info" transfer-ownership="none">
|
3079
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3080
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3081
|
+
</parameter>
|
3082
|
+
</parameters>
|
3083
|
+
</function>
|
3084
|
+
<function name="object_info_get_parent"
|
3085
|
+
c:identifier="g_object_info_get_parent">
|
3086
|
+
<doc xml:space="preserve">Obtain the parent of the object type.</doc>
|
3087
|
+
<return-value transfer-ownership="full">
|
3088
|
+
<doc xml:space="preserve">the #GIObjectInfo. Free the struct by calling
|
3089
|
+
g_base_info_unref() when done.</doc>
|
3090
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3091
|
+
</return-value>
|
3092
|
+
<parameters>
|
3093
|
+
<parameter name="info" transfer-ownership="none">
|
3094
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3095
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3096
|
+
</parameter>
|
3097
|
+
</parameters>
|
3098
|
+
</function>
|
3099
|
+
<function name="object_info_get_property"
|
3100
|
+
c:identifier="g_object_info_get_property">
|
3101
|
+
<doc xml:space="preserve">Obtain an object type property at index @n.</doc>
|
3102
|
+
<return-value transfer-ownership="full">
|
3103
|
+
<doc xml:space="preserve">the #GIPropertyInfo. Free the struct by calling
|
3104
|
+
g_base_info_unref() when done.</doc>
|
3105
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
3106
|
+
</return-value>
|
3107
|
+
<parameters>
|
3108
|
+
<parameter name="info" transfer-ownership="none">
|
3109
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3110
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3111
|
+
</parameter>
|
3112
|
+
<parameter name="n" transfer-ownership="none">
|
3113
|
+
<doc xml:space="preserve">index of property to get</doc>
|
3114
|
+
<type name="gint" c:type="gint"/>
|
3115
|
+
</parameter>
|
3116
|
+
</parameters>
|
3117
|
+
</function>
|
3118
|
+
<function name="object_info_get_ref_function"
|
3119
|
+
c:identifier="g_object_info_get_ref_function">
|
3120
|
+
<doc xml:space="preserve">Obtain the symbol name of the function that should be called to ref this
|
3121
|
+
object type. It's mainly used fundamental types. The type signature for
|
3122
|
+
the symbol is %GIObjectInfoRefFunction, to fetch the function pointer
|
3123
|
+
see g_object_info_get_ref_function().</doc>
|
3124
|
+
<return-value transfer-ownership="none">
|
3125
|
+
<doc xml:space="preserve">the symbol or %NULL</doc>
|
3126
|
+
<type name="utf8" c:type="const char*"/>
|
3127
|
+
</return-value>
|
3128
|
+
<parameters>
|
3129
|
+
<parameter name="info" transfer-ownership="none">
|
3130
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3131
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3132
|
+
</parameter>
|
3133
|
+
</parameters>
|
3134
|
+
</function>
|
3135
|
+
<function name="object_info_get_ref_function_pointer"
|
3136
|
+
c:identifier="g_object_info_get_ref_function_pointer"
|
3137
|
+
introspectable="0">
|
3138
|
+
<doc xml:space="preserve">Obtain a pointer to a function which can be used to
|
3139
|
+
increase the reference count an instance of this object type.
|
3140
|
+
This takes derivation into account and will reversely traverse
|
3141
|
+
the base classes of this type, starting at the top type.</doc>
|
3142
|
+
<return-value>
|
3143
|
+
<doc xml:space="preserve">the function pointer or %NULL</doc>
|
3144
|
+
<type name="ObjectInfoRefFunction" c:type="GIObjectInfoRefFunction"/>
|
3145
|
+
</return-value>
|
3146
|
+
<parameters>
|
3147
|
+
<parameter name="info" transfer-ownership="none">
|
3148
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3149
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3150
|
+
</parameter>
|
3151
|
+
</parameters>
|
3152
|
+
</function>
|
3153
|
+
<function name="object_info_get_set_value_function"
|
3154
|
+
c:identifier="g_object_info_get_set_value_function">
|
3155
|
+
<doc xml:space="preserve">Obtain the symbol name of the function that should be called to convert
|
3156
|
+
set a GValue giving an object instance pointer of this object type.
|
3157
|
+
I's mainly used fundamental types. The type signature for the symbol
|
3158
|
+
is %GIObjectInfoSetValueFunction, to fetch the function pointer
|
3159
|
+
see g_object_info_get_set_value_function().</doc>
|
3160
|
+
<return-value transfer-ownership="none">
|
3161
|
+
<doc xml:space="preserve">the symbol or %NULL</doc>
|
3162
|
+
<type name="utf8" c:type="const char*"/>
|
3163
|
+
</return-value>
|
3164
|
+
<parameters>
|
3165
|
+
<parameter name="info" transfer-ownership="none">
|
3166
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3167
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3168
|
+
</parameter>
|
3169
|
+
</parameters>
|
3170
|
+
</function>
|
3171
|
+
<function name="object_info_get_set_value_function_pointer"
|
3172
|
+
c:identifier="g_object_info_get_set_value_function_pointer"
|
3173
|
+
introspectable="0">
|
3174
|
+
<doc xml:space="preserve">Obtain a pointer to a function which can be used to
|
3175
|
+
set a GValue given an instance of this object type.
|
3176
|
+
This takes derivation into account and will reversely traverse
|
3177
|
+
the base classes of this type, starting at the top type.</doc>
|
3178
|
+
<return-value>
|
3179
|
+
<doc xml:space="preserve">the function pointer or %NULL</doc>
|
3180
|
+
<type name="ObjectInfoSetValueFunction"
|
3181
|
+
c:type="GIObjectInfoSetValueFunction"/>
|
3182
|
+
</return-value>
|
3183
|
+
<parameters>
|
3184
|
+
<parameter name="info" transfer-ownership="none">
|
3185
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3186
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3187
|
+
</parameter>
|
3188
|
+
</parameters>
|
3189
|
+
</function>
|
3190
|
+
<function name="object_info_get_signal"
|
3191
|
+
c:identifier="g_object_info_get_signal">
|
3192
|
+
<doc xml:space="preserve">Obtain an object type signal at index @n.</doc>
|
3193
|
+
<return-value transfer-ownership="full">
|
3194
|
+
<doc xml:space="preserve">the #GISignalInfo. Free the struct by calling
|
3195
|
+
g_base_info_unref() when done.</doc>
|
3196
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
3197
|
+
</return-value>
|
3198
|
+
<parameters>
|
3199
|
+
<parameter name="info" transfer-ownership="none">
|
3200
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3201
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3202
|
+
</parameter>
|
3203
|
+
<parameter name="n" transfer-ownership="none">
|
3204
|
+
<doc xml:space="preserve">index of signal to get</doc>
|
3205
|
+
<type name="gint" c:type="gint"/>
|
3206
|
+
</parameter>
|
3207
|
+
</parameters>
|
3208
|
+
</function>
|
3209
|
+
<function name="object_info_get_type_init"
|
3210
|
+
c:identifier="g_object_info_get_type_init">
|
3211
|
+
<doc xml:space="preserve">Obtain the function which when called will return the GType
|
3212
|
+
function for which this object type is registered.</doc>
|
3213
|
+
<return-value transfer-ownership="none">
|
3214
|
+
<doc xml:space="preserve">the type init function</doc>
|
3215
|
+
<type name="utf8" c:type="const gchar*"/>
|
3216
|
+
</return-value>
|
3217
|
+
<parameters>
|
3218
|
+
<parameter name="info" transfer-ownership="none">
|
3219
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3220
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3221
|
+
</parameter>
|
3222
|
+
</parameters>
|
3223
|
+
</function>
|
3224
|
+
<function name="object_info_get_type_name"
|
3225
|
+
c:identifier="g_object_info_get_type_name">
|
3226
|
+
<doc xml:space="preserve">Obtain the name of the objects class/type.</doc>
|
3227
|
+
<return-value transfer-ownership="none">
|
3228
|
+
<doc xml:space="preserve">name of the objects type</doc>
|
3229
|
+
<type name="utf8" c:type="const gchar*"/>
|
3230
|
+
</return-value>
|
3231
|
+
<parameters>
|
3232
|
+
<parameter name="info" transfer-ownership="none">
|
3233
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3234
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3235
|
+
</parameter>
|
3236
|
+
</parameters>
|
3237
|
+
</function>
|
3238
|
+
<function name="object_info_get_unref_function"
|
3239
|
+
c:identifier="g_object_info_get_unref_function">
|
3240
|
+
<doc xml:space="preserve">Obtain the symbol name of the function that should be called to unref this
|
3241
|
+
object type. It's mainly used fundamental types. The type signature for
|
3242
|
+
the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer
|
3243
|
+
see g_object_info_get_unref_function().</doc>
|
3244
|
+
<return-value transfer-ownership="none">
|
3245
|
+
<doc xml:space="preserve">the symbol or %NULL</doc>
|
3246
|
+
<type name="utf8" c:type="const char*"/>
|
3247
|
+
</return-value>
|
3248
|
+
<parameters>
|
3249
|
+
<parameter name="info" transfer-ownership="none">
|
3250
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3251
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3252
|
+
</parameter>
|
3253
|
+
</parameters>
|
3254
|
+
</function>
|
3255
|
+
<function name="object_info_get_unref_function_pointer"
|
3256
|
+
c:identifier="g_object_info_get_unref_function_pointer"
|
3257
|
+
introspectable="0">
|
3258
|
+
<doc xml:space="preserve">Obtain a pointer to a function which can be used to
|
3259
|
+
decrease the reference count an instance of this object type.
|
3260
|
+
This takes derivation into account and will reversely traverse
|
3261
|
+
the base classes of this type, starting at the top type.</doc>
|
3262
|
+
<return-value>
|
3263
|
+
<doc xml:space="preserve">the function pointer or %NULL</doc>
|
3264
|
+
<type name="ObjectInfoUnrefFunction"
|
3265
|
+
c:type="GIObjectInfoUnrefFunction"/>
|
3266
|
+
</return-value>
|
3267
|
+
<parameters>
|
3268
|
+
<parameter name="info" transfer-ownership="none">
|
3269
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3270
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3271
|
+
</parameter>
|
3272
|
+
</parameters>
|
3273
|
+
</function>
|
3274
|
+
<function name="object_info_get_vfunc"
|
3275
|
+
c:identifier="g_object_info_get_vfunc">
|
3276
|
+
<doc xml:space="preserve">Obtain an object type virtual function at index @n.</doc>
|
3277
|
+
<return-value transfer-ownership="full">
|
3278
|
+
<doc xml:space="preserve">the #GIVFuncInfo. Free the struct by calling
|
3279
|
+
g_base_info_unref() when done.</doc>
|
3280
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3281
|
+
</return-value>
|
3282
|
+
<parameters>
|
3283
|
+
<parameter name="info" transfer-ownership="none">
|
3284
|
+
<doc xml:space="preserve">a #GIObjectInfo</doc>
|
3285
|
+
<type name="ObjectInfo" c:type="GIObjectInfo*"/>
|
3286
|
+
</parameter>
|
3287
|
+
<parameter name="n" transfer-ownership="none">
|
3288
|
+
<doc xml:space="preserve">index of virtual function to get</doc>
|
3289
|
+
<type name="gint" c:type="gint"/>
|
3290
|
+
</parameter>
|
3291
|
+
</parameters>
|
3292
|
+
</function>
|
3293
|
+
<function name="property_info_get_flags"
|
3294
|
+
c:identifier="g_property_info_get_flags">
|
3295
|
+
<doc xml:space="preserve">Obtain the flags for this property info. See #GParamFlags for
|
3296
|
+
more information about possible flag values.</doc>
|
3297
|
+
<return-value transfer-ownership="none">
|
3298
|
+
<doc xml:space="preserve">the flags</doc>
|
3299
|
+
<type name="GObject.ParamFlags" c:type="GParamFlags"/>
|
3300
|
+
</return-value>
|
3301
|
+
<parameters>
|
3302
|
+
<parameter name="info" transfer-ownership="none">
|
3303
|
+
<doc xml:space="preserve">a #GIPropertyInfo</doc>
|
3304
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
3305
|
+
</parameter>
|
3306
|
+
</parameters>
|
3307
|
+
</function>
|
3308
|
+
<function name="property_info_get_ownership_transfer"
|
3309
|
+
c:identifier="g_property_info_get_ownership_transfer">
|
3310
|
+
<doc xml:space="preserve">Obtain the ownership transfer for this property. See #GITransfer for more
|
3311
|
+
information about transfer values.</doc>
|
3312
|
+
<return-value transfer-ownership="none">
|
3313
|
+
<doc xml:space="preserve">the transfer</doc>
|
3314
|
+
<type name="Transfer" c:type="GITransfer"/>
|
3315
|
+
</return-value>
|
3316
|
+
<parameters>
|
3317
|
+
<parameter name="info" transfer-ownership="none">
|
3318
|
+
<doc xml:space="preserve">a #GIPropertyInfo</doc>
|
3319
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
3320
|
+
</parameter>
|
3321
|
+
</parameters>
|
3322
|
+
</function>
|
3323
|
+
<function name="property_info_get_type"
|
3324
|
+
c:identifier="g_property_info_get_type">
|
3325
|
+
<doc xml:space="preserve">Obtain the type information for the property @info.</doc>
|
3326
|
+
<return-value transfer-ownership="full">
|
3327
|
+
<doc xml:space="preserve">the #GITypeInfo, free it with
|
3328
|
+
g_base_info_unref() when done.</doc>
|
3329
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3330
|
+
</return-value>
|
3331
|
+
<parameters>
|
3332
|
+
<parameter name="info" transfer-ownership="none">
|
3333
|
+
<doc xml:space="preserve">a #GIPropertyInfo</doc>
|
3334
|
+
<type name="PropertyInfo" c:type="GIPropertyInfo*"/>
|
3335
|
+
</parameter>
|
3336
|
+
</parameters>
|
3337
|
+
</function>
|
3338
|
+
<function name="registered_type_info_get_g_type"
|
3339
|
+
c:identifier="g_registered_type_info_get_g_type">
|
3340
|
+
<doc xml:space="preserve">Obtain the #GType for this registered type or G_TYPE_NONE which a special meaning.
|
3341
|
+
It means that either there is no type information associated with this @info or
|
3342
|
+
that the shared library which provides the type_init function for this
|
3343
|
+
@info cannot be called.</doc>
|
3344
|
+
<return-value transfer-ownership="none">
|
3345
|
+
<doc xml:space="preserve">the #GType.</doc>
|
3346
|
+
<type name="GType" c:type="GType"/>
|
3347
|
+
</return-value>
|
3348
|
+
<parameters>
|
3349
|
+
<parameter name="info" transfer-ownership="none">
|
3350
|
+
<doc xml:space="preserve">a #GIRegisteredTypeInfo</doc>
|
3351
|
+
<type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
|
3352
|
+
</parameter>
|
3353
|
+
</parameters>
|
3354
|
+
</function>
|
3355
|
+
<function name="registered_type_info_get_type_init"
|
3356
|
+
c:identifier="g_registered_type_info_get_type_init">
|
3357
|
+
<doc xml:space="preserve">Obtain the type init function for @info. The type init function is the
|
3358
|
+
function which will register the GType within the GObject type system.
|
3359
|
+
Usually this is not called by langauge bindings or applications, use
|
3360
|
+
g_registered_type_info_get_g_type() directly instead.</doc>
|
3361
|
+
<return-value transfer-ownership="none">
|
3362
|
+
<doc xml:space="preserve">the symbol name of the type init function, suitable for
|
3363
|
+
passing into g_module_symbol().</doc>
|
3364
|
+
<type name="utf8" c:type="const gchar*"/>
|
3365
|
+
</return-value>
|
3366
|
+
<parameters>
|
3367
|
+
<parameter name="info" transfer-ownership="none">
|
3368
|
+
<doc xml:space="preserve">a #GIRegisteredTypeInfo</doc>
|
3369
|
+
<type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
|
3370
|
+
</parameter>
|
3371
|
+
</parameters>
|
3372
|
+
</function>
|
3373
|
+
<function name="registered_type_info_get_type_name"
|
3374
|
+
c:identifier="g_registered_type_info_get_type_name">
|
3375
|
+
<doc xml:space="preserve">Obtain the type name of the struct within the GObject type system.
|
3376
|
+
This type can be passed to g_type_name() to get a #GType.</doc>
|
3377
|
+
<return-value transfer-ownership="none">
|
3378
|
+
<doc xml:space="preserve">the type name</doc>
|
3379
|
+
<type name="utf8" c:type="const gchar*"/>
|
3380
|
+
</return-value>
|
3381
|
+
<parameters>
|
3382
|
+
<parameter name="info" transfer-ownership="none">
|
3383
|
+
<doc xml:space="preserve">a #GIRegisteredTypeInfo</doc>
|
3384
|
+
<type name="RegisteredTypeInfo" c:type="GIRegisteredTypeInfo*"/>
|
3385
|
+
</parameter>
|
3386
|
+
</parameters>
|
3387
|
+
</function>
|
3388
|
+
<function name="signal_info_get_class_closure"
|
3389
|
+
c:identifier="g_signal_info_get_class_closure">
|
3390
|
+
<doc xml:space="preserve">Obtain the class closure for this signal if one is set. The class
|
3391
|
+
closure is a virtual function on the type that the signal belongs to.
|
3392
|
+
If the signal lacks a closure %NULL will be returned.</doc>
|
3393
|
+
<return-value transfer-ownership="full">
|
3394
|
+
<doc xml:space="preserve">the class closure or %NULL</doc>
|
3395
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3396
|
+
</return-value>
|
3397
|
+
<parameters>
|
3398
|
+
<parameter name="info" transfer-ownership="none">
|
3399
|
+
<doc xml:space="preserve">a #GISignalInfo</doc>
|
3400
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
3401
|
+
</parameter>
|
3402
|
+
</parameters>
|
3403
|
+
</function>
|
3404
|
+
<function name="signal_info_get_flags"
|
3405
|
+
c:identifier="g_signal_info_get_flags">
|
3406
|
+
<doc xml:space="preserve">Obtain the flags for this signal info. See #GSignalFlags for
|
3407
|
+
more information about possible flag values.</doc>
|
3408
|
+
<return-value transfer-ownership="none">
|
3409
|
+
<doc xml:space="preserve">the flags</doc>
|
3410
|
+
<type name="GObject.SignalFlags" c:type="GSignalFlags"/>
|
3411
|
+
</return-value>
|
3412
|
+
<parameters>
|
3413
|
+
<parameter name="info" transfer-ownership="none">
|
3414
|
+
<doc xml:space="preserve">a #GISignalInfo</doc>
|
3415
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
3416
|
+
</parameter>
|
3417
|
+
</parameters>
|
3418
|
+
</function>
|
3419
|
+
<function name="signal_info_true_stops_emit"
|
3420
|
+
c:identifier="g_signal_info_true_stops_emit">
|
3421
|
+
<doc xml:space="preserve">Obtain if the returning true in the signal handler will
|
3422
|
+
stop the emission of the signal.</doc>
|
3423
|
+
<return-value transfer-ownership="none">
|
3424
|
+
<doc xml:space="preserve">%TRUE if returning true stops the signal emission</doc>
|
3425
|
+
<type name="gboolean" c:type="gboolean"/>
|
3426
|
+
</return-value>
|
3427
|
+
<parameters>
|
3428
|
+
<parameter name="info" transfer-ownership="none">
|
3429
|
+
<doc xml:space="preserve">a #GISignalInfo</doc>
|
3430
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
3431
|
+
</parameter>
|
3432
|
+
</parameters>
|
3433
|
+
</function>
|
3434
|
+
<function name="struct_info_find_method"
|
3435
|
+
c:identifier="g_struct_info_find_method">
|
3436
|
+
<doc xml:space="preserve">Obtain the type information for method named @name.</doc>
|
3437
|
+
<return-value transfer-ownership="full">
|
3438
|
+
<doc xml:space="preserve">the #GIFunctionInfo, free it with g_base_info_unref()
|
3439
|
+
when done.</doc>
|
3440
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
3441
|
+
</return-value>
|
3442
|
+
<parameters>
|
3443
|
+
<parameter name="info" transfer-ownership="none">
|
3444
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3445
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3446
|
+
</parameter>
|
3447
|
+
<parameter name="name" transfer-ownership="none">
|
3448
|
+
<doc xml:space="preserve">a method name</doc>
|
3449
|
+
<type name="utf8" c:type="const gchar*"/>
|
3450
|
+
</parameter>
|
3451
|
+
</parameters>
|
3452
|
+
</function>
|
3453
|
+
<function name="struct_info_get_alignment"
|
3454
|
+
c:identifier="g_struct_info_get_alignment">
|
3455
|
+
<doc xml:space="preserve">Obtain the required alignment of the structure.</doc>
|
3456
|
+
<return-value transfer-ownership="none">
|
3457
|
+
<doc xml:space="preserve">required alignment in bytes</doc>
|
3458
|
+
<type name="gsize" c:type="gsize"/>
|
3459
|
+
</return-value>
|
3460
|
+
<parameters>
|
3461
|
+
<parameter name="info" transfer-ownership="none">
|
3462
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3463
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3464
|
+
</parameter>
|
3465
|
+
</parameters>
|
3466
|
+
</function>
|
3467
|
+
<function name="struct_info_get_field"
|
3468
|
+
c:identifier="g_struct_info_get_field">
|
3469
|
+
<doc xml:space="preserve">Obtain the type information for field with specified index.</doc>
|
3470
|
+
<return-value transfer-ownership="full">
|
3471
|
+
<doc xml:space="preserve">the #GIFieldInfo, free it with g_base_info_unref()
|
3472
|
+
when done.</doc>
|
3473
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
3474
|
+
</return-value>
|
3475
|
+
<parameters>
|
3476
|
+
<parameter name="info" transfer-ownership="none">
|
3477
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3478
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3479
|
+
</parameter>
|
3480
|
+
<parameter name="n" transfer-ownership="none">
|
3481
|
+
<doc xml:space="preserve">a field index</doc>
|
3482
|
+
<type name="gint" c:type="gint"/>
|
3483
|
+
</parameter>
|
3484
|
+
</parameters>
|
3485
|
+
</function>
|
3486
|
+
<function name="struct_info_get_method"
|
3487
|
+
c:identifier="g_struct_info_get_method">
|
3488
|
+
<doc xml:space="preserve">Obtain the type information for method with specified index.</doc>
|
3489
|
+
<return-value transfer-ownership="full">
|
3490
|
+
<doc xml:space="preserve">the #GIFunctionInfo, free it with g_base_info_unref()
|
3491
|
+
when done.</doc>
|
3492
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
3493
|
+
</return-value>
|
3494
|
+
<parameters>
|
3495
|
+
<parameter name="info" transfer-ownership="none">
|
3496
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3497
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3498
|
+
</parameter>
|
3499
|
+
<parameter name="n" transfer-ownership="none">
|
3500
|
+
<doc xml:space="preserve">a method index</doc>
|
3501
|
+
<type name="gint" c:type="gint"/>
|
3502
|
+
</parameter>
|
3503
|
+
</parameters>
|
3504
|
+
</function>
|
3505
|
+
<function name="struct_info_get_n_fields"
|
3506
|
+
c:identifier="g_struct_info_get_n_fields">
|
3507
|
+
<doc xml:space="preserve">Obtain the number of fields this structure has.</doc>
|
3508
|
+
<return-value transfer-ownership="none">
|
3509
|
+
<doc xml:space="preserve">number of fields</doc>
|
3510
|
+
<type name="gint" c:type="gint"/>
|
3511
|
+
</return-value>
|
3512
|
+
<parameters>
|
3513
|
+
<parameter name="info" transfer-ownership="none">
|
3514
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3515
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3516
|
+
</parameter>
|
3517
|
+
</parameters>
|
3518
|
+
</function>
|
3519
|
+
<function name="struct_info_get_n_methods"
|
3520
|
+
c:identifier="g_struct_info_get_n_methods">
|
3521
|
+
<doc xml:space="preserve">Obtain the number of methods this structure has.</doc>
|
3522
|
+
<return-value transfer-ownership="none">
|
3523
|
+
<doc xml:space="preserve">number of methods</doc>
|
3524
|
+
<type name="gint" c:type="gint"/>
|
3525
|
+
</return-value>
|
3526
|
+
<parameters>
|
3527
|
+
<parameter name="info" transfer-ownership="none">
|
3528
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3529
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3530
|
+
</parameter>
|
3531
|
+
</parameters>
|
3532
|
+
</function>
|
3533
|
+
<function name="struct_info_get_size"
|
3534
|
+
c:identifier="g_struct_info_get_size">
|
3535
|
+
<doc xml:space="preserve">Obtain the total size of the structure.</doc>
|
3536
|
+
<return-value transfer-ownership="none">
|
3537
|
+
<doc xml:space="preserve">size of the structure in bytes</doc>
|
3538
|
+
<type name="gsize" c:type="gsize"/>
|
3539
|
+
</return-value>
|
3540
|
+
<parameters>
|
3541
|
+
<parameter name="info" transfer-ownership="none">
|
3542
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3543
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3544
|
+
</parameter>
|
3545
|
+
</parameters>
|
3546
|
+
</function>
|
3547
|
+
<function name="struct_info_is_foreign"
|
3548
|
+
c:identifier="g_struct_info_is_foreign">
|
3549
|
+
<doc xml:space="preserve">TODO</doc>
|
3550
|
+
<return-value transfer-ownership="none">
|
3551
|
+
<doc xml:space="preserve">TODO</doc>
|
3552
|
+
<type name="gboolean" c:type="gboolean"/>
|
3553
|
+
</return-value>
|
3554
|
+
<parameters>
|
3555
|
+
<parameter name="info" transfer-ownership="none">
|
3556
|
+
<doc xml:space="preserve">TODO</doc>
|
3557
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3558
|
+
</parameter>
|
3559
|
+
</parameters>
|
3560
|
+
</function>
|
3561
|
+
<function name="struct_info_is_gtype_struct"
|
3562
|
+
c:identifier="g_struct_info_is_gtype_struct">
|
3563
|
+
<doc xml:space="preserve">Return true if this structure represents the "class structure" for some
|
3564
|
+
#GObject or #GInterface. This function is mainly useful to hide this kind of structure
|
3565
|
+
from generated public APIs.</doc>
|
3566
|
+
<return-value transfer-ownership="none">
|
3567
|
+
<doc xml:space="preserve">%TRUE if this is a class struct, %FALSE otherwise</doc>
|
3568
|
+
<type name="gboolean" c:type="gboolean"/>
|
3569
|
+
</return-value>
|
3570
|
+
<parameters>
|
3571
|
+
<parameter name="info" transfer-ownership="none">
|
3572
|
+
<doc xml:space="preserve">a #GIStructInfo</doc>
|
3573
|
+
<type name="StructInfo" c:type="GIStructInfo*"/>
|
3574
|
+
</parameter>
|
3575
|
+
</parameters>
|
3576
|
+
</function>
|
3577
|
+
<function name="type_info_get_array_fixed_size"
|
3578
|
+
c:identifier="g_type_info_get_array_fixed_size">
|
3579
|
+
<doc xml:space="preserve">Obtain the fixed array size of the type. The type tag must be a
|
3580
|
+
#GI_TYPE_TAG_ARRAY or -1 will returned.</doc>
|
3581
|
+
<return-value transfer-ownership="none">
|
3582
|
+
<doc xml:space="preserve">the size or -1 if it's not an array</doc>
|
3583
|
+
<type name="gint" c:type="gint"/>
|
3584
|
+
</return-value>
|
3585
|
+
<parameters>
|
3586
|
+
<parameter name="info" transfer-ownership="none">
|
3587
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3588
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3589
|
+
</parameter>
|
3590
|
+
</parameters>
|
3591
|
+
</function>
|
3592
|
+
<function name="type_info_get_array_length"
|
3593
|
+
c:identifier="g_type_info_get_array_length">
|
3594
|
+
<doc xml:space="preserve">Obtain the array length of the type. The type tag must be a
|
3595
|
+
#GI_TYPE_TAG_ARRAY or -1 will returned.</doc>
|
3596
|
+
<return-value transfer-ownership="none">
|
3597
|
+
<doc xml:space="preserve">the array length, or -1 if the type is not an array</doc>
|
3598
|
+
<type name="gint" c:type="gint"/>
|
3599
|
+
</return-value>
|
3600
|
+
<parameters>
|
3601
|
+
<parameter name="info" transfer-ownership="none">
|
3602
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3603
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3604
|
+
</parameter>
|
3605
|
+
</parameters>
|
3606
|
+
</function>
|
3607
|
+
<function name="type_info_get_array_type"
|
3608
|
+
c:identifier="g_type_info_get_array_type">
|
3609
|
+
<doc xml:space="preserve">Obtain the array type for this type. See #GIArrayType for a list of
|
3610
|
+
possible values. If the type tag of this type is not array, -1 will be
|
3611
|
+
returned.</doc>
|
3612
|
+
<return-value transfer-ownership="none">
|
3613
|
+
<doc xml:space="preserve">the array type or -1</doc>
|
3614
|
+
<type name="ArrayType" c:type="GIArrayType"/>
|
3615
|
+
</return-value>
|
3616
|
+
<parameters>
|
3617
|
+
<parameter name="info" transfer-ownership="none">
|
3618
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3619
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3620
|
+
</parameter>
|
3621
|
+
</parameters>
|
3622
|
+
</function>
|
3623
|
+
<function name="type_info_get_interface"
|
3624
|
+
c:identifier="g_type_info_get_interface">
|
3625
|
+
<doc xml:space="preserve">For types which have #GI_TYPE_TAG_INTERFACE such as GObjects and boxed values,
|
3626
|
+
this function returns full information about the referenced type. You can then
|
3627
|
+
inspect the type of the returned #GIBaseInfo to further query whether it is
|
3628
|
+
a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</doc>
|
3629
|
+
<return-value transfer-ownership="full">
|
3630
|
+
<doc xml:space="preserve">the #GIBaseInfo, or %NULL. Free it with
|
3631
|
+
g_base_info_unref() when done.</doc>
|
3632
|
+
<type name="BaseInfo" c:type="GIBaseInfo*"/>
|
3633
|
+
</return-value>
|
3634
|
+
<parameters>
|
3635
|
+
<parameter name="info" transfer-ownership="none">
|
3636
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3637
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3638
|
+
</parameter>
|
3639
|
+
</parameters>
|
3640
|
+
</function>
|
3641
|
+
<function name="type_info_get_param_type"
|
3642
|
+
c:identifier="g_type_info_get_param_type">
|
3643
|
+
<doc xml:space="preserve">Obtain the parameter type @n.</doc>
|
3644
|
+
<return-value transfer-ownership="full">
|
3645
|
+
<doc xml:space="preserve">the param type info</doc>
|
3646
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3647
|
+
</return-value>
|
3648
|
+
<parameters>
|
3649
|
+
<parameter name="info" transfer-ownership="none">
|
3650
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3651
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3652
|
+
</parameter>
|
3653
|
+
<parameter name="n" transfer-ownership="none">
|
3654
|
+
<doc xml:space="preserve">index of the parameter</doc>
|
3655
|
+
<type name="gint" c:type="gint"/>
|
3656
|
+
</parameter>
|
3657
|
+
</parameters>
|
3658
|
+
</function>
|
3659
|
+
<function name="type_info_get_tag" c:identifier="g_type_info_get_tag">
|
3660
|
+
<doc xml:space="preserve">Obtain the type tag for the type. See #GITypeTag for a list
|
3661
|
+
of type tags.</doc>
|
3662
|
+
<return-value transfer-ownership="none">
|
3663
|
+
<doc xml:space="preserve">the type tag</doc>
|
3664
|
+
<type name="TypeTag" c:type="GITypeTag"/>
|
3665
|
+
</return-value>
|
3666
|
+
<parameters>
|
3667
|
+
<parameter name="info" transfer-ownership="none">
|
3668
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3669
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3670
|
+
</parameter>
|
3671
|
+
</parameters>
|
3672
|
+
</function>
|
3673
|
+
<function name="type_info_is_pointer"
|
3674
|
+
c:identifier="g_type_info_is_pointer">
|
3675
|
+
<doc xml:space="preserve">Obtain if the type is passed as a reference.</doc>
|
3676
|
+
<return-value transfer-ownership="none">
|
3677
|
+
<doc xml:space="preserve">%TRUE if it is a pointer</doc>
|
3678
|
+
<type name="gboolean" c:type="gboolean"/>
|
3679
|
+
</return-value>
|
3680
|
+
<parameters>
|
3681
|
+
<parameter name="info" transfer-ownership="none">
|
3682
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3683
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3684
|
+
</parameter>
|
3685
|
+
</parameters>
|
3686
|
+
</function>
|
3687
|
+
<function name="type_info_is_zero_terminated"
|
3688
|
+
c:identifier="g_type_info_is_zero_terminated">
|
3689
|
+
<doc xml:space="preserve">Obtain if the last element of the array is %NULL. The type tag must be a
|
3690
|
+
#GI_TYPE_TAG_ARRAY or %FALSE will returned.</doc>
|
3691
|
+
<return-value transfer-ownership="none">
|
3692
|
+
<doc xml:space="preserve">%TRUE if zero terminated</doc>
|
3693
|
+
<type name="gboolean" c:type="gboolean"/>
|
3694
|
+
</return-value>
|
3695
|
+
<parameters>
|
3696
|
+
<parameter name="info" transfer-ownership="none">
|
3697
|
+
<doc xml:space="preserve">a #GITypeInfo</doc>
|
3698
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3699
|
+
</parameter>
|
3700
|
+
</parameters>
|
3701
|
+
</function>
|
3702
|
+
<function name="type_tag_to_string" c:identifier="g_type_tag_to_string">
|
3703
|
+
<doc xml:space="preserve">Obtain a string representation of @type</doc>
|
3704
|
+
<return-value transfer-ownership="none">
|
3705
|
+
<doc xml:space="preserve">the string</doc>
|
3706
|
+
<type name="utf8" c:type="const gchar*"/>
|
3707
|
+
</return-value>
|
3708
|
+
<parameters>
|
3709
|
+
<parameter name="type" transfer-ownership="none">
|
3710
|
+
<doc xml:space="preserve">the type_tag</doc>
|
3711
|
+
<type name="TypeTag" c:type="GITypeTag"/>
|
3712
|
+
</parameter>
|
3713
|
+
</parameters>
|
3714
|
+
</function>
|
3715
|
+
<function name="union_info_find_method"
|
3716
|
+
c:identifier="g_union_info_find_method">
|
3717
|
+
<doc xml:space="preserve">Obtain the type information for method named @name.</doc>
|
3718
|
+
<return-value transfer-ownership="full">
|
3719
|
+
<doc xml:space="preserve">the #GIFunctionInfo, free it with g_base_info_unref()
|
3720
|
+
when done.</doc>
|
3721
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
3722
|
+
</return-value>
|
3723
|
+
<parameters>
|
3724
|
+
<parameter name="info" transfer-ownership="none">
|
3725
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3726
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3727
|
+
</parameter>
|
3728
|
+
<parameter name="name" transfer-ownership="none">
|
3729
|
+
<doc xml:space="preserve">a method name</doc>
|
3730
|
+
<type name="utf8" c:type="const gchar*"/>
|
3731
|
+
</parameter>
|
3732
|
+
</parameters>
|
3733
|
+
</function>
|
3734
|
+
<function name="union_info_get_alignment"
|
3735
|
+
c:identifier="g_union_info_get_alignment">
|
3736
|
+
<doc xml:space="preserve">Obtain the required alignment of the union.</doc>
|
3737
|
+
<return-value transfer-ownership="none">
|
3738
|
+
<doc xml:space="preserve">required alignment in bytes</doc>
|
3739
|
+
<type name="gsize" c:type="gsize"/>
|
3740
|
+
</return-value>
|
3741
|
+
<parameters>
|
3742
|
+
<parameter name="info" transfer-ownership="none">
|
3743
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3744
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3745
|
+
</parameter>
|
3746
|
+
</parameters>
|
3747
|
+
</function>
|
3748
|
+
<function name="union_info_get_discriminator"
|
3749
|
+
c:identifier="g_union_info_get_discriminator">
|
3750
|
+
<doc xml:space="preserve">Obtain discriminator value assigned for n-th union field, i.e. n-th
|
3751
|
+
union field is the active one if discriminator contains this
|
3752
|
+
constant.</doc>
|
3753
|
+
<return-value transfer-ownership="full">
|
3754
|
+
<doc xml:space="preserve">the #GIConstantInfo, free it with g_base_info_unref()
|
3755
|
+
when done.</doc>
|
3756
|
+
<type name="ConstantInfo" c:type="GIConstantInfo*"/>
|
3757
|
+
</return-value>
|
3758
|
+
<parameters>
|
3759
|
+
<parameter name="info" transfer-ownership="none">
|
3760
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3761
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3762
|
+
</parameter>
|
3763
|
+
<parameter name="n" transfer-ownership="none">
|
3764
|
+
<doc xml:space="preserve">a union field index</doc>
|
3765
|
+
<type name="gint" c:type="gint"/>
|
3766
|
+
</parameter>
|
3767
|
+
</parameters>
|
3768
|
+
</function>
|
3769
|
+
<function name="union_info_get_discriminator_offset"
|
3770
|
+
c:identifier="g_union_info_get_discriminator_offset">
|
3771
|
+
<doc xml:space="preserve">Returns offset of the discriminator field in the structure.</doc>
|
3772
|
+
<return-value transfer-ownership="full">
|
3773
|
+
<doc xml:space="preserve">offset in bytes of the discriminator</doc>
|
3774
|
+
<type name="gint" c:type="gint"/>
|
3775
|
+
</return-value>
|
3776
|
+
<parameters>
|
3777
|
+
<parameter name="info" transfer-ownership="none">
|
3778
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3779
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3780
|
+
</parameter>
|
3781
|
+
</parameters>
|
3782
|
+
</function>
|
3783
|
+
<function name="union_info_get_discriminator_type"
|
3784
|
+
c:identifier="g_union_info_get_discriminator_type">
|
3785
|
+
<doc xml:space="preserve">Obtain the type information of the union discriminator.</doc>
|
3786
|
+
<return-value transfer-ownership="full">
|
3787
|
+
<doc xml:space="preserve">the #GITypeInfo, free it with g_base_info_unref()
|
3788
|
+
when done.</doc>
|
3789
|
+
<type name="TypeInfo" c:type="GITypeInfo*"/>
|
3790
|
+
</return-value>
|
3791
|
+
<parameters>
|
3792
|
+
<parameter name="info" transfer-ownership="none">
|
3793
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3794
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3795
|
+
</parameter>
|
3796
|
+
</parameters>
|
3797
|
+
</function>
|
3798
|
+
<function name="union_info_get_field"
|
3799
|
+
c:identifier="g_union_info_get_field">
|
3800
|
+
<doc xml:space="preserve">Obtain the type information for field with specified index.</doc>
|
3801
|
+
<return-value transfer-ownership="full">
|
3802
|
+
<doc xml:space="preserve">the #GIFieldInfo, free it with g_base_info_unref()
|
3803
|
+
when done.</doc>
|
3804
|
+
<type name="FieldInfo" c:type="GIFieldInfo*"/>
|
3805
|
+
</return-value>
|
3806
|
+
<parameters>
|
3807
|
+
<parameter name="info" transfer-ownership="none">
|
3808
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3809
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3810
|
+
</parameter>
|
3811
|
+
<parameter name="n" transfer-ownership="none">
|
3812
|
+
<doc xml:space="preserve">a field index</doc>
|
3813
|
+
<type name="gint" c:type="gint"/>
|
3814
|
+
</parameter>
|
3815
|
+
</parameters>
|
3816
|
+
</function>
|
3817
|
+
<function name="union_info_get_method"
|
3818
|
+
c:identifier="g_union_info_get_method">
|
3819
|
+
<doc xml:space="preserve">Obtain the type information for method with specified index.</doc>
|
3820
|
+
<return-value transfer-ownership="full">
|
3821
|
+
<doc xml:space="preserve">the #GIFunctionInfo, free it with g_base_info_unref()
|
3822
|
+
when done.</doc>
|
3823
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
3824
|
+
</return-value>
|
3825
|
+
<parameters>
|
3826
|
+
<parameter name="info" transfer-ownership="none">
|
3827
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3828
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3829
|
+
</parameter>
|
3830
|
+
<parameter name="n" transfer-ownership="none">
|
3831
|
+
<doc xml:space="preserve">a method index</doc>
|
3832
|
+
<type name="gint" c:type="gint"/>
|
3833
|
+
</parameter>
|
3834
|
+
</parameters>
|
3835
|
+
</function>
|
3836
|
+
<function name="union_info_get_n_fields"
|
3837
|
+
c:identifier="g_union_info_get_n_fields">
|
3838
|
+
<doc xml:space="preserve">Obtain the number of fields this union has.</doc>
|
3839
|
+
<return-value transfer-ownership="none">
|
3840
|
+
<doc xml:space="preserve">number of fields</doc>
|
3841
|
+
<type name="gint" c:type="gint"/>
|
3842
|
+
</return-value>
|
3843
|
+
<parameters>
|
3844
|
+
<parameter name="info" transfer-ownership="none">
|
3845
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3846
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3847
|
+
</parameter>
|
3848
|
+
</parameters>
|
3849
|
+
</function>
|
3850
|
+
<function name="union_info_get_n_methods"
|
3851
|
+
c:identifier="g_union_info_get_n_methods">
|
3852
|
+
<doc xml:space="preserve">Obtain the number of methods this union has.</doc>
|
3853
|
+
<return-value transfer-ownership="none">
|
3854
|
+
<doc xml:space="preserve">number of methods</doc>
|
3855
|
+
<type name="gint" c:type="gint"/>
|
3856
|
+
</return-value>
|
3857
|
+
<parameters>
|
3858
|
+
<parameter name="info" transfer-ownership="none">
|
3859
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3860
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3861
|
+
</parameter>
|
3862
|
+
</parameters>
|
3863
|
+
</function>
|
3864
|
+
<function name="union_info_get_size" c:identifier="g_union_info_get_size">
|
3865
|
+
<doc xml:space="preserve">Obtain the total size of the union.</doc>
|
3866
|
+
<return-value transfer-ownership="none">
|
3867
|
+
<doc xml:space="preserve">size of the union in bytes</doc>
|
3868
|
+
<type name="gsize" c:type="gsize"/>
|
3869
|
+
</return-value>
|
3870
|
+
<parameters>
|
3871
|
+
<parameter name="info" transfer-ownership="none">
|
3872
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3873
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3874
|
+
</parameter>
|
3875
|
+
</parameters>
|
3876
|
+
</function>
|
3877
|
+
<function name="union_info_is_discriminated"
|
3878
|
+
c:identifier="g_union_info_is_discriminated">
|
3879
|
+
<doc xml:space="preserve">Return true if this union contains discriminator field.</doc>
|
3880
|
+
<return-value transfer-ownership="none">
|
3881
|
+
<doc xml:space="preserve">%TRUE if this is a discriminated union, %FALSE otherwise</doc>
|
3882
|
+
<type name="gboolean" c:type="gboolean"/>
|
3883
|
+
</return-value>
|
3884
|
+
<parameters>
|
3885
|
+
<parameter name="info" transfer-ownership="none">
|
3886
|
+
<doc xml:space="preserve">a #GIUnionInfo</doc>
|
3887
|
+
<type name="UnionInfo" c:type="GIUnionInfo*"/>
|
3888
|
+
</parameter>
|
3889
|
+
</parameters>
|
3890
|
+
</function>
|
3891
|
+
<function name="value_info_get_value"
|
3892
|
+
c:identifier="g_value_info_get_value">
|
3893
|
+
<doc xml:space="preserve">Obtain the enumeration value of the #GIValueInfo.</doc>
|
3894
|
+
<return-value transfer-ownership="none">
|
3895
|
+
<doc xml:space="preserve">the enumeration value. This will always be representable
|
3896
|
+
as a 32-bit signed or unsigned value. The use of gint64 as the
|
3897
|
+
return type is to allow both.</doc>
|
3898
|
+
<type name="gint64" c:type="gint64"/>
|
3899
|
+
</return-value>
|
3900
|
+
<parameters>
|
3901
|
+
<parameter name="info" transfer-ownership="none">
|
3902
|
+
<doc xml:space="preserve">a #GIValueInfo</doc>
|
3903
|
+
<type name="ValueInfo" c:type="GIValueInfo*"/>
|
3904
|
+
</parameter>
|
3905
|
+
</parameters>
|
3906
|
+
</function>
|
3907
|
+
<function name="vfunc_info_get_address"
|
3908
|
+
c:identifier="g_vfunc_info_get_address"
|
3909
|
+
introspectable="0"
|
3910
|
+
throws="1">
|
3911
|
+
<doc xml:space="preserve">This method will look up where inside the type struct of @implementor_gtype
|
3912
|
+
is the implementation for @info.</doc>
|
3913
|
+
<return-value>
|
3914
|
+
<doc xml:space="preserve">address to a function or %NULL if an error happened</doc>
|
3915
|
+
<type name="gpointer" c:type="gpointer"/>
|
3916
|
+
</return-value>
|
3917
|
+
<parameters>
|
3918
|
+
<parameter name="info" transfer-ownership="none">
|
3919
|
+
<doc xml:space="preserve">a #GIVFuncInfo</doc>
|
3920
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3921
|
+
</parameter>
|
3922
|
+
<parameter name="implementor_gtype" transfer-ownership="none">
|
3923
|
+
<doc xml:space="preserve">#GType implementing this virtual function</doc>
|
3924
|
+
<type name="GType" c:type="GType"/>
|
3925
|
+
</parameter>
|
3926
|
+
</parameters>
|
3927
|
+
</function>
|
3928
|
+
<function name="vfunc_info_get_flags"
|
3929
|
+
c:identifier="g_vfunc_info_get_flags">
|
3930
|
+
<doc xml:space="preserve">Obtain the flags for this virtual function info. See #GIVFuncInfoFlags for
|
3931
|
+
more information about possible flag values.</doc>
|
3932
|
+
<return-value transfer-ownership="none">
|
3933
|
+
<doc xml:space="preserve">the flags</doc>
|
3934
|
+
<type name="VFuncInfoFlags" c:type="GIVFuncInfoFlags"/>
|
3935
|
+
</return-value>
|
3936
|
+
<parameters>
|
3937
|
+
<parameter name="info" transfer-ownership="none">
|
3938
|
+
<doc xml:space="preserve">a #GIVFuncInfo</doc>
|
3939
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3940
|
+
</parameter>
|
3941
|
+
</parameters>
|
3942
|
+
</function>
|
3943
|
+
<function name="vfunc_info_get_invoker"
|
3944
|
+
c:identifier="g_vfunc_info_get_invoker">
|
3945
|
+
<doc xml:space="preserve">If this virtual function has an associated invoker method, this
|
3946
|
+
method will return it. An invoker method is a C entry point.
|
3947
|
+
|
3948
|
+
Not all virtuals will have invokers.</doc>
|
3949
|
+
<return-value transfer-ownership="full">
|
3950
|
+
<doc xml:space="preserve">the #GIVFuncInfo or %NULL. Free it with
|
3951
|
+
g_base_info_unref() when done.</doc>
|
3952
|
+
<type name="FunctionInfo" c:type="GIFunctionInfo*"/>
|
3953
|
+
</return-value>
|
3954
|
+
<parameters>
|
3955
|
+
<parameter name="info" transfer-ownership="none">
|
3956
|
+
<doc xml:space="preserve">a #GIVFuncInfo</doc>
|
3957
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3958
|
+
</parameter>
|
3959
|
+
</parameters>
|
3960
|
+
</function>
|
3961
|
+
<function name="vfunc_info_get_offset"
|
3962
|
+
c:identifier="g_vfunc_info_get_offset">
|
3963
|
+
<doc xml:space="preserve">Obtain the offset of the function pointer in the class struct. The value
|
3964
|
+
0xFFFF indicates that the struct offset is unknown.</doc>
|
3965
|
+
<return-value transfer-ownership="none">
|
3966
|
+
<doc xml:space="preserve">the struct offset or 0xFFFF if it's unknown</doc>
|
3967
|
+
<type name="gint" c:type="gint"/>
|
3968
|
+
</return-value>
|
3969
|
+
<parameters>
|
3970
|
+
<parameter name="info" transfer-ownership="none">
|
3971
|
+
<doc xml:space="preserve">a #GIVFuncInfo</doc>
|
3972
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3973
|
+
</parameter>
|
3974
|
+
</parameters>
|
3975
|
+
</function>
|
3976
|
+
<function name="vfunc_info_get_signal"
|
3977
|
+
c:identifier="g_vfunc_info_get_signal">
|
3978
|
+
<doc xml:space="preserve">Obtain the signal for the virtual function if one is set.
|
3979
|
+
The signal comes from the object or interface to which
|
3980
|
+
this virtual function belongs.</doc>
|
3981
|
+
<return-value transfer-ownership="full">
|
3982
|
+
<doc xml:space="preserve">the signal or %NULL if none set</doc>
|
3983
|
+
<type name="SignalInfo" c:type="GISignalInfo*"/>
|
3984
|
+
</return-value>
|
3985
|
+
<parameters>
|
3986
|
+
<parameter name="info" transfer-ownership="none">
|
3987
|
+
<doc xml:space="preserve">a #GIVFuncInfo</doc>
|
3988
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
3989
|
+
</parameter>
|
3990
|
+
</parameters>
|
3991
|
+
</function>
|
3992
|
+
<function name="vfunc_info_invoke"
|
3993
|
+
c:identifier="g_vfunc_info_invoke"
|
3994
|
+
introspectable="0"
|
3995
|
+
throws="1">
|
3996
|
+
<doc xml:space="preserve">Invokes the function described in @info with the given
|
3997
|
+
arguments. Note that inout parameters must appear in both
|
3998
|
+
argument lists.</doc>
|
3999
|
+
<return-value transfer-ownership="none">
|
4000
|
+
<doc xml:space="preserve">%TRUE if the function has been invoked, %FALSE if an
|
4001
|
+
error occurred.</doc>
|
4002
|
+
<type name="gboolean" c:type="gboolean"/>
|
4003
|
+
</return-value>
|
4004
|
+
<parameters>
|
4005
|
+
<parameter name="info" transfer-ownership="none">
|
4006
|
+
<doc xml:space="preserve">a #GIVFuncInfo describing the virtual function to invoke</doc>
|
4007
|
+
<type name="VFuncInfo" c:type="GIVFuncInfo*"/>
|
4008
|
+
</parameter>
|
4009
|
+
<parameter name="implementor" transfer-ownership="none">
|
4010
|
+
<doc xml:space="preserve">#GType of the type that implements this virtual function</doc>
|
4011
|
+
<type name="GType" c:type="GType"/>
|
4012
|
+
</parameter>
|
4013
|
+
<parameter name="in_args" transfer-ownership="none">
|
4014
|
+
<doc xml:space="preserve">an array of #GIArgument<!-- -->s, one for each in
|
4015
|
+
parameter of @info. If there are no in parameter, @in_args
|
4016
|
+
can be %NULL</doc>
|
4017
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
4018
|
+
</parameter>
|
4019
|
+
<parameter name="n_in_args" transfer-ownership="none">
|
4020
|
+
<doc xml:space="preserve">the length of the @in_args array</doc>
|
4021
|
+
<type name="gint" c:type="int"/>
|
4022
|
+
</parameter>
|
4023
|
+
<parameter name="out_args" transfer-ownership="none">
|
4024
|
+
<doc xml:space="preserve">an array of #GIArgument<!-- -->s, one for each out
|
4025
|
+
parameter of @info. If there are no out parameters, @out_args
|
4026
|
+
may be %NULL</doc>
|
4027
|
+
<type name="Argument" c:type="const GIArgument*"/>
|
4028
|
+
</parameter>
|
4029
|
+
<parameter name="n_out_args" transfer-ownership="none">
|
4030
|
+
<doc xml:space="preserve">the length of the @out_args array</doc>
|
4031
|
+
<type name="gint" c:type="int"/>
|
4032
|
+
</parameter>
|
4033
|
+
<parameter name="return_value" transfer-ownership="none">
|
4034
|
+
<doc xml:space="preserve">return location for the return value of the
|
4035
|
+
function. If the function returns void, @return_value may be
|
4036
|
+
%NULL</doc>
|
4037
|
+
<type name="Argument" c:type="GIArgument*"/>
|
4038
|
+
</parameter>
|
4039
|
+
</parameters>
|
4040
|
+
</function>
|
4041
|
+
</namespace>
|
4042
|
+
</repository>
|