glib2 0.90.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3115 -0
- data/README +40 -0
- data/Rakefile +69 -0
- data/ext/glib2/depend +10 -0
- data/ext/glib2/extconf.rb +61 -0
- data/ext/glib2/glib2.def +89 -0
- data/ext/glib2/rbgcompat.h +30 -0
- data/ext/glib2/rbglib.c +330 -0
- data/ext/glib2/rbglib.h +96 -0
- data/ext/glib2/rbglib_bookmarkfile.c +595 -0
- data/ext/glib2/rbglib_completion.c +192 -0
- data/ext/glib2/rbglib_convert.c +195 -0
- data/ext/glib2/rbglib_error.c +95 -0
- data/ext/glib2/rbglib_fileutils.c +83 -0
- data/ext/glib2/rbglib_i18n.c +44 -0
- data/ext/glib2/rbglib_int64.c +157 -0
- data/ext/glib2/rbglib_iochannel.c +883 -0
- data/ext/glib2/rbglib_keyfile.c +846 -0
- data/ext/glib2/rbglib_maincontext.c +915 -0
- data/ext/glib2/rbglib_mainloop.c +87 -0
- data/ext/glib2/rbglib_messages.c +150 -0
- data/ext/glib2/rbglib_pollfd.c +111 -0
- data/ext/glib2/rbglib_shell.c +68 -0
- data/ext/glib2/rbglib_source.c +190 -0
- data/ext/glib2/rbglib_spawn.c +345 -0
- data/ext/glib2/rbglib_threads.c +51 -0
- data/ext/glib2/rbglib_timer.c +127 -0
- data/ext/glib2/rbglib_unicode.c +611 -0
- data/ext/glib2/rbglib_utils.c +386 -0
- data/ext/glib2/rbglib_win32.c +136 -0
- data/ext/glib2/rbgobj_boxed.c +251 -0
- data/ext/glib2/rbgobj_closure.c +337 -0
- data/ext/glib2/rbgobj_convert.c +167 -0
- data/ext/glib2/rbgobj_enums.c +961 -0
- data/ext/glib2/rbgobj_fundamental.c +30 -0
- data/ext/glib2/rbgobj_object.c +892 -0
- data/ext/glib2/rbgobj_param.c +390 -0
- data/ext/glib2/rbgobj_paramspecs.c +305 -0
- data/ext/glib2/rbgobj_signal.c +963 -0
- data/ext/glib2/rbgobj_strv.c +61 -0
- data/ext/glib2/rbgobj_type.c +851 -0
- data/ext/glib2/rbgobj_typeinstance.c +121 -0
- data/ext/glib2/rbgobj_typeinterface.c +148 -0
- data/ext/glib2/rbgobj_typemodule.c +66 -0
- data/ext/glib2/rbgobj_typeplugin.c +49 -0
- data/ext/glib2/rbgobj_value.c +313 -0
- data/ext/glib2/rbgobj_valuearray.c +59 -0
- data/ext/glib2/rbgobj_valuetypes.c +298 -0
- data/ext/glib2/rbgobject.c +406 -0
- data/ext/glib2/rbgobject.h +265 -0
- data/ext/glib2/rbgprivate.h +88 -0
- data/ext/glib2/rbgutil.c +316 -0
- data/ext/glib2/rbgutil.h +82 -0
- data/ext/glib2/rbgutil_callback.c +231 -0
- data/extconf.rb +49 -0
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/glib-mkenums.rb +199 -0
- data/lib/glib2.rb +239 -0
- data/lib/gnome2-win32-binary-downloader.rb +92 -0
- data/lib/mkmf-gnome2.rb +377 -0
- data/sample/bookmarkfile.rb +66 -0
- data/sample/completion.rb +45 -0
- data/sample/idle.rb +41 -0
- data/sample/iochannel.rb +44 -0
- data/sample/keyfile.rb +62 -0
- data/sample/shell.rb +36 -0
- data/sample/spawn.rb +25 -0
- data/sample/timeout.rb +28 -0
- data/sample/timeout2.rb +35 -0
- data/sample/timer.rb +40 -0
- data/sample/type-register.rb +103 -0
- data/sample/type-register2.rb +104 -0
- data/sample/utils.rb +54 -0
- data/test/glib-test-init.rb +6 -0
- data/test/glib-test-utils.rb +12 -0
- data/test/run-test.rb +21 -0
- data/test/test_enum.rb +99 -0
- data/test/test_file_utils.rb +15 -0
- data/test/test_glib2.rb +120 -0
- data/test/test_iochannel.rb +275 -0
- data/test/test_key_file.rb +38 -0
- data/test/test_mkenums.rb +25 -0
- data/test/test_signal.rb +20 -0
- data/test/test_timeout.rb +28 -0
- data/test/test_unicode.rb +369 -0
- data/test/test_utils.rb +37 -0
- data/test/test_win32.rb +13 -0
- data/test-unit/COPYING +56 -0
- data/test-unit/GPL +340 -0
- data/test-unit/History.txt +232 -0
- data/test-unit/Manifest.txt +110 -0
- data/test-unit/PSFL +271 -0
- data/test-unit/README.txt +75 -0
- data/test-unit/Rakefile +53 -0
- data/test-unit/TODO +5 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +153 -0
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +469 -0
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +82 -0
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +393 -0
- data/test-unit/html/index.html +247 -0
- data/test-unit/html/index.html.ja +270 -0
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +636 -0
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +483 -0
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +339 -0
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +559 -0
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
- data/test-unit/lib/test/unit/assertions.rb +1334 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +363 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +144 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/collector.rb +36 -0
- data/test-unit/lib/test/unit/color-scheme.rb +106 -0
- data/test-unit/lib/test/unit/color.rb +96 -0
- data/test-unit/lib/test/unit/diff.rb +740 -0
- data/test-unit/lib/test/unit/error.rb +130 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +136 -0
- data/test-unit/lib/test/unit/fixture.rb +176 -0
- data/test-unit/lib/test/unit/notification.rb +129 -0
- data/test-unit/lib/test/unit/omission.rb +191 -0
- data/test-unit/lib/test/unit/pending.rb +150 -0
- data/test-unit/lib/test/unit/priority.rb +180 -0
- data/test-unit/lib/test/unit/runner/console.rb +52 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/runner/tap.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +483 -0
- data/test-unit/lib/test/unit/testresult.rb +121 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +430 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +82 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +53 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +42 -0
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/output.rb +31 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/lib/test/unit.rb +328 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/test_adder.rb +20 -0
- data/test-unit/sample/test_subtracter.rb +20 -0
- data/test-unit/sample/test_user.rb +23 -0
- data/test-unit/test/collector/test-descendant.rb +133 -0
- data/test-unit/test/collector/test-load.rb +442 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_objectspace.rb +100 -0
- data/test-unit/test/run-test.rb +15 -0
- data/test-unit/test/test-attribute.rb +86 -0
- data/test-unit/test/test-color-scheme.rb +69 -0
- data/test-unit/test/test-color.rb +47 -0
- data/test-unit/test/test-diff.rb +518 -0
- data/test-unit/test/test-emacs-runner.rb +60 -0
- data/test-unit/test/test-fixture.rb +287 -0
- data/test-unit/test/test-notification.rb +33 -0
- data/test-unit/test/test-omission.rb +81 -0
- data/test-unit/test/test-pending.rb +70 -0
- data/test-unit/test/test-priority.rb +119 -0
- data/test-unit/test/test-testcase.rb +544 -0
- data/test-unit/test/test_assertions.rb +1197 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit-test-util.rb +14 -0
- data/test-unit/test/ui/test_tap.rb +33 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test-method-owner-finder.rb +38 -0
- data/test-unit/test/util/test-output.rb +11 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/vendor/local/bin/envsubst.exe +0 -0
- data/vendor/local/bin/gettext.exe +0 -0
- data/vendor/local/bin/gettext.sh +123 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +188 -0
- data/vendor/local/bin/glib-mkenums +511 -0
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/intl.dll +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/ngettext.exe +0 -0
- data/vendor/local/include/autosprintf.h +66 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +237 -0
- data/vendor/local/include/glib-2.0/gio/gasyncinitable.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedinputstream.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +103 -0
- data/vendor/local/include/glib-2.0/gio/gcharsetconverter.h +60 -0
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +57 -0
- data/vendor/local/include/glib-2.0/gio/gconverter.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +80 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +116 -0
- data/vendor/local/include/glib-2.0/gio/gdrive.h +225 -0
- data/vendor/local/include/glib-2.0/gio/gemblem.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gfile.h +1017 -0
- data/vendor/local/include/glib-2.0/gio/gfileattribute.h +77 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +133 -0
- data/vendor/local/include/glib-2.0/gio/gfileicon.h +56 -0
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +951 -0
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gfilenamecompleter.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +119 -0
- data/vendor/local/include/glib-2.0/gio/gfilterinputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gfilteroutputstream.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gicon.h +91 -0
- data/vendor/local/include/glib-2.0/gio/ginetaddress.h +103 -0
- data/vendor/local/include/glib-2.0/gio/ginetsocketaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/ginitable.h +96 -0
- data/vendor/local/include/glib-2.0/gio/ginputstream.h +172 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +703 -0
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +48 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +132 -0
- data/vendor/local/include/glib-2.0/gio/gioscheduler.h +52 -0
- data/vendor/local/include/glib-2.0/gio/giostream.h +112 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +339 -0
- data/vendor/local/include/glib-2.0/gio/gloadableicon.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryinputstream.h +82 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +97 -0
- data/vendor/local/include/glib-2.0/gio/gmount.h +242 -0
- data/vendor/local/include/glib-2.0/gio/gmountoperation.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gnativevolumemonitor.h +62 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +69 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +69 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +207 -0
- data/vendor/local/include/glib-2.0/gio/gresolver.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gseekable.h +99 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +176 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddress.h +79 -0
- data/vendor/local/include/glib-2.0/gio/gsocketaddressenumerator.h +89 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +130 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnection.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gsocketcontrolmessage.h +105 -0
- data/vendor/local/include/glib-2.0/gio/gsocketlistener.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsocketservice.h +88 -0
- data/vendor/local/include/glib-2.0/gio/gsrvtarget.h +52 -0
- data/vendor/local/include/glib-2.0/gio/gtcpconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gthemedicon.h +63 -0
- data/vendor/local/include/glib-2.0/gio/gthreadedsocketservice.h +81 -0
- data/vendor/local/include/glib-2.0/gio/gvfs.h +125 -0
- data/vendor/local/include/glib-2.0/gio/gvolume.h +211 -0
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +55 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +54 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +63 -0
- data/vendor/local/include/glib-2.0/glib/garray.h +179 -0
- data/vendor/local/include/glib-2.0/glib/gasyncqueue.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +68 -0
- data/vendor/local/include/glib-2.0/glib/gbase64.h +57 -0
- data/vendor/local/include/glib-2.0/glib/gbitlock.h +43 -0
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +191 -0
- data/vendor/local/include/glib-2.0/glib/gcache.h +69 -0
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +77 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +138 -0
- data/vendor/local/include/glib-2.0/glib/gdataset.h +122 -0
- data/vendor/local/include/glib-2.0/glib/gdate.h +263 -0
- data/vendor/local/include/glib-2.0/glib/gdir.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gerror.h +98 -0
- data/vendor/local/include/glib-2.0/glib/gfileutils.h +128 -0
- data/vendor/local/include/glib-2.0/glib/ghash.h +166 -0
- data/vendor/local/include/glib-2.0/glib/ghook.h +181 -0
- data/vendor/local/include/glib-2.0/glib/ghostutils.h +40 -0
- data/vendor/local/include/glib-2.0/glib/gi18n-lib.h +38 -0
- data/vendor/local/include/glib-2.0/glib/gi18n.h +34 -0
- data/vendor/local/include/glib-2.0/glib/giochannel.h +366 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +250 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +120 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +277 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +304 -0
- data/vendor/local/include/glib-2.0/glib/gmappedfile.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +163 -0
- data/vendor/local/include/glib-2.0/glib/gmem.h +203 -0
- data/vendor/local/include/glib-2.0/glib/gmessages.h +343 -0
- data/vendor/local/include/glib-2.0/glib/gnode.h +288 -0
- data/vendor/local/include/glib-2.0/glib/goption.h +370 -0
- data/vendor/local/include/glib-2.0/glib/gpattern.h +49 -0
- data/vendor/local/include/glib-2.0/glib/gpoll.h +93 -0
- data/vendor/local/include/glib-2.0/glib/gprimes.h +51 -0
- data/vendor/local/include/glib-2.0/glib/gprintf.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqsort.h +46 -0
- data/vendor/local/include/glib-2.0/glib/gquark.h +52 -0
- data/vendor/local/include/glib-2.0/glib/gqueue.h +127 -0
- data/vendor/local/include/glib-2.0/glib/grand.h +85 -0
- data/vendor/local/include/glib-2.0/glib/gregex.h +243 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +97 -0
- data/vendor/local/include/glib-2.0/glib/gscanner.h +278 -0
- data/vendor/local/include/glib-2.0/glib/gsequence.h +128 -0
- data/vendor/local/include/glib-2.0/glib/gshell.h +55 -0
- data/vendor/local/include/glib-2.0/glib/gslice.h +86 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gspawn.h +139 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +159 -0
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +267 -0
- data/vendor/local/include/glib-2.0/glib/gstring.h +178 -0
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +292 -0
- data/vendor/local/include/glib-2.0/glib/gthread.h +408 -0
- data/vendor/local/include/glib-2.0/glib/gthreadpool.h +114 -0
- data/vendor/local/include/glib-2.0/glib/gtimer.h +65 -0
- data/vendor/local/include/glib-2.0/glib/gtree.h +91 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +451 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +404 -0
- data/vendor/local/include/glib-2.0/glib/gurifuncs.h +81 -0
- data/vendor/local/include/glib-2.0/glib/gutils.h +490 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +224 -0
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +305 -0
- data/vendor/local/include/glib-2.0/glib/gwin32.h +114 -0
- data/vendor/local/include/glib-2.0/glib-object.h +41 -0
- data/vendor/local/include/glib-2.0/glib.h +97 -0
- data/vendor/local/include/glib-2.0/gmodule.h +101 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +236 -0
- data/vendor/local/include/glib-2.0/gobject/gclosure.h +251 -0
- data/vendor/local/include/glib-2.0/gobject/genums.h +261 -0
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +169 -0
- data/vendor/local/include/glib-2.0/gobject/gobject.h +562 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +166 -0
- data/vendor/local/include/glib-2.0/gobject/gparam.h +410 -0
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +1083 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +509 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +51 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +1608 -0
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +263 -0
- data/vendor/local/include/glib-2.0/gobject/gtypeplugin.h +134 -0
- data/vendor/local/include/glib-2.0/gobject/gvalue.h +159 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluearray.h +77 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +222 -0
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +243 -0
- data/vendor/local/include/libintl.h +464 -0
- data/vendor/local/lib/GNU.Gettext.dll +0 -0
- data/vendor/local/lib/gio-2.0.def +800 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +284 -0
- data/vendor/local/lib/glib-2.0.def +1381 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/gmodule-2.0.def +11 -0
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +349 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.def +3 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/intl.lib +0 -0
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libintl.def +31 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +14 -0
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +11 -0
- data/vendor/local/manifest/gettext-runtime-dev_0.18.1.1-2_win32.mft +81 -0
- data/vendor/local/manifest/gettext-runtime_0.18.1.1-2_win32.mft +3 -0
- data/vendor/local/manifest/glib-dev_2.24.2-2_win32.mft +491 -0
- data/vendor/local/manifest/glib_2.24.2-2_win32.mft +101 -0
- data/vendor/local/share/aclocal/glib-2.0.m4 +211 -0
- data/vendor/local/share/aclocal/glib-gettext.m4 +432 -0
- data/vendor/local/share/doc/gettext/bind_textdomain_codeset.3.html +165 -0
- data/vendor/local/share/doc/gettext/bindtextdomain.3.html +160 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext.html +8 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceManager.html +305 -0
- data/vendor/local/share/doc/gettext/csharpdoc/GNU_Gettext_GettextResourceSet.html +356 -0
- data/vendor/local/share/doc/gettext/csharpdoc/begin.html +11 -0
- data/vendor/local/share/doc/gettext/csharpdoc/index.html +10 -0
- data/vendor/local/share/doc/gettext/csharpdoc/namespaces.html +6 -0
- data/vendor/local/share/doc/gettext/envsubst.1.html +213 -0
- data/vendor/local/share/doc/gettext/gettext.1.html +266 -0
- data/vendor/local/share/doc/gettext/gettext.3.html +186 -0
- data/vendor/local/share/doc/gettext/ngettext.1.html +280 -0
- data/vendor/local/share/doc/gettext/ngettext.3.html +143 -0
- data/vendor/local/share/doc/gettext/textdomain.3.html +150 -0
- data/vendor/local/share/doc/glib-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/glib-dev-2.24.2/COPYING +482 -0
- data/vendor/local/share/doc/libasprintf/autosprintf_all.html +174 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +252 -0
- data/vendor/local/share/glib-2.0/gdb/gobject.py +305 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +111 -0
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +277 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +1390 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +531 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +343 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +568 -0
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +295 -0
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +620 -0
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +245 -0
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +993 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +544 -0
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +1416 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +272 -0
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +7450 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +115 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +520 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +3116 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +262 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +353 -0
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +182 -0
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +183 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +261 -0
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +479 -0
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +331 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +717 -0
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +195 -0
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +388 -0
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +808 -0
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +185 -0
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +362 -0
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +1465 -0
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +848 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +263 -0
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +248 -0
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +787 -0
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +350 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +979 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +2152 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +930 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +548 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +741 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +258 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +377 -0
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +197 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +280 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +237 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +306 -0
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +274 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +709 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +180 -0
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +128 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +153 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +155 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +1088 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +206 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +97 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +4499 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +171 -0
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +45 -0
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +80 -0
- data/vendor/local/share/gtk-doc/html/gio/ch19.html +75 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20.html +217 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s02.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/ch20s03.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/extending.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +465 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +381 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +163 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +927 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +328 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +297 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +313 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +918 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +1235 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +1384 -0
- data/vendor/local/share/gtk-doc/html/gio/gvfs-overview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/icons.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/index.html +318 -0
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +1795 -0
- data/vendor/local/share/gtk-doc/html/gio/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +42 -0
- data/vendor/local/share/gtk-doc/html/gio/networking.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +293 -0
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +47 -0
- data/vendor/local/share/gtk-doc/html/gio/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +92 -0
- data/vendor/local/share/gtk-doc/html/gio/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +41 -0
- data/vendor/local/share/gtk-doc/html/gio/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gio/utils.html +33 -0
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +47 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +180 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +312 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +563 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +362 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +102 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +124 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +83 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +194 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +419 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +158 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +340 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +7835 -0
- data/vendor/local/share/gtk-doc/html/glib/file-name-encodings.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +893 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +818 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +413 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +430 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +802 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +372 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +500 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +2054 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +560 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +1686 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +398 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +1187 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +1665 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +460 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +528 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +2042 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +1278 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +1406 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +548 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +1023 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +1810 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +3798 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +1815 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +295 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +1512 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +229 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +629 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +2196 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +612 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +1451 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +389 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +1029 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +141 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +706 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +510 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +703 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +1045 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +1523 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +1466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +204 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +2648 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +752 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +269 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +578 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +483 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +1353 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +238 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +1283 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +1212 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +924 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +466 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +301 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +2947 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +1290 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +1719 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +3379 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +606 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +3411 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +245 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +188 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +263 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +314 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +3356 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +150 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +476 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +438 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +159 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +118 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +64 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +160 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +120 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +59 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +93 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2395 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +121 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +302 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +2084 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +2556 -0
- data/vendor/local/share/gtk-doc/html/glib/glib.html +80 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +72 -0
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +131 -0
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +1171 -0
- data/vendor/local/share/gtk-doc/html/glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +336 -0
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +2717 -0
- data/vendor/local/share/gtk-doc/html/glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/mainloop-states.gif +0 -0
- data/vendor/local/share/gtk-doc/html/glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/glib/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +41 -0
- data/vendor/local/share/gtk-doc/html/glib/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +710 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +453 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +85 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +51 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +38 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +46 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +178 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +42 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +50 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2577 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +136 -0
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +293 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +263 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +92 -0
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +214 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +355 -0
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +295 -0
- data/vendor/local/share/gtk-doc/html/gobject/glue.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +406 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +2355 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +847 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +776 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +2741 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +5242 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +2609 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +4227 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +413 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +230 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +234 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +270 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +117 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +723 -0
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +757 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +143 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +287 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +316 -0
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +76 -0
- data/vendor/local/share/gtk-doc/html/gobject/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +100 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +86 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +113 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +122 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +283 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +125 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +167 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +160 -0
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +121 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.html +187 -0
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +734 -0
- data/vendor/local/share/gtk-doc/html/gobject/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +72 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +80 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +66 -0
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +82 -0
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +377 -0
- data/vendor/local/share/gtk-doc/html/gobject/style.css +257 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +35 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +40 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +63 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +55 -0
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +43 -0
- data/vendor/local/share/gtk-doc/html/gobject/up.png +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/locale.alias +77 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/envsubst.1 +54 -0
- data/vendor/local/share/man/man1/gettext.1 +69 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +307 -0
- data/vendor/local/share/man/man1/glib-mkenums.1 +234 -0
- data/vendor/local/share/man/man1/gobject-query.1 +83 -0
- data/vendor/local/share/man/man1/ngettext.1 +68 -0
- data/vendor/local/share/man/man3/bind_textdomain_codeset.3 +72 -0
- data/vendor/local/share/man/man3/bindtextdomain.3 +69 -0
- data/vendor/local/share/man/man3/dcgettext.3 +1 -0
- data/vendor/local/share/man/man3/dcngettext.3 +1 -0
- data/vendor/local/share/man/man3/dgettext.3 +1 -0
- data/vendor/local/share/man/man3/dngettext.3 +1 -0
- data/vendor/local/share/man/man3/gettext.3 +99 -0
- data/vendor/local/share/man/man3/ngettext.3 +60 -0
- data/vendor/local/share/man/man3/textdomain.3 +57 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.log +10423 -0
- data/vendor/local/src/tml/packaging/gettext_0.18.1.1-2_win32.sh +457 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.log +2602 -0
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +290 -0
- metadata +940 -0
@@ -0,0 +1,1815 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GVariantType</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GLib Reference Manual">
|
8
|
+
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
|
+
<link rel="prev" href="glib-Memory-Allocators.html" title="Memory Allocators">
|
10
|
+
<link rel="next" href="glib-GVariant.html" title="GVariant">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="glib-Memory-Allocators.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="glib-data-types.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="glib-GVariant.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#glib-GVariantType.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#glib-GVariantType.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry" title="GVariantType">
|
30
|
+
<a name="glib-GVariantType"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="glib-GVariantType.top_of_page"></a>GVariantType</span></h2>
|
34
|
+
<p>GVariantType — introduction to the GVariant type system</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv" title="Synopsis">
|
39
|
+
<a name="glib-GVariantType.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">
|
41
|
+
#include <glib.h>
|
42
|
+
|
43
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType">GVariantType</a>;
|
44
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN">G_VARIANT_TYPE_BOOLEAN</a>
|
45
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE">G_VARIANT_TYPE_BYTE</a>
|
46
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16">G_VARIANT_TYPE_INT16</a>
|
47
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CAPS" title="G_VARIANT_TYPE_UINT16">G_VARIANT_TYPE_UINT16</a>
|
48
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAPS" title="G_VARIANT_TYPE_INT32">G_VARIANT_TYPE_INT32</a>
|
49
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CAPS" title="G_VARIANT_TYPE_UINT32">G_VARIANT_TYPE_UINT32</a>
|
50
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAPS" title="G_VARIANT_TYPE_INT64">G_VARIANT_TYPE_INT64</a>
|
51
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CAPS" title="G_VARIANT_TYPE_UINT64">G_VARIANT_TYPE_UINT64</a>
|
52
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" title="G_VARIANT_TYPE_HANDLE">G_VARIANT_TYPE_HANDLE</a>
|
53
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE">G_VARIANT_TYPE_DOUBLE</a>
|
54
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING">G_VARIANT_TYPE_STRING</a>
|
55
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-OBJECT-PATH:CAPS" title="G_VARIANT_TYPE_OBJECT_PATH">G_VARIANT_TYPE_OBJECT_PATH</a>
|
56
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-SIGNATURE:CAPS" title="G_VARIANT_TYPE_SIGNATURE">G_VARIANT_TYPE_SIGNATURE</a>
|
57
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT">G_VARIANT_TYPE_VARIANT</a>
|
58
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ANY:CAPS" title="G_VARIANT_TYPE_ANY">G_VARIANT_TYPE_ANY</a>
|
59
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC">G_VARIANT_TYPE_BASIC</a>
|
60
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-MAYBE:CAPS" title="G_VARIANT_TYPE_MAYBE">G_VARIANT_TYPE_MAYBE</a>
|
61
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY">G_VARIANT_TYPE_ARRAY</a>
|
62
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE">G_VARIANT_TYPE_TUPLE</a>
|
63
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UNIT:CAPS" title="G_VARIANT_TYPE_UNIT">G_VARIANT_TYPE_UNIT</a>
|
64
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICT-ENTRY:CAPS" title="G_VARIANT_TYPE_DICT_ENTRY">G_VARIANT_TYPE_DICT_ENTRY</a>
|
65
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICTIONARY:CAPS" title="G_VARIANT_TYPE_DICTIONARY">G_VARIANT_TYPE_DICTIONARY</a>
|
66
|
+
|
67
|
+
#define <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE:CAPS" title="G_VARIANT_TYPE()">G_VARIANT_TYPE</a> (type_string)
|
68
|
+
<span class="returnvalue">void</span> <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()">g_variant_type_free</a> (<em class="parameter"><code><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
69
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()">g_variant_type_copy</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
70
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new" title="g_variant_type_new ()">g_variant_type_new</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);
|
71
|
+
|
72
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()">g_variant_type_string_is_valid</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);
|
73
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-string-scan" title="g_variant_type_string_scan ()">g_variant_type_string_scan</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
74
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
75
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
76
|
+
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-get-string-length" title="g_variant_type_get_string_length ()">g_variant_type_get_string_length</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
77
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()">g_variant_type_peek_string</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
78
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-dup-string" title="g_variant_type_dup_string ()">g_variant_type_dup_string</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
79
|
+
|
80
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-definite" title="g_variant_type_is_definite ()">g_variant_type_is_definite</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
81
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-container" title="g_variant_type_is_container ()">g_variant_type_is_container</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
82
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-basic" title="g_variant_type_is_basic ()">g_variant_type_is_basic</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
83
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-maybe" title="g_variant_type_is_maybe ()">g_variant_type_is_maybe</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
84
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-array" title="g_variant_type_is_array ()">g_variant_type_is_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
85
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-tuple" title="g_variant_type_is_tuple ()">g_variant_type_is_tuple</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
86
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-dict-entry" title="g_variant_type_is_dict_entry ()">g_variant_type_is_dict_entry</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
87
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-variant" title="g_variant_type_is_variant ()">g_variant_type_is_variant</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
88
|
+
|
89
|
+
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-hash" title="g_variant_type_hash ()">g_variant_type_hash</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type</code></em>);
|
90
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-equal" title="g_variant_type_equal ()">g_variant_type_equal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type1</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type2</code></em>);
|
92
|
+
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-is-subtype-of" title="g_variant_type_is_subtype_of ()">g_variant_type_is_subtype_of</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
93
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *supertype</code></em>);
|
94
|
+
|
95
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-maybe" title="g_variant_type_new_maybe ()">g_variant_type_new_maybe</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);
|
96
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-array" title="g_variant_type_new_array ()">g_variant_type_new_array</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);
|
97
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-tuple" title="g_variant_type_new_tuple ()">g_variant_type_new_tuple</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> * const *items</code></em>,
|
98
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);
|
99
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-new-dict-entry" title="g_variant_type_new_dict_entry ()">g_variant_type_new_dict_entry</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *key</code></em>,
|
100
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *value</code></em>);
|
101
|
+
|
102
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-element" title="g_variant_type_element ()">g_variant_type_element</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
103
|
+
<a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> <a class="link" href="glib-GVariantType.html#g-variant-type-n-items" title="g_variant_type_n_items ()">g_variant_type_n_items</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
104
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()">g_variant_type_first</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
105
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()">g_variant_type_next</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
106
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-key" title="g_variant_type_key ()">g_variant_type_key</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
107
|
+
const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * <a class="link" href="glib-GVariantType.html#g-variant-type-value" title="g_variant_type_value ()">g_variant_type_value</a> (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);
|
108
|
+
</pre>
|
109
|
+
</div>
|
110
|
+
<div class="refsect1" title="Description">
|
111
|
+
<a name="glib-GVariantType.description"></a><h2>Description</h2>
|
112
|
+
<p>
|
113
|
+
This section introduces the GVariant type system. It is based, in
|
114
|
+
large part, on the DBus type system, with two major changes and some minor
|
115
|
+
lifting of restrictions. The <a class="ulink" href="http://dbus.freedesktop.org/doc/dbus-specification.html" target="_top">DBus
|
116
|
+
specification</a>, therefore, provides a significant amount of
|
117
|
+
information that is useful when working with GVariant.
|
118
|
+
</p>
|
119
|
+
<p>
|
120
|
+
The first major change with respect to the DBus type system is the
|
121
|
+
introduction of maybe (or "nullable") types. Any type in GVariant can be
|
122
|
+
converted to a maybe type, in which case, "nothing" (or "null") becomes a
|
123
|
+
valid value. Maybe types have been added by introducing the
|
124
|
+
character "<code class="literal">m</code>" to type strings.
|
125
|
+
</p>
|
126
|
+
<p>
|
127
|
+
The second major change is that the GVariant type system supports the
|
128
|
+
concept of "indefinite types" -- types that are less specific than
|
129
|
+
the normal types found in DBus. For example, it is possible to speak
|
130
|
+
of "an array of any type" in GVariant, where the DBus type system
|
131
|
+
would require you to speak of "an array of integers" or "an array of
|
132
|
+
strings". Indefinite types have been added by introducing the
|
133
|
+
characters "<code class="literal">*</code>", "<code class="literal">?</code>" and
|
134
|
+
"<code class="literal">r</code>" to type strings.
|
135
|
+
</p>
|
136
|
+
<p>
|
137
|
+
Finally, all arbitrary restrictions relating to the complexity of
|
138
|
+
types are lifted along with the restriction that dictionary entries
|
139
|
+
may only appear nested inside of arrays.
|
140
|
+
</p>
|
141
|
+
<p>
|
142
|
+
Just as in DBus, GVariant types are described with strings ("type
|
143
|
+
strings"). Subject to the differences mentioned above, these strings
|
144
|
+
are of the same form as those found in DBus. Note, however: DBus
|
145
|
+
always works in terms of messages and therefore individual type
|
146
|
+
strings appear nowhere in its interface. Instead, "signatures"
|
147
|
+
are a concatenation of the strings of the type of each argument in a
|
148
|
+
message. GVariant deals with single values directly so GVariant type
|
149
|
+
strings always describe the type of exactly one value. This means
|
150
|
+
that a DBus signature string is generally not a valid GVariant type
|
151
|
+
string -- except in the case that it is the signature of a message
|
152
|
+
containing exactly one argument.
|
153
|
+
</p>
|
154
|
+
<p>
|
155
|
+
An indefinite type is similar in spirit to what may be called an
|
156
|
+
abstract type in other type systems. No value can exist that has an
|
157
|
+
indefinite type as its type, but values can exist that have types
|
158
|
+
that are subtypes of indefinite types. That is to say,
|
159
|
+
<a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()"><code class="function">g_variant_get_type()</code></a> will never return an indefinite type, but
|
160
|
+
calling <code class="function">g_variant_is_a()</code> with an indefinite type may return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.
|
161
|
+
For example, you can not have a value that represents "an array of no
|
162
|
+
particular type", but you can have an "array of integers" which
|
163
|
+
certainly matches the type of "an array of no particular type", since
|
164
|
+
"array of integers" is a subtype of "array of no particular type".
|
165
|
+
</p>
|
166
|
+
<p>
|
167
|
+
This is similar to how instances of abstract classes may not
|
168
|
+
directly exist in other type systems, but instances of their
|
169
|
+
non-abstract subtypes may. For example, in GTK, no object that has
|
170
|
+
the type of <span class="type">GtkBin</span> can exist (since <span class="type">GtkBin</span> is an abstract class),
|
171
|
+
but a <span class="type">GtkWindow</span> can certainly be instantiated, and you would say
|
172
|
+
that the <span class="type">GtkWindow</span> is a <span class="type">GtkBin</span> (since <span class="type">GtkWindow</span> is a subclass of
|
173
|
+
<span class="type">GtkBin</span>).
|
174
|
+
</p>
|
175
|
+
<p>
|
176
|
+
A detailed description of GVariant type strings is given here:
|
177
|
+
</p>
|
178
|
+
<div class="refsect2" title="GVariant Type Strings">
|
179
|
+
<a name="gvariant-typestrings"></a><h3>GVariant Type Strings</h3>
|
180
|
+
<p>
|
181
|
+
A GVariant type string can be any of the following:
|
182
|
+
</p>
|
183
|
+
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
184
|
+
<li class="listitem"><p>
|
185
|
+
any basic type string (listed below)
|
186
|
+
</p></li>
|
187
|
+
<li class="listitem"><p>
|
188
|
+
"<code class="literal">v</code>", "<code class="literal">r</code>" or
|
189
|
+
"<code class="literal">*</code>"
|
190
|
+
</p></li>
|
191
|
+
<li class="listitem"><p>
|
192
|
+
one of the characters '<code class="literal">a</code>' or
|
193
|
+
'<code class="literal">m</code>', followed by another type string
|
194
|
+
</p></li>
|
195
|
+
<li class="listitem"><p>
|
196
|
+
the character '<code class="literal">(</code>', followed by a concatenation
|
197
|
+
of zero or more other type strings, followed by the character
|
198
|
+
'<code class="literal">)</code>'
|
199
|
+
</p></li>
|
200
|
+
<li class="listitem"><p>
|
201
|
+
the character '<code class="literal">{</code>', followed by a basic type
|
202
|
+
string (see below), followed by another type string, followed by
|
203
|
+
the character '<code class="literal">}</code>'
|
204
|
+
</p></li>
|
205
|
+
</ul></div>
|
206
|
+
<p>
|
207
|
+
A basic type string describes a basic type (as per
|
208
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-is-basic" title="g_variant_type_is_basic ()"><code class="function">g_variant_type_is_basic()</code></a>) and is always a single
|
209
|
+
character in length. The valid basic type strings are
|
210
|
+
"<code class="literal">b</code>", "<code class="literal">y</code>",
|
211
|
+
"<code class="literal">n</code>", "<code class="literal">q</code>",
|
212
|
+
"<code class="literal">i</code>", "<code class="literal">u</code>",
|
213
|
+
"<code class="literal">x</code>", "<code class="literal">t</code>",
|
214
|
+
"<code class="literal">h</code>", "<code class="literal">d</code>",
|
215
|
+
"<code class="literal">s</code>", "<code class="literal">o</code>",
|
216
|
+
"<code class="literal">g</code>" and "<code class="literal">?</code>".
|
217
|
+
</p>
|
218
|
+
<p>
|
219
|
+
The above definition is recursive to arbitrary depth.
|
220
|
+
"<code class="literal">aaaaai</code>" and "<code class="literal">(ui(nq((y)))s)</code>"
|
221
|
+
are both valid type strings, as is
|
222
|
+
"<code class="literal">a(aa(ui)(qna{ya(yd)}))</code>".
|
223
|
+
</p>
|
224
|
+
<p>
|
225
|
+
The meaning of each of the characters is as follows:
|
226
|
+
</p>
|
227
|
+
<div class="informaltable"><table border="1">
|
228
|
+
<colgroup>
|
229
|
+
<col>
|
230
|
+
<col>
|
231
|
+
</colgroup>
|
232
|
+
<tbody>
|
233
|
+
<tr>
|
234
|
+
<td>
|
235
|
+
<p>
|
236
|
+
<span class="strong"><strong>Character</strong></span>
|
237
|
+
</p>
|
238
|
+
</td>
|
239
|
+
<td>
|
240
|
+
<p>
|
241
|
+
<span class="strong"><strong>Meaning</strong></span>
|
242
|
+
</p>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td>
|
247
|
+
<p>
|
248
|
+
<code class="literal">b</code>
|
249
|
+
</p>
|
250
|
+
</td>
|
251
|
+
<td>
|
252
|
+
<p>
|
253
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:CAPS" title="G_VARIANT_TYPE_BOOLEAN"><code class="literal">G_VARIANT_TYPE_BOOLEAN</code></a>; a boolean value.
|
254
|
+
</p>
|
255
|
+
</td>
|
256
|
+
</tr>
|
257
|
+
<tr>
|
258
|
+
<td>
|
259
|
+
<p>
|
260
|
+
<code class="literal">y</code>
|
261
|
+
</p>
|
262
|
+
</td>
|
263
|
+
<td>
|
264
|
+
<p>
|
265
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS" title="G_VARIANT_TYPE_BYTE"><code class="literal">G_VARIANT_TYPE_BYTE</code></a>; a byte.
|
266
|
+
</p>
|
267
|
+
</td>
|
268
|
+
</tr>
|
269
|
+
<tr>
|
270
|
+
<td>
|
271
|
+
<p>
|
272
|
+
<code class="literal">n</code>
|
273
|
+
</p>
|
274
|
+
</td>
|
275
|
+
<td>
|
276
|
+
<p>
|
277
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAPS" title="G_VARIANT_TYPE_INT16"><code class="literal">G_VARIANT_TYPE_INT16</code></a>; a signed 16 bit
|
278
|
+
integer.
|
279
|
+
</p>
|
280
|
+
</td>
|
281
|
+
</tr>
|
282
|
+
<tr>
|
283
|
+
<td>
|
284
|
+
<p>
|
285
|
+
<code class="literal">q</code>
|
286
|
+
</p>
|
287
|
+
</td>
|
288
|
+
<td>
|
289
|
+
<p>
|
290
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CAPS" title="G_VARIANT_TYPE_UINT16"><code class="literal">G_VARIANT_TYPE_UINT16</code></a>; an unsigned 16 bit
|
291
|
+
integer.
|
292
|
+
</p>
|
293
|
+
</td>
|
294
|
+
</tr>
|
295
|
+
<tr>
|
296
|
+
<td>
|
297
|
+
<p>
|
298
|
+
<code class="literal">i</code>
|
299
|
+
</p>
|
300
|
+
</td>
|
301
|
+
<td>
|
302
|
+
<p>
|
303
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAPS" title="G_VARIANT_TYPE_INT32"><code class="literal">G_VARIANT_TYPE_INT32</code></a>; a signed 32 bit
|
304
|
+
integer.
|
305
|
+
</p>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
<tr>
|
309
|
+
<td>
|
310
|
+
<p>
|
311
|
+
<code class="literal">u</code>
|
312
|
+
</p>
|
313
|
+
</td>
|
314
|
+
<td>
|
315
|
+
<p>
|
316
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CAPS" title="G_VARIANT_TYPE_UINT32"><code class="literal">G_VARIANT_TYPE_UINT32</code></a>; an unsigned 32 bit
|
317
|
+
integer.
|
318
|
+
</p>
|
319
|
+
</td>
|
320
|
+
</tr>
|
321
|
+
<tr>
|
322
|
+
<td>
|
323
|
+
<p>
|
324
|
+
<code class="literal">x</code>
|
325
|
+
</p>
|
326
|
+
</td>
|
327
|
+
<td>
|
328
|
+
<p>
|
329
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAPS" title="G_VARIANT_TYPE_INT64"><code class="literal">G_VARIANT_TYPE_INT64</code></a>; a signed 64 bit
|
330
|
+
integer.
|
331
|
+
</p>
|
332
|
+
</td>
|
333
|
+
</tr>
|
334
|
+
<tr>
|
335
|
+
<td>
|
336
|
+
<p>
|
337
|
+
<code class="literal">t</code>
|
338
|
+
</p>
|
339
|
+
</td>
|
340
|
+
<td>
|
341
|
+
<p>
|
342
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CAPS" title="G_VARIANT_TYPE_UINT64"><code class="literal">G_VARIANT_TYPE_UINT64</code></a>; an unsigned 64 bit
|
343
|
+
integer.
|
344
|
+
</p>
|
345
|
+
</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td>
|
349
|
+
<p>
|
350
|
+
<code class="literal">h</code>
|
351
|
+
</p>
|
352
|
+
</td>
|
353
|
+
<td>
|
354
|
+
<p>
|
355
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" title="G_VARIANT_TYPE_HANDLE"><code class="literal">G_VARIANT_TYPE_HANDLE</code></a>; a signed 32 bit
|
356
|
+
value that, by convention, is used as an index into an array
|
357
|
+
of file descriptors that are sent alongside a DBus message.
|
358
|
+
</p>
|
359
|
+
</td>
|
360
|
+
</tr>
|
361
|
+
<tr>
|
362
|
+
<td>
|
363
|
+
<p>
|
364
|
+
<code class="literal">d</code>
|
365
|
+
</p>
|
366
|
+
</td>
|
367
|
+
<td>
|
368
|
+
<p>
|
369
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CAPS" title="G_VARIANT_TYPE_DOUBLE"><code class="literal">G_VARIANT_TYPE_DOUBLE</code></a>; a double precision
|
370
|
+
floating point value.
|
371
|
+
</p>
|
372
|
+
</td>
|
373
|
+
</tr>
|
374
|
+
<tr>
|
375
|
+
<td>
|
376
|
+
<p>
|
377
|
+
<code class="literal">s</code>
|
378
|
+
</p>
|
379
|
+
</td>
|
380
|
+
<td>
|
381
|
+
<p>
|
382
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING"><code class="literal">G_VARIANT_TYPE_STRING</code></a>; a string.
|
383
|
+
</p>
|
384
|
+
</td>
|
385
|
+
</tr>
|
386
|
+
<tr>
|
387
|
+
<td>
|
388
|
+
<p>
|
389
|
+
<code class="literal">o</code>
|
390
|
+
</p>
|
391
|
+
</td>
|
392
|
+
<td>
|
393
|
+
<p>
|
394
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-OBJECT-PATH:CAPS" title="G_VARIANT_TYPE_OBJECT_PATH"><code class="literal">G_VARIANT_TYPE_OBJECT_PATH</code></a>; a string in
|
395
|
+
the form of a DBus object path.
|
396
|
+
</p>
|
397
|
+
</td>
|
398
|
+
</tr>
|
399
|
+
<tr>
|
400
|
+
<td>
|
401
|
+
<p>
|
402
|
+
<code class="literal">g</code>
|
403
|
+
</p>
|
404
|
+
</td>
|
405
|
+
<td>
|
406
|
+
<p>
|
407
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-STRING:CAPS" title="G_VARIANT_TYPE_STRING"><code class="literal">G_VARIANT_TYPE_STRING</code></a>; a string in the
|
408
|
+
form of a DBus type signature.
|
409
|
+
</p>
|
410
|
+
</td>
|
411
|
+
</tr>
|
412
|
+
<tr>
|
413
|
+
<td>
|
414
|
+
<p>
|
415
|
+
<code class="literal">?</code>
|
416
|
+
</p>
|
417
|
+
</td>
|
418
|
+
<td>
|
419
|
+
<p>
|
420
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC"><code class="literal">G_VARIANT_TYPE_BASIC</code></a>; an indefinite type
|
421
|
+
that is a supertype of any of the basic types.
|
422
|
+
</p>
|
423
|
+
</td>
|
424
|
+
</tr>
|
425
|
+
<tr>
|
426
|
+
<td>
|
427
|
+
<p>
|
428
|
+
<code class="literal">v</code>
|
429
|
+
</p>
|
430
|
+
</td>
|
431
|
+
<td>
|
432
|
+
<p>
|
433
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-VARIANT:CAPS" title="G_VARIANT_TYPE_VARIANT"><code class="literal">G_VARIANT_TYPE_VARIANT</code></a>; a container type
|
434
|
+
that contain any other type of value.
|
435
|
+
</p>
|
436
|
+
</td>
|
437
|
+
</tr>
|
438
|
+
<tr>
|
439
|
+
<td>
|
440
|
+
<p>
|
441
|
+
<code class="literal">a</code>
|
442
|
+
</p>
|
443
|
+
</td>
|
444
|
+
<td>
|
445
|
+
<p>
|
446
|
+
used as a prefix on another type string to mean an array of
|
447
|
+
that type; the type string "<code class="literal">ai</code>", for
|
448
|
+
example, is the type of an array of 32 bit signed integers.
|
449
|
+
</p>
|
450
|
+
</td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td>
|
454
|
+
<p>
|
455
|
+
<code class="literal">m</code>
|
456
|
+
</p>
|
457
|
+
</td>
|
458
|
+
<td>
|
459
|
+
<p>
|
460
|
+
used as a prefix on another type string to mean a "maybe", or
|
461
|
+
"nullable", version of that type; the type string
|
462
|
+
"<code class="literal">ms</code>", for example, is the type of a value
|
463
|
+
that maybe contains a string, or maybe contains nothing.
|
464
|
+
</p>
|
465
|
+
</td>
|
466
|
+
</tr>
|
467
|
+
<tr>
|
468
|
+
<td>
|
469
|
+
<p>
|
470
|
+
<code class="literal">()</code>
|
471
|
+
</p>
|
472
|
+
</td>
|
473
|
+
<td>
|
474
|
+
<p>
|
475
|
+
used to enclose zero or more other concatenated type strings
|
476
|
+
to create a tuple type; the type string
|
477
|
+
"<code class="literal">(is)</code>", for example, is the type of a pair
|
478
|
+
of an integer and a string.
|
479
|
+
</p>
|
480
|
+
</td>
|
481
|
+
</tr>
|
482
|
+
<tr>
|
483
|
+
<td>
|
484
|
+
<p>
|
485
|
+
<code class="literal">r</code>
|
486
|
+
</p>
|
487
|
+
</td>
|
488
|
+
<td>
|
489
|
+
<p>
|
490
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>; an indefinite type
|
491
|
+
that is a supertype of any tuple type, regardless of the
|
492
|
+
number of items.
|
493
|
+
</p>
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
<tr>
|
497
|
+
<td>
|
498
|
+
<p>
|
499
|
+
<code class="literal">{}</code>
|
500
|
+
</p>
|
501
|
+
</td>
|
502
|
+
<td>
|
503
|
+
<p>
|
504
|
+
used to enclose a basic type string concatenated with another
|
505
|
+
type string to create a dictionary entry type, which usually
|
506
|
+
appears inside of an array to form a dictionary; the type
|
507
|
+
string "<code class="literal">a{sd}</code>", for example, is the type of
|
508
|
+
a dictionary that maps strings to double precision floating
|
509
|
+
point values.
|
510
|
+
</p>
|
511
|
+
<p>
|
512
|
+
The first type (the basic type) is the key type and the second
|
513
|
+
type is the value type. The reason that the first type is
|
514
|
+
restricted to being a basic type is so that it can easily be
|
515
|
+
hashed.
|
516
|
+
</p>
|
517
|
+
</td>
|
518
|
+
</tr>
|
519
|
+
<tr>
|
520
|
+
<td>
|
521
|
+
<p>
|
522
|
+
<code class="literal">*</code>
|
523
|
+
</p>
|
524
|
+
</td>
|
525
|
+
<td>
|
526
|
+
<p>
|
527
|
+
the type string of <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ANY:CAPS" title="G_VARIANT_TYPE_ANY"><code class="literal">G_VARIANT_TYPE_ANY</code></a>; the indefinite type
|
528
|
+
that is a supertype of all types. Note that, as with all type
|
529
|
+
strings, this character represents exactly one type. It
|
530
|
+
cannot be used inside of tuples to mean "any number of items".
|
531
|
+
</p>
|
532
|
+
</td>
|
533
|
+
</tr>
|
534
|
+
</tbody>
|
535
|
+
</table></div>
|
536
|
+
<p>
|
537
|
+
Any type string of a container that contains an indefinite type is,
|
538
|
+
itself, an indefinite type. For example, the type string
|
539
|
+
"<code class="literal">a*</code>" (corresponding to <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>) is
|
540
|
+
an indefinite type that is a supertype of every array type.
|
541
|
+
"<code class="literal">(*s)</code>" is a supertype of all tuples that
|
542
|
+
contain exactly two items where the second item is a string.
|
543
|
+
</p>
|
544
|
+
<p>
|
545
|
+
"<code class="literal">a{?*}</code>" is an indefinite type that is a
|
546
|
+
supertype of all arrays containing dictionary entries where the key
|
547
|
+
is any basic type and the value is any type at all. This is, by
|
548
|
+
definition, a dictionary, so this type string corresponds to
|
549
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICTIONARY:CAPS" title="G_VARIANT_TYPE_DICTIONARY"><code class="literal">G_VARIANT_TYPE_DICTIONARY</code></a>. Note that, due to the restriction that
|
550
|
+
the key of a dictionary entry must be a basic type,
|
551
|
+
"<code class="literal">{**}</code>" is not a valid type string.
|
552
|
+
</p>
|
553
|
+
</div>
|
554
|
+
</div>
|
555
|
+
<div class="refsect1" title="Details">
|
556
|
+
<a name="glib-GVariantType.details"></a><h2>Details</h2>
|
557
|
+
<div class="refsect2" title="GVariantType">
|
558
|
+
<a name="GVariantType"></a><h3>GVariantType</h3>
|
559
|
+
<pre class="programlisting">typedef struct _GVariantType GVariantType;</pre>
|
560
|
+
<p>
|
561
|
+
A type in the GVariant type system.
|
562
|
+
</p>
|
563
|
+
<p>
|
564
|
+
Two types may not be compared by value; use <a class="link" href="glib-GVariantType.html#g-variant-type-equal" title="g_variant_type_equal ()"><code class="function">g_variant_type_equal()</code></a> or
|
565
|
+
<code class="function">g_variant_type_is_subtype()</code>. May be copied using
|
566
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()"><code class="function">g_variant_type_copy()</code></a> and freed using <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a>.
|
567
|
+
</p>
|
568
|
+
</div>
|
569
|
+
<hr>
|
570
|
+
<div class="refsect2" title="G_VARIANT_TYPE_BOOLEAN">
|
571
|
+
<a name="G-VARIANT-TYPE-BOOLEAN:CAPS"></a><h3>G_VARIANT_TYPE_BOOLEAN</h3>
|
572
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_BOOLEAN ((const GVariantType *) "b")
|
573
|
+
</pre>
|
574
|
+
<p>
|
575
|
+
The type of a value that can be either <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a>.
|
576
|
+
</p>
|
577
|
+
</div>
|
578
|
+
<hr>
|
579
|
+
<div class="refsect2" title="G_VARIANT_TYPE_BYTE">
|
580
|
+
<a name="G-VARIANT-TYPE-BYTE:CAPS"></a><h3>G_VARIANT_TYPE_BYTE</h3>
|
581
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_BYTE ((const GVariantType *) "y")
|
582
|
+
</pre>
|
583
|
+
<p>
|
584
|
+
The type of an integer value that can range from 0 to 255.
|
585
|
+
</p>
|
586
|
+
</div>
|
587
|
+
<hr>
|
588
|
+
<div class="refsect2" title="G_VARIANT_TYPE_INT16">
|
589
|
+
<a name="G-VARIANT-TYPE-INT16:CAPS"></a><h3>G_VARIANT_TYPE_INT16</h3>
|
590
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_INT16 ((const GVariantType *) "n")
|
591
|
+
</pre>
|
592
|
+
<p>
|
593
|
+
The type of an integer value that can range from -32768 to 32767.
|
594
|
+
</p>
|
595
|
+
</div>
|
596
|
+
<hr>
|
597
|
+
<div class="refsect2" title="G_VARIANT_TYPE_UINT16">
|
598
|
+
<a name="G-VARIANT-TYPE-UINT16:CAPS"></a><h3>G_VARIANT_TYPE_UINT16</h3>
|
599
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_UINT16 ((const GVariantType *) "q")
|
600
|
+
</pre>
|
601
|
+
<p>
|
602
|
+
The type of an integer value that can range from 0 to 65535.
|
603
|
+
There were about this many people living in Toronto in the 1870s.
|
604
|
+
</p>
|
605
|
+
</div>
|
606
|
+
<hr>
|
607
|
+
<div class="refsect2" title="G_VARIANT_TYPE_INT32">
|
608
|
+
<a name="G-VARIANT-TYPE-INT32:CAPS"></a><h3>G_VARIANT_TYPE_INT32</h3>
|
609
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_INT32 ((const GVariantType *) "i")
|
610
|
+
</pre>
|
611
|
+
<p>
|
612
|
+
The type of an integer value that can range from -2147483648 to
|
613
|
+
2147483647.
|
614
|
+
</p>
|
615
|
+
</div>
|
616
|
+
<hr>
|
617
|
+
<div class="refsect2" title="G_VARIANT_TYPE_UINT32">
|
618
|
+
<a name="G-VARIANT-TYPE-UINT32:CAPS"></a><h3>G_VARIANT_TYPE_UINT32</h3>
|
619
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_UINT32 ((const GVariantType *) "u")
|
620
|
+
</pre>
|
621
|
+
<p>
|
622
|
+
The type of an integer value that can range from 0 to 4294967295.
|
623
|
+
That's one number for everyone who was around in the late 1970s.
|
624
|
+
</p>
|
625
|
+
</div>
|
626
|
+
<hr>
|
627
|
+
<div class="refsect2" title="G_VARIANT_TYPE_INT64">
|
628
|
+
<a name="G-VARIANT-TYPE-INT64:CAPS"></a><h3>G_VARIANT_TYPE_INT64</h3>
|
629
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_INT64 ((const GVariantType *) "x")
|
630
|
+
</pre>
|
631
|
+
<p>
|
632
|
+
The type of an integer value that can range from
|
633
|
+
-9223372036854775808 to 9223372036854775807.
|
634
|
+
</p>
|
635
|
+
</div>
|
636
|
+
<hr>
|
637
|
+
<div class="refsect2" title="G_VARIANT_TYPE_UINT64">
|
638
|
+
<a name="G-VARIANT-TYPE-UINT64:CAPS"></a><h3>G_VARIANT_TYPE_UINT64</h3>
|
639
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t")
|
640
|
+
</pre>
|
641
|
+
<p>
|
642
|
+
The type of an integer value that can range from 0 to
|
643
|
+
18446744073709551616. That's a really big number, but a Rubik's
|
644
|
+
cube can have a bit more than twice as many possible positions.
|
645
|
+
</p>
|
646
|
+
</div>
|
647
|
+
<hr>
|
648
|
+
<div class="refsect2" title="G_VARIANT_TYPE_HANDLE">
|
649
|
+
<a name="G-VARIANT-TYPE-HANDLE:CAPS"></a><h3>G_VARIANT_TYPE_HANDLE</h3>
|
650
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_HANDLE ((const GVariantType *) "h")
|
651
|
+
</pre>
|
652
|
+
<p>
|
653
|
+
The type of a 32bit signed integer value, that by convention, is used
|
654
|
+
as an index into an array of file descriptors that are sent alongside
|
655
|
+
a DBus message.
|
656
|
+
</p>
|
657
|
+
<p>
|
658
|
+
If you are not interacting with DBus, then there is no reason to make
|
659
|
+
use of this type.
|
660
|
+
</p>
|
661
|
+
</div>
|
662
|
+
<hr>
|
663
|
+
<div class="refsect2" title="G_VARIANT_TYPE_DOUBLE">
|
664
|
+
<a name="G-VARIANT-TYPE-DOUBLE:CAPS"></a><h3>G_VARIANT_TYPE_DOUBLE</h3>
|
665
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_DOUBLE ((const GVariantType *) "d")
|
666
|
+
</pre>
|
667
|
+
<p>
|
668
|
+
The type of a double precision IEEE754 floating point number.
|
669
|
+
These guys go up to about 1.80e308 (plus and minus) but miss out on
|
670
|
+
some numbers in between. In any case, that's far greater than the
|
671
|
+
estimated number of fundamental particles in the observable
|
672
|
+
universe.
|
673
|
+
</p>
|
674
|
+
</div>
|
675
|
+
<hr>
|
676
|
+
<div class="refsect2" title="G_VARIANT_TYPE_STRING">
|
677
|
+
<a name="G-VARIANT-TYPE-STRING:CAPS"></a><h3>G_VARIANT_TYPE_STRING</h3>
|
678
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_STRING ((const GVariantType *) "s")
|
679
|
+
</pre>
|
680
|
+
<p>
|
681
|
+
The type of a string. "" is a string. <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is not a string.
|
682
|
+
</p>
|
683
|
+
</div>
|
684
|
+
<hr>
|
685
|
+
<div class="refsect2" title="G_VARIANT_TYPE_OBJECT_PATH">
|
686
|
+
<a name="G-VARIANT-TYPE-OBJECT-PATH:CAPS"></a><h3>G_VARIANT_TYPE_OBJECT_PATH</h3>
|
687
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o")
|
688
|
+
</pre>
|
689
|
+
<p>
|
690
|
+
The type of a DBus object reference. These are strings of a
|
691
|
+
specific format used to identify objects at a given destination on
|
692
|
+
the bus.
|
693
|
+
</p>
|
694
|
+
<p>
|
695
|
+
If you are not interacting with DBus, then there is no reason to make
|
696
|
+
use of this type. If you are, then the DBus specification contains a
|
697
|
+
precise description of valid object paths.
|
698
|
+
</p>
|
699
|
+
</div>
|
700
|
+
<hr>
|
701
|
+
<div class="refsect2" title="G_VARIANT_TYPE_SIGNATURE">
|
702
|
+
<a name="G-VARIANT-TYPE-SIGNATURE:CAPS"></a><h3>G_VARIANT_TYPE_SIGNATURE</h3>
|
703
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g")
|
704
|
+
</pre>
|
705
|
+
<p>
|
706
|
+
The type of a DBus type signature. These are strings of a specific
|
707
|
+
format used as type signatures for DBus methods and messages.
|
708
|
+
</p>
|
709
|
+
<p>
|
710
|
+
If you are not interacting with DBus, then there is no reason to make
|
711
|
+
use of this type. If you are, then the DBus specification contains a
|
712
|
+
precise description of valid signature strings.
|
713
|
+
</p>
|
714
|
+
</div>
|
715
|
+
<hr>
|
716
|
+
<div class="refsect2" title="G_VARIANT_TYPE_VARIANT">
|
717
|
+
<a name="G-VARIANT-TYPE-VARIANT:CAPS"></a><h3>G_VARIANT_TYPE_VARIANT</h3>
|
718
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_VARIANT ((const GVariantType *) "v")
|
719
|
+
</pre>
|
720
|
+
<p>
|
721
|
+
The type of a box that contains any other value (including another
|
722
|
+
variant).
|
723
|
+
</p>
|
724
|
+
</div>
|
725
|
+
<hr>
|
726
|
+
<div class="refsect2" title="G_VARIANT_TYPE_ANY">
|
727
|
+
<a name="G-VARIANT-TYPE-ANY:CAPS"></a><h3>G_VARIANT_TYPE_ANY</h3>
|
728
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_ANY ((const GVariantType *) "*")
|
729
|
+
</pre>
|
730
|
+
<p>
|
731
|
+
An indefinite type that is a supertype of every type (including
|
732
|
+
itself).
|
733
|
+
</p>
|
734
|
+
</div>
|
735
|
+
<hr>
|
736
|
+
<div class="refsect2" title="G_VARIANT_TYPE_BASIC">
|
737
|
+
<a name="G-VARIANT-TYPE-BASIC:CAPS"></a><h3>G_VARIANT_TYPE_BASIC</h3>
|
738
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_BASIC ((const GVariantType *) "?")
|
739
|
+
</pre>
|
740
|
+
<p>
|
741
|
+
An indefinite type that is a supertype of every basic (ie:
|
742
|
+
non-container) type.
|
743
|
+
</p>
|
744
|
+
</div>
|
745
|
+
<hr>
|
746
|
+
<div class="refsect2" title="G_VARIANT_TYPE_MAYBE">
|
747
|
+
<a name="G-VARIANT-TYPE-MAYBE:CAPS"></a><h3>G_VARIANT_TYPE_MAYBE</h3>
|
748
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_MAYBE ((const GVariantType *) "m*")
|
749
|
+
</pre>
|
750
|
+
<p>
|
751
|
+
An indefinite type that is a supertype of every maybe type.
|
752
|
+
</p>
|
753
|
+
</div>
|
754
|
+
<hr>
|
755
|
+
<div class="refsect2" title="G_VARIANT_TYPE_ARRAY">
|
756
|
+
<a name="G-VARIANT-TYPE-ARRAY:CAPS"></a><h3>G_VARIANT_TYPE_ARRAY</h3>
|
757
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_ARRAY ((const GVariantType *) "a*")
|
758
|
+
</pre>
|
759
|
+
<p>
|
760
|
+
An indefinite type that is a supertype of every array type.
|
761
|
+
</p>
|
762
|
+
</div>
|
763
|
+
<hr>
|
764
|
+
<div class="refsect2" title="G_VARIANT_TYPE_TUPLE">
|
765
|
+
<a name="G-VARIANT-TYPE-TUPLE:CAPS"></a><h3>G_VARIANT_TYPE_TUPLE</h3>
|
766
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_TUPLE ((const GVariantType *) "r")
|
767
|
+
</pre>
|
768
|
+
<p>
|
769
|
+
An indefinite type that is a supertype of every tuple type,
|
770
|
+
regardless of the number of items in the tuple.
|
771
|
+
</p>
|
772
|
+
</div>
|
773
|
+
<hr>
|
774
|
+
<div class="refsect2" title="G_VARIANT_TYPE_UNIT">
|
775
|
+
<a name="G-VARIANT-TYPE-UNIT:CAPS"></a><h3>G_VARIANT_TYPE_UNIT</h3>
|
776
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_UNIT ((const GVariantType *) "()")
|
777
|
+
</pre>
|
778
|
+
<p>
|
779
|
+
The empty tuple type. Has only one instance. Known also as "triv"
|
780
|
+
or "void".
|
781
|
+
</p>
|
782
|
+
</div>
|
783
|
+
<hr>
|
784
|
+
<div class="refsect2" title="G_VARIANT_TYPE_DICT_ENTRY">
|
785
|
+
<a name="G-VARIANT-TYPE-DICT-ENTRY:CAPS"></a><h3>G_VARIANT_TYPE_DICT_ENTRY</h3>
|
786
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_DICT_ENTRY ((const GVariantType *) "{?*}")
|
787
|
+
</pre>
|
788
|
+
<p>
|
789
|
+
An indefinite type that is a supertype of every dictionary entry
|
790
|
+
type.
|
791
|
+
</p>
|
792
|
+
</div>
|
793
|
+
<hr>
|
794
|
+
<div class="refsect2" title="G_VARIANT_TYPE_DICTIONARY">
|
795
|
+
<a name="G-VARIANT-TYPE-DICTIONARY:CAPS"></a><h3>G_VARIANT_TYPE_DICTIONARY</h3>
|
796
|
+
<pre class="programlisting">#define G_VARIANT_TYPE_DICTIONARY ((const GVariantType *) "a{?*}")
|
797
|
+
</pre>
|
798
|
+
<p>
|
799
|
+
An indefinite type that is a supertype of every dictionary type --
|
800
|
+
that is, any array type that has an element type equal to any
|
801
|
+
dictionary entry type.
|
802
|
+
</p>
|
803
|
+
</div>
|
804
|
+
<hr>
|
805
|
+
<div class="refsect2" title="G_VARIANT_TYPE()">
|
806
|
+
<a name="G-VARIANT-TYPE:CAPS"></a><h3>G_VARIANT_TYPE()</h3>
|
807
|
+
<pre class="programlisting">#define G_VARIANT_TYPE(type_string)</pre>
|
808
|
+
<p>
|
809
|
+
Converts a string to a const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>. Depending on the
|
810
|
+
current debugging level, this function may perform a runtime check
|
811
|
+
to ensure that <em class="parameter"><code>string</code></em> is a valid GVariant type string.
|
812
|
+
</p>
|
813
|
+
<p>
|
814
|
+
It is always a programmer error to use this macro with an invalid
|
815
|
+
type string.
|
816
|
+
</p>
|
817
|
+
<p>
|
818
|
+
Since 2.24
|
819
|
+
</p>
|
820
|
+
<div class="variablelist"><table border="0">
|
821
|
+
<col align="left" valign="top">
|
822
|
+
<tbody><tr>
|
823
|
+
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
824
|
+
<td>a well-formed <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> type string
|
825
|
+
</td>
|
826
|
+
</tr></tbody>
|
827
|
+
</table></div>
|
828
|
+
</div>
|
829
|
+
<hr>
|
830
|
+
<div class="refsect2" title="g_variant_type_free ()">
|
831
|
+
<a name="g-variant-type-free"></a><h3>g_variant_type_free ()</h3>
|
832
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_variant_type_free (<em class="parameter"><code><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
833
|
+
<p>
|
834
|
+
Frees a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> that was allocated with
|
835
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-copy" title="g_variant_type_copy ()"><code class="function">g_variant_type_copy()</code></a>, <a class="link" href="glib-GVariantType.html#g-variant-type-new" title="g_variant_type_new ()"><code class="function">g_variant_type_new()</code></a> or one of the container
|
836
|
+
type constructor functions.
|
837
|
+
</p>
|
838
|
+
<p>
|
839
|
+
In the case that <em class="parameter"><code>type</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, this function does nothing.
|
840
|
+
</p>
|
841
|
+
<p>
|
842
|
+
Since 2.24
|
843
|
+
</p>
|
844
|
+
<div class="variablelist"><table border="0">
|
845
|
+
<col align="left" valign="top">
|
846
|
+
<tbody><tr>
|
847
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
848
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
849
|
+
</td>
|
850
|
+
</tr></tbody>
|
851
|
+
</table></div>
|
852
|
+
</div>
|
853
|
+
<hr>
|
854
|
+
<div class="refsect2" title="g_variant_type_copy ()">
|
855
|
+
<a name="g-variant-type-copy"></a><h3>g_variant_type_copy ()</h3>
|
856
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_copy (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
857
|
+
<p>
|
858
|
+
Makes a copy of a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>. It is appropriate to call
|
859
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value. <em class="parameter"><code>type</code></em> may not be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
860
|
+
</p>
|
861
|
+
<p>
|
862
|
+
Since 2.24
|
863
|
+
</p>
|
864
|
+
<div class="variablelist"><table border="0">
|
865
|
+
<col align="left" valign="top">
|
866
|
+
<tbody>
|
867
|
+
<tr>
|
868
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
869
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
870
|
+
</td>
|
871
|
+
</tr>
|
872
|
+
<tr>
|
873
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
874
|
+
<td>a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
875
|
+
</td>
|
876
|
+
</tr>
|
877
|
+
</tbody>
|
878
|
+
</table></div>
|
879
|
+
</div>
|
880
|
+
<hr>
|
881
|
+
<div class="refsect2" title="g_variant_type_new ()">
|
882
|
+
<a name="g-variant-type-new"></a><h3>g_variant_type_new ()</h3>
|
883
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);</pre>
|
884
|
+
<p>
|
885
|
+
Creates a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> corresponding to the type string given
|
886
|
+
by <em class="parameter"><code>type_string</code></em>. It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on
|
887
|
+
the return value.
|
888
|
+
</p>
|
889
|
+
<p>
|
890
|
+
It is a programmer error to call this function with an invalid type
|
891
|
+
string. Use <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()"><code class="function">g_variant_type_string_is_valid()</code></a> if you are unsure.
|
892
|
+
</p>
|
893
|
+
<div class="variablelist"><table border="0">
|
894
|
+
<col align="left" valign="top">
|
895
|
+
<tbody>
|
896
|
+
<tr>
|
897
|
+
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
898
|
+
<td>a valid GVariant type string
|
899
|
+
</td>
|
900
|
+
</tr>
|
901
|
+
<tr>
|
902
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
903
|
+
<td>a new <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
904
|
+
</td>
|
905
|
+
</tr>
|
906
|
+
</tbody>
|
907
|
+
</table></div>
|
908
|
+
<p class="since">Since 2.24</p>
|
909
|
+
</div>
|
910
|
+
<hr>
|
911
|
+
<div class="refsect2" title="g_variant_type_string_is_valid ()">
|
912
|
+
<a name="g-variant-type-string-is-valid"></a><h3>g_variant_type_string_is_valid ()</h3>
|
913
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_string_is_valid (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *type_string</code></em>);</pre>
|
914
|
+
<p>
|
915
|
+
Checks if <em class="parameter"><code>type_string</code></em> is a valid GVariant type string. This call is
|
916
|
+
equivalent to calling <a class="link" href="glib-GVariantType.html#g-variant-type-string-scan" title="g_variant_type_string_scan ()"><code class="function">g_variant_type_string_scan()</code></a> and confirming
|
917
|
+
that the following character is a nul terminator.
|
918
|
+
</p>
|
919
|
+
<p>
|
920
|
+
Since 2.24
|
921
|
+
</p>
|
922
|
+
<div class="variablelist"><table border="0">
|
923
|
+
<col align="left" valign="top">
|
924
|
+
<tbody>
|
925
|
+
<tr>
|
926
|
+
<td><p><span class="term"><em class="parameter"><code>type_string</code></em> :</span></p></td>
|
927
|
+
<td>a pointer to any string
|
928
|
+
</td>
|
929
|
+
</tr>
|
930
|
+
<tr>
|
931
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
932
|
+
<td>
|
933
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type_string</code></em> is exactly one valid type string
|
934
|
+
</td>
|
935
|
+
</tr>
|
936
|
+
</tbody>
|
937
|
+
</table></div>
|
938
|
+
</div>
|
939
|
+
<hr>
|
940
|
+
<div class="refsect2" title="g_variant_type_string_scan ()">
|
941
|
+
<a name="g-variant-type-string-scan"></a><h3>g_variant_type_string_scan ()</h3>
|
942
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_string_scan (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
943
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *limit</code></em>,
|
944
|
+
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
945
|
+
<p>
|
946
|
+
Scan for a single complete and valid GVariant type string in <em class="parameter"><code>string</code></em>.
|
947
|
+
The memory pointed to by <em class="parameter"><code>limit</code></em> (or bytes beyond it) is never
|
948
|
+
accessed.
|
949
|
+
</p>
|
950
|
+
<p>
|
951
|
+
If a valid type string is found, <em class="parameter"><code>endptr</code></em> is updated to point to the
|
952
|
+
first character past the end of the string that was found and <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>
|
953
|
+
is returned.
|
954
|
+
</p>
|
955
|
+
<p>
|
956
|
+
If there is no valid type string starting at <em class="parameter"><code>string</code></em>, or if the type
|
957
|
+
string does not end before <em class="parameter"><code>limit</code></em> then <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.
|
958
|
+
</p>
|
959
|
+
<p>
|
960
|
+
For the simple case of checking if a string is a valid type string,
|
961
|
+
see <a class="link" href="glib-GVariantType.html#g-variant-type-string-is-valid" title="g_variant_type_string_is_valid ()"><code class="function">g_variant_type_string_is_valid()</code></a>.
|
962
|
+
</p>
|
963
|
+
<div class="variablelist"><table border="0">
|
964
|
+
<col align="left" valign="top">
|
965
|
+
<tbody>
|
966
|
+
<tr>
|
967
|
+
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
968
|
+
<td>a pointer to any string
|
969
|
+
</td>
|
970
|
+
</tr>
|
971
|
+
<tr>
|
972
|
+
<td><p><span class="term"><em class="parameter"><code>limit</code></em> :</span></p></td>
|
973
|
+
<td>the end of <em class="parameter"><code>string</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
974
|
+
</td>
|
975
|
+
</tr>
|
976
|
+
<tr>
|
977
|
+
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
978
|
+
<td>location to store the end pointer, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
979
|
+
</td>
|
980
|
+
</tr>
|
981
|
+
<tr>
|
982
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
983
|
+
<td>
|
984
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a valid type string was found
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
</tbody>
|
988
|
+
</table></div>
|
989
|
+
<p class="since">Since 2.24</p>
|
990
|
+
</div>
|
991
|
+
<hr>
|
992
|
+
<div class="refsect2" title="g_variant_type_get_string_length ()">
|
993
|
+
<a name="g-variant-type-get-string-length"></a><h3>g_variant_type_get_string_length ()</h3>
|
994
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_type_get_string_length (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
995
|
+
<p>
|
996
|
+
Returns the length of the type string corresponding to the given
|
997
|
+
<em class="parameter"><code>type</code></em>. This function must be used to determine the valid extent of
|
998
|
+
the memory region returned by <a class="link" href="glib-GVariantType.html#g-variant-type-peek-string" title="g_variant_type_peek_string ()"><code class="function">g_variant_type_peek_string()</code></a>.
|
999
|
+
</p>
|
1000
|
+
<p>
|
1001
|
+
Since 2.24
|
1002
|
+
</p>
|
1003
|
+
<div class="variablelist"><table border="0">
|
1004
|
+
<col align="left" valign="top">
|
1005
|
+
<tbody>
|
1006
|
+
<tr>
|
1007
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1008
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1009
|
+
</td>
|
1010
|
+
</tr>
|
1011
|
+
<tr>
|
1012
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1013
|
+
<td>the length of the corresponding type string
|
1014
|
+
</td>
|
1015
|
+
</tr>
|
1016
|
+
</tbody>
|
1017
|
+
</table></div>
|
1018
|
+
</div>
|
1019
|
+
<hr>
|
1020
|
+
<div class="refsect2" title="g_variant_type_peek_string ()">
|
1021
|
+
<a name="g-variant-type-peek-string"></a><h3>g_variant_type_peek_string ()</h3>
|
1022
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_type_peek_string (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1023
|
+
<p>
|
1024
|
+
Returns the type string corresponding to the given <em class="parameter"><code>type</code></em>. The
|
1025
|
+
result is not nul-terminated; in order to determine its length you
|
1026
|
+
must call <a class="link" href="glib-GVariantType.html#g-variant-type-get-string-length" title="g_variant_type_get_string_length ()"><code class="function">g_variant_type_get_string_length()</code></a>.
|
1027
|
+
</p>
|
1028
|
+
<p>
|
1029
|
+
To get a nul-terminated string, see <a class="link" href="glib-GVariantType.html#g-variant-type-dup-string" title="g_variant_type_dup_string ()"><code class="function">g_variant_type_dup_string()</code></a>.
|
1030
|
+
</p>
|
1031
|
+
<p>
|
1032
|
+
Since 2.24
|
1033
|
+
</p>
|
1034
|
+
<div class="variablelist"><table border="0">
|
1035
|
+
<col align="left" valign="top">
|
1036
|
+
<tbody>
|
1037
|
+
<tr>
|
1038
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1039
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1040
|
+
</td>
|
1041
|
+
</tr>
|
1042
|
+
<tr>
|
1043
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1044
|
+
<td>the corresponding type string (not nul-terminated)
|
1045
|
+
</td>
|
1046
|
+
</tr>
|
1047
|
+
</tbody>
|
1048
|
+
</table></div>
|
1049
|
+
</div>
|
1050
|
+
<hr>
|
1051
|
+
<div class="refsect2" title="g_variant_type_dup_string ()">
|
1052
|
+
<a name="g-variant-type-dup-string"></a><h3>g_variant_type_dup_string ()</h3>
|
1053
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_variant_type_dup_string (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1054
|
+
<p>
|
1055
|
+
Returns a newly-allocated copy of the type string corresponding to
|
1056
|
+
<em class="parameter"><code>type</code></em>. The returned string is nul-terminated. It is appropriate to
|
1057
|
+
call <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a> on the return value.
|
1058
|
+
</p>
|
1059
|
+
<p>
|
1060
|
+
Since 2.24
|
1061
|
+
</p>
|
1062
|
+
<div class="variablelist"><table border="0">
|
1063
|
+
<col align="left" valign="top">
|
1064
|
+
<tbody>
|
1065
|
+
<tr>
|
1066
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1067
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1068
|
+
</td>
|
1069
|
+
</tr>
|
1070
|
+
<tr>
|
1071
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1072
|
+
<td>the corresponding type string
|
1073
|
+
</td>
|
1074
|
+
</tr>
|
1075
|
+
</tbody>
|
1076
|
+
</table></div>
|
1077
|
+
</div>
|
1078
|
+
<hr>
|
1079
|
+
<div class="refsect2" title="g_variant_type_is_definite ()">
|
1080
|
+
<a name="g-variant-type-is-definite"></a><h3>g_variant_type_is_definite ()</h3>
|
1081
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_definite (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1082
|
+
<p>
|
1083
|
+
Determines if the given <em class="parameter"><code>type</code></em> is definite (ie: not indefinite).
|
1084
|
+
</p>
|
1085
|
+
<p>
|
1086
|
+
A type is definite if its type string does not contain any indefinite
|
1087
|
+
type characters ('*', '?', or 'r').
|
1088
|
+
</p>
|
1089
|
+
<p>
|
1090
|
+
A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance may not have an indefinite type, so calling
|
1091
|
+
this function on the result of <a class="link" href="glib-GVariant.html#g-variant-get-type" title="g_variant_get_type ()"><code class="function">g_variant_get_type()</code></a> will always
|
1092
|
+
result in <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> being returned. Calling this function on an
|
1093
|
+
indefinite type like <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, however, will result in
|
1094
|
+
<a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> being returned.
|
1095
|
+
</p>
|
1096
|
+
<p>
|
1097
|
+
Since 2.24
|
1098
|
+
</p>
|
1099
|
+
<div class="variablelist"><table border="0">
|
1100
|
+
<col align="left" valign="top">
|
1101
|
+
<tbody>
|
1102
|
+
<tr>
|
1103
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1104
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1105
|
+
</td>
|
1106
|
+
</tr>
|
1107
|
+
<tr>
|
1108
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1109
|
+
<td>
|
1110
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is definite
|
1111
|
+
</td>
|
1112
|
+
</tr>
|
1113
|
+
</tbody>
|
1114
|
+
</table></div>
|
1115
|
+
</div>
|
1116
|
+
<hr>
|
1117
|
+
<div class="refsect2" title="g_variant_type_is_container ()">
|
1118
|
+
<a name="g-variant-type-is-container"></a><h3>g_variant_type_is_container ()</h3>
|
1119
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_container (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1120
|
+
<p>
|
1121
|
+
Determines if the given <em class="parameter"><code>type</code></em> is a container type.
|
1122
|
+
</p>
|
1123
|
+
<p>
|
1124
|
+
Container types are any array, maybe, tuple, or dictionary
|
1125
|
+
entry types plus the variant type.
|
1126
|
+
</p>
|
1127
|
+
<p>
|
1128
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1129
|
+
definite subtype is a container -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, for
|
1130
|
+
example.
|
1131
|
+
</p>
|
1132
|
+
<p>
|
1133
|
+
Since 2.24
|
1134
|
+
</p>
|
1135
|
+
<div class="variablelist"><table border="0">
|
1136
|
+
<col align="left" valign="top">
|
1137
|
+
<tbody>
|
1138
|
+
<tr>
|
1139
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1140
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1141
|
+
</td>
|
1142
|
+
</tr>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1145
|
+
<td>
|
1146
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a container type
|
1147
|
+
</td>
|
1148
|
+
</tr>
|
1149
|
+
</tbody>
|
1150
|
+
</table></div>
|
1151
|
+
</div>
|
1152
|
+
<hr>
|
1153
|
+
<div class="refsect2" title="g_variant_type_is_basic ()">
|
1154
|
+
<a name="g-variant-type-is-basic"></a><h3>g_variant_type_is_basic ()</h3>
|
1155
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_basic (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1156
|
+
<p>
|
1157
|
+
Determines if the given <em class="parameter"><code>type</code></em> is a basic type.
|
1158
|
+
</p>
|
1159
|
+
<p>
|
1160
|
+
Basic types are booleans, bytes, integers, doubles, strings, object
|
1161
|
+
paths and signatures.
|
1162
|
+
</p>
|
1163
|
+
<p>
|
1164
|
+
Only a basic type may be used as the key of a dictionary entry.
|
1165
|
+
</p>
|
1166
|
+
<p>
|
1167
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> for all indefinite types except
|
1168
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BASIC:CAPS" title="G_VARIANT_TYPE_BASIC"><code class="literal">G_VARIANT_TYPE_BASIC</code></a>.
|
1169
|
+
</p>
|
1170
|
+
<p>
|
1171
|
+
Since 2.24
|
1172
|
+
</p>
|
1173
|
+
<div class="variablelist"><table border="0">
|
1174
|
+
<col align="left" valign="top">
|
1175
|
+
<tbody>
|
1176
|
+
<tr>
|
1177
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1178
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1179
|
+
</td>
|
1180
|
+
</tr>
|
1181
|
+
<tr>
|
1182
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1183
|
+
<td>
|
1184
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a basic type
|
1185
|
+
</td>
|
1186
|
+
</tr>
|
1187
|
+
</tbody>
|
1188
|
+
</table></div>
|
1189
|
+
</div>
|
1190
|
+
<hr>
|
1191
|
+
<div class="refsect2" title="g_variant_type_is_maybe ()">
|
1192
|
+
<a name="g-variant-type-is-maybe"></a><h3>g_variant_type_is_maybe ()</h3>
|
1193
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_maybe (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1194
|
+
<p>
|
1195
|
+
Determines if the given <em class="parameter"><code>type</code></em> is a maybe type. This is true if the
|
1196
|
+
type string for <em class="parameter"><code>type</code></em> starts with an 'm'.
|
1197
|
+
</p>
|
1198
|
+
<p>
|
1199
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1200
|
+
definite subtype is a maybe type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-MAYBE:CAPS" title="G_VARIANT_TYPE_MAYBE"><code class="literal">G_VARIANT_TYPE_MAYBE</code></a>, for
|
1201
|
+
example.
|
1202
|
+
</p>
|
1203
|
+
<p>
|
1204
|
+
Since 2.24
|
1205
|
+
</p>
|
1206
|
+
<div class="variablelist"><table border="0">
|
1207
|
+
<col align="left" valign="top">
|
1208
|
+
<tbody>
|
1209
|
+
<tr>
|
1210
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1211
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1212
|
+
</td>
|
1213
|
+
</tr>
|
1214
|
+
<tr>
|
1215
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1216
|
+
<td>
|
1217
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a maybe type
|
1218
|
+
</td>
|
1219
|
+
</tr>
|
1220
|
+
</tbody>
|
1221
|
+
</table></div>
|
1222
|
+
</div>
|
1223
|
+
<hr>
|
1224
|
+
<div class="refsect2" title="g_variant_type_is_array ()">
|
1225
|
+
<a name="g-variant-type-is-array"></a><h3>g_variant_type_is_array ()</h3>
|
1226
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1227
|
+
<p>
|
1228
|
+
Determines if the given <em class="parameter"><code>type</code></em> is an array type. This is true if the
|
1229
|
+
type string for <em class="parameter"><code>type</code></em> starts with an 'a'.
|
1230
|
+
</p>
|
1231
|
+
<p>
|
1232
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1233
|
+
definite subtype is an array type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-ARRAY:CAPS" title="G_VARIANT_TYPE_ARRAY"><code class="literal">G_VARIANT_TYPE_ARRAY</code></a>, for
|
1234
|
+
example.
|
1235
|
+
</p>
|
1236
|
+
<p>
|
1237
|
+
Since 2.24
|
1238
|
+
</p>
|
1239
|
+
<div class="variablelist"><table border="0">
|
1240
|
+
<col align="left" valign="top">
|
1241
|
+
<tbody>
|
1242
|
+
<tr>
|
1243
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1244
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1245
|
+
</td>
|
1246
|
+
</tr>
|
1247
|
+
<tr>
|
1248
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1249
|
+
<td>
|
1250
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is an array type
|
1251
|
+
</td>
|
1252
|
+
</tr>
|
1253
|
+
</tbody>
|
1254
|
+
</table></div>
|
1255
|
+
</div>
|
1256
|
+
<hr>
|
1257
|
+
<div class="refsect2" title="g_variant_type_is_tuple ()">
|
1258
|
+
<a name="g-variant-type-is-tuple"></a><h3>g_variant_type_is_tuple ()</h3>
|
1259
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_tuple (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1260
|
+
<p>
|
1261
|
+
Determines if the given <em class="parameter"><code>type</code></em> is a tuple type. This is true if the
|
1262
|
+
type string for <em class="parameter"><code>type</code></em> starts with a '(' or if <em class="parameter"><code>type</code></em> is
|
1263
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1264
|
+
</p>
|
1265
|
+
<p>
|
1266
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1267
|
+
definite subtype is a tuple type -- <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>, for
|
1268
|
+
example.
|
1269
|
+
</p>
|
1270
|
+
<p>
|
1271
|
+
Since 2.24
|
1272
|
+
</p>
|
1273
|
+
<div class="variablelist"><table border="0">
|
1274
|
+
<col align="left" valign="top">
|
1275
|
+
<tbody>
|
1276
|
+
<tr>
|
1277
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1278
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1279
|
+
</td>
|
1280
|
+
</tr>
|
1281
|
+
<tr>
|
1282
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1283
|
+
<td>
|
1284
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a tuple type
|
1285
|
+
</td>
|
1286
|
+
</tr>
|
1287
|
+
</tbody>
|
1288
|
+
</table></div>
|
1289
|
+
</div>
|
1290
|
+
<hr>
|
1291
|
+
<div class="refsect2" title="g_variant_type_is_dict_entry ()">
|
1292
|
+
<a name="g-variant-type-is-dict-entry"></a><h3>g_variant_type_is_dict_entry ()</h3>
|
1293
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_dict_entry (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1294
|
+
<p>
|
1295
|
+
Determines if the given <em class="parameter"><code>type</code></em> is a dictionary entry type. This is
|
1296
|
+
true if the type string for <em class="parameter"><code>type</code></em> starts with a '{'.
|
1297
|
+
</p>
|
1298
|
+
<p>
|
1299
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> for any indefinite type for which every
|
1300
|
+
definite subtype is a dictionary entry type --
|
1301
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DICT-ENTRY:CAPS" title="G_VARIANT_TYPE_DICT_ENTRY"><code class="literal">G_VARIANT_TYPE_DICT_ENTRY</code></a>, for example.
|
1302
|
+
</p>
|
1303
|
+
<p>
|
1304
|
+
Since 2.24
|
1305
|
+
</p>
|
1306
|
+
<div class="variablelist"><table border="0">
|
1307
|
+
<col align="left" valign="top">
|
1308
|
+
<tbody>
|
1309
|
+
<tr>
|
1310
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1311
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1312
|
+
</td>
|
1313
|
+
</tr>
|
1314
|
+
<tr>
|
1315
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1316
|
+
<td>
|
1317
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a dictionary entry type
|
1318
|
+
</td>
|
1319
|
+
</tr>
|
1320
|
+
</tbody>
|
1321
|
+
</table></div>
|
1322
|
+
</div>
|
1323
|
+
<hr>
|
1324
|
+
<div class="refsect2" title="g_variant_type_is_variant ()">
|
1325
|
+
<a name="g-variant-type-is-variant"></a><h3>g_variant_type_is_variant ()</h3>
|
1326
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_variant (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1327
|
+
<p>
|
1328
|
+
Determines if the given <em class="parameter"><code>type</code></em> is the variant type.
|
1329
|
+
</p>
|
1330
|
+
<p>
|
1331
|
+
Since 2.24
|
1332
|
+
</p>
|
1333
|
+
<div class="variablelist"><table border="0">
|
1334
|
+
<col align="left" valign="top">
|
1335
|
+
<tbody>
|
1336
|
+
<tr>
|
1337
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1338
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1339
|
+
</td>
|
1340
|
+
</tr>
|
1341
|
+
<tr>
|
1342
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1343
|
+
<td>
|
1344
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is the variant type
|
1345
|
+
</td>
|
1346
|
+
</tr>
|
1347
|
+
</tbody>
|
1348
|
+
</table></div>
|
1349
|
+
</div>
|
1350
|
+
<hr>
|
1351
|
+
<div class="refsect2" title="g_variant_type_hash ()">
|
1352
|
+
<a name="g-variant-type-hash"></a><h3>g_variant_type_hash ()</h3>
|
1353
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_variant_type_hash (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type</code></em>);</pre>
|
1354
|
+
<p>
|
1355
|
+
Hashes <em class="parameter"><code>type</code></em>.
|
1356
|
+
</p>
|
1357
|
+
<p>
|
1358
|
+
The argument type of <em class="parameter"><code>type</code></em> is only <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> to allow use with
|
1359
|
+
<a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> without function pointer casting. A valid
|
1360
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> must be provided.
|
1361
|
+
</p>
|
1362
|
+
<p>
|
1363
|
+
Since 2.24
|
1364
|
+
</p>
|
1365
|
+
<div class="variablelist"><table border="0">
|
1366
|
+
<col align="left" valign="top">
|
1367
|
+
<tbody>
|
1368
|
+
<tr>
|
1369
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1370
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1371
|
+
</td>
|
1372
|
+
</tr>
|
1373
|
+
<tr>
|
1374
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1375
|
+
<td>the hash value
|
1376
|
+
</td>
|
1377
|
+
</tr>
|
1378
|
+
</tbody>
|
1379
|
+
</table></div>
|
1380
|
+
</div>
|
1381
|
+
<hr>
|
1382
|
+
<div class="refsect2" title="g_variant_type_equal ()">
|
1383
|
+
<a name="g-variant-type-equal"></a><h3>g_variant_type_equal ()</h3>
|
1384
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type1</code></em>,
|
1385
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> type2</code></em>);</pre>
|
1386
|
+
<p>
|
1387
|
+
Compares <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> for equality.
|
1388
|
+
</p>
|
1389
|
+
<p>
|
1390
|
+
Only returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the types are exactly equal. Even if one type
|
1391
|
+
is an indefinite type and the other is a subtype of it, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> will
|
1392
|
+
be returned if they are not exactly equal. If you want to check for
|
1393
|
+
subtypes, use <a class="link" href="glib-GVariantType.html#g-variant-type-is-subtype-of" title="g_variant_type_is_subtype_of ()"><code class="function">g_variant_type_is_subtype_of()</code></a>.
|
1394
|
+
</p>
|
1395
|
+
<p>
|
1396
|
+
The argument types of <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> are only <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> to
|
1397
|
+
allow use with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a> without function pointer casting. For
|
1398
|
+
both arguments, a valid <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> must be provided.
|
1399
|
+
</p>
|
1400
|
+
<p>
|
1401
|
+
Since 2.24
|
1402
|
+
</p>
|
1403
|
+
<div class="variablelist"><table border="0">
|
1404
|
+
<col align="left" valign="top">
|
1405
|
+
<tbody>
|
1406
|
+
<tr>
|
1407
|
+
<td><p><span class="term"><em class="parameter"><code>type1</code></em> :</span></p></td>
|
1408
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1409
|
+
</td>
|
1410
|
+
</tr>
|
1411
|
+
<tr>
|
1412
|
+
<td><p><span class="term"><em class="parameter"><code>type2</code></em> :</span></p></td>
|
1413
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1414
|
+
</td>
|
1415
|
+
</tr>
|
1416
|
+
<tr>
|
1417
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1418
|
+
<td>
|
1419
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type1</code></em> and <em class="parameter"><code>type2</code></em> are exactly equal
|
1420
|
+
</td>
|
1421
|
+
</tr>
|
1422
|
+
</tbody>
|
1423
|
+
</table></div>
|
1424
|
+
</div>
|
1425
|
+
<hr>
|
1426
|
+
<div class="refsect2" title="g_variant_type_is_subtype_of ()">
|
1427
|
+
<a name="g-variant-type-is-subtype-of"></a><h3>g_variant_type_is_subtype_of ()</h3>
|
1428
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_variant_type_is_subtype_of (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
1429
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *supertype</code></em>);</pre>
|
1430
|
+
<p>
|
1431
|
+
Checks if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>.
|
1432
|
+
</p>
|
1433
|
+
<p>
|
1434
|
+
This function returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>. All
|
1435
|
+
types are considered to be subtypes of themselves. Aside from that,
|
1436
|
+
only indefinite types can have subtypes.
|
1437
|
+
</p>
|
1438
|
+
<p>
|
1439
|
+
Since 2.24
|
1440
|
+
</p>
|
1441
|
+
<div class="variablelist"><table border="0">
|
1442
|
+
<col align="left" valign="top">
|
1443
|
+
<tbody>
|
1444
|
+
<tr>
|
1445
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1446
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1447
|
+
</td>
|
1448
|
+
</tr>
|
1449
|
+
<tr>
|
1450
|
+
<td><p><span class="term"><em class="parameter"><code>supertype</code></em> :</span></p></td>
|
1451
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1452
|
+
</td>
|
1453
|
+
</tr>
|
1454
|
+
<tr>
|
1455
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1456
|
+
<td>
|
1457
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a subtype of <em class="parameter"><code>supertype</code></em>
|
1458
|
+
</td>
|
1459
|
+
</tr>
|
1460
|
+
</tbody>
|
1461
|
+
</table></div>
|
1462
|
+
</div>
|
1463
|
+
<hr>
|
1464
|
+
<div class="refsect2" title="g_variant_type_new_maybe ()">
|
1465
|
+
<a name="g-variant-type-new-maybe"></a><h3>g_variant_type_new_maybe ()</h3>
|
1466
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_maybe (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);</pre>
|
1467
|
+
<p>
|
1468
|
+
Constructs the type corresponding to a maybe instance containing
|
1469
|
+
type <em class="parameter"><code>type</code></em> or Nothing.
|
1470
|
+
</p>
|
1471
|
+
<p>
|
1472
|
+
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1473
|
+
</p>
|
1474
|
+
<p>
|
1475
|
+
Since 2.24
|
1476
|
+
</p>
|
1477
|
+
<div class="variablelist"><table border="0">
|
1478
|
+
<col align="left" valign="top">
|
1479
|
+
<tbody>
|
1480
|
+
<tr>
|
1481
|
+
<td><p><span class="term"><em class="parameter"><code>element</code></em> :</span></p></td>
|
1482
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1483
|
+
</td>
|
1484
|
+
</tr>
|
1485
|
+
<tr>
|
1486
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1487
|
+
<td>a new maybe <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1488
|
+
</td>
|
1489
|
+
</tr>
|
1490
|
+
</tbody>
|
1491
|
+
</table></div>
|
1492
|
+
</div>
|
1493
|
+
<hr>
|
1494
|
+
<div class="refsect2" title="g_variant_type_new_array ()">
|
1495
|
+
<a name="g-variant-type-new-array"></a><h3>g_variant_type_new_array ()</h3>
|
1496
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_array (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *element</code></em>);</pre>
|
1497
|
+
<p>
|
1498
|
+
Constructs the type corresponding to an array of elements of the
|
1499
|
+
type <em class="parameter"><code>type</code></em>.
|
1500
|
+
</p>
|
1501
|
+
<p>
|
1502
|
+
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1503
|
+
</p>
|
1504
|
+
<p>
|
1505
|
+
Since 2.24
|
1506
|
+
</p>
|
1507
|
+
<div class="variablelist"><table border="0">
|
1508
|
+
<col align="left" valign="top">
|
1509
|
+
<tbody>
|
1510
|
+
<tr>
|
1511
|
+
<td><p><span class="term"><em class="parameter"><code>element</code></em> :</span></p></td>
|
1512
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1513
|
+
</td>
|
1514
|
+
</tr>
|
1515
|
+
<tr>
|
1516
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1517
|
+
<td>a new array <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1518
|
+
</td>
|
1519
|
+
</tr>
|
1520
|
+
</tbody>
|
1521
|
+
</table></div>
|
1522
|
+
</div>
|
1523
|
+
<hr>
|
1524
|
+
<div class="refsect2" title="g_variant_type_new_tuple ()">
|
1525
|
+
<a name="g-variant-type-new-tuple"></a><h3>g_variant_type_new_tuple ()</h3>
|
1526
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_tuple (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> * const *items</code></em>,
|
1527
|
+
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> length</code></em>);</pre>
|
1528
|
+
<p>
|
1529
|
+
Constructs a new tuple type, from <em class="parameter"><code>items</code></em>.
|
1530
|
+
</p>
|
1531
|
+
<p>
|
1532
|
+
<em class="parameter"><code>length</code></em> is the number of items in <em class="parameter"><code>items</code></em>, or -1 to indicate that
|
1533
|
+
<em class="parameter"><code>items</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.
|
1534
|
+
</p>
|
1535
|
+
<p>
|
1536
|
+
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1537
|
+
</p>
|
1538
|
+
<p>
|
1539
|
+
Since 2.24
|
1540
|
+
</p>
|
1541
|
+
<div class="variablelist"><table border="0">
|
1542
|
+
<col align="left" valign="top">
|
1543
|
+
<tbody>
|
1544
|
+
<tr>
|
1545
|
+
<td><p><span class="term"><em class="parameter"><code>items</code></em> :</span></p></td>
|
1546
|
+
<td>an array of <a href="glib-GVariantType.html#GVariantType"><span class="type">GVariantTypes</span></a>, one for each item
|
1547
|
+
</td>
|
1548
|
+
</tr>
|
1549
|
+
<tr>
|
1550
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
1551
|
+
<td>the length of <em class="parameter"><code>items</code></em>, or -1
|
1552
|
+
</td>
|
1553
|
+
</tr>
|
1554
|
+
<tr>
|
1555
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1556
|
+
<td>a new tuple <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1557
|
+
</td>
|
1558
|
+
</tr>
|
1559
|
+
</tbody>
|
1560
|
+
</table></div>
|
1561
|
+
</div>
|
1562
|
+
<hr>
|
1563
|
+
<div class="refsect2" title="g_variant_type_new_dict_entry ()">
|
1564
|
+
<a name="g-variant-type-new-dict-entry"></a><h3>g_variant_type_new_dict_entry ()</h3>
|
1565
|
+
<pre class="programlisting"><a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_new_dict_entry (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *key</code></em>,
|
1566
|
+
<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *value</code></em>);</pre>
|
1567
|
+
<p>
|
1568
|
+
Constructs the type corresponding to a dictionary entry with a key
|
1569
|
+
of type <em class="parameter"><code>key</code></em> and a value of type <em class="parameter"><code>value</code></em>.
|
1570
|
+
</p>
|
1571
|
+
<p>
|
1572
|
+
It is appropriate to call <a class="link" href="glib-GVariantType.html#g-variant-type-free" title="g_variant_type_free ()"><code class="function">g_variant_type_free()</code></a> on the return value.
|
1573
|
+
</p>
|
1574
|
+
<p>
|
1575
|
+
Since 2.24
|
1576
|
+
</p>
|
1577
|
+
<div class="variablelist"><table border="0">
|
1578
|
+
<col align="left" valign="top">
|
1579
|
+
<tbody>
|
1580
|
+
<tr>
|
1581
|
+
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
1582
|
+
<td>a basic <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1583
|
+
</td>
|
1584
|
+
</tr>
|
1585
|
+
<tr>
|
1586
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1587
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1588
|
+
</td>
|
1589
|
+
</tr>
|
1590
|
+
<tr>
|
1591
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1592
|
+
<td>a new dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1593
|
+
</td>
|
1594
|
+
</tr>
|
1595
|
+
</tbody>
|
1596
|
+
</table></div>
|
1597
|
+
</div>
|
1598
|
+
<hr>
|
1599
|
+
<div class="refsect2" title="g_variant_type_element ()">
|
1600
|
+
<a name="g-variant-type-element"></a><h3>g_variant_type_element ()</h3>
|
1601
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_element (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1602
|
+
<p>
|
1603
|
+
Determines the element type of an array or maybe type.
|
1604
|
+
</p>
|
1605
|
+
<p>
|
1606
|
+
This function may only be used with array or maybe types.
|
1607
|
+
</p>
|
1608
|
+
<p>
|
1609
|
+
Since 2.24
|
1610
|
+
</p>
|
1611
|
+
<div class="variablelist"><table border="0">
|
1612
|
+
<col align="left" valign="top">
|
1613
|
+
<tbody>
|
1614
|
+
<tr>
|
1615
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1616
|
+
<td>an array or maybe <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1617
|
+
</td>
|
1618
|
+
</tr>
|
1619
|
+
<tr>
|
1620
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1621
|
+
<td>the element type of <em class="parameter"><code>type</code></em>
|
1622
|
+
</td>
|
1623
|
+
</tr>
|
1624
|
+
</tbody>
|
1625
|
+
</table></div>
|
1626
|
+
</div>
|
1627
|
+
<hr>
|
1628
|
+
<div class="refsect2" title="g_variant_type_n_items ()">
|
1629
|
+
<a name="g-variant-type-n-items"></a><h3>g_variant_type_n_items ()</h3>
|
1630
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_variant_type_n_items (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1631
|
+
<p>
|
1632
|
+
Determines the number of items contained in a tuple or
|
1633
|
+
dictionary entry type.
|
1634
|
+
</p>
|
1635
|
+
<p>
|
1636
|
+
This function may only be used with tuple or dictionary entry types,
|
1637
|
+
but must not be used with the generic tuple type
|
1638
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1639
|
+
</p>
|
1640
|
+
<p>
|
1641
|
+
In the case of a dictionary entry type, this function will always
|
1642
|
+
return 2.
|
1643
|
+
</p>
|
1644
|
+
<p>
|
1645
|
+
Since 2.24
|
1646
|
+
</p>
|
1647
|
+
<div class="variablelist"><table border="0">
|
1648
|
+
<col align="left" valign="top">
|
1649
|
+
<tbody>
|
1650
|
+
<tr>
|
1651
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1652
|
+
<td>a tuple or dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1653
|
+
</td>
|
1654
|
+
</tr>
|
1655
|
+
<tr>
|
1656
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1657
|
+
<td>the number of items in <em class="parameter"><code>type</code></em>
|
1658
|
+
</td>
|
1659
|
+
</tr>
|
1660
|
+
</tbody>
|
1661
|
+
</table></div>
|
1662
|
+
</div>
|
1663
|
+
<hr>
|
1664
|
+
<div class="refsect2" title="g_variant_type_first ()">
|
1665
|
+
<a name="g-variant-type-first"></a><h3>g_variant_type_first ()</h3>
|
1666
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_first (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1667
|
+
<p>
|
1668
|
+
Determines the first item type of a tuple or dictionary entry
|
1669
|
+
type.
|
1670
|
+
</p>
|
1671
|
+
<p>
|
1672
|
+
This function may only be used with tuple or dictionary entry types,
|
1673
|
+
but must not be used with the generic tuple type
|
1674
|
+
<a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-TUPLE:CAPS" title="G_VARIANT_TYPE_TUPLE"><code class="literal">G_VARIANT_TYPE_TUPLE</code></a>.
|
1675
|
+
</p>
|
1676
|
+
<p>
|
1677
|
+
In the case of a dictionary entry type, this returns the type of
|
1678
|
+
the key.
|
1679
|
+
</p>
|
1680
|
+
<p>
|
1681
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned in case of <em class="parameter"><code>type</code></em> being <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UNIT:CAPS" title="G_VARIANT_TYPE_UNIT"><code class="literal">G_VARIANT_TYPE_UNIT</code></a>.
|
1682
|
+
</p>
|
1683
|
+
<p>
|
1684
|
+
This call, together with <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()"><code class="function">g_variant_type_next()</code></a> provides an iterator
|
1685
|
+
interface over tuple and dictionary entry types.
|
1686
|
+
</p>
|
1687
|
+
<p>
|
1688
|
+
Since 2.24
|
1689
|
+
</p>
|
1690
|
+
<div class="variablelist"><table border="0">
|
1691
|
+
<col align="left" valign="top">
|
1692
|
+
<tbody>
|
1693
|
+
<tr>
|
1694
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1695
|
+
<td>a tuple or dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1696
|
+
</td>
|
1697
|
+
</tr>
|
1698
|
+
<tr>
|
1699
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1700
|
+
<td>the first item type of <em class="parameter"><code>type</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1701
|
+
</td>
|
1702
|
+
</tr>
|
1703
|
+
</tbody>
|
1704
|
+
</table></div>
|
1705
|
+
</div>
|
1706
|
+
<hr>
|
1707
|
+
<div class="refsect2" title="g_variant_type_next ()">
|
1708
|
+
<a name="g-variant-type-next"></a><h3>g_variant_type_next ()</h3>
|
1709
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_next (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1710
|
+
<p>
|
1711
|
+
Determines the next item type of a tuple or dictionary entry
|
1712
|
+
type.
|
1713
|
+
</p>
|
1714
|
+
<p>
|
1715
|
+
<em class="parameter"><code>type</code></em> must be the result of a previous call to
|
1716
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()"><code class="function">g_variant_type_first()</code></a> or <a class="link" href="glib-GVariantType.html#g-variant-type-next" title="g_variant_type_next ()"><code class="function">g_variant_type_next()</code></a>.
|
1717
|
+
</p>
|
1718
|
+
<p>
|
1719
|
+
If called on the key type of a dictionary entry then this call
|
1720
|
+
returns the value type. If called on the value type of a dictionary
|
1721
|
+
entry then this call returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
1722
|
+
</p>
|
1723
|
+
<p>
|
1724
|
+
For tuples, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned when <em class="parameter"><code>type</code></em> is the last item in a tuple.
|
1725
|
+
</p>
|
1726
|
+
<p>
|
1727
|
+
Since 2.24
|
1728
|
+
</p>
|
1729
|
+
<div class="variablelist"><table border="0">
|
1730
|
+
<col align="left" valign="top">
|
1731
|
+
<tbody>
|
1732
|
+
<tr>
|
1733
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1734
|
+
<td>a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> from a previous call
|
1735
|
+
</td>
|
1736
|
+
</tr>
|
1737
|
+
<tr>
|
1738
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1739
|
+
<td>the next <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> after <em class="parameter"><code>type</code></em>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
|
1740
|
+
</td>
|
1741
|
+
</tr>
|
1742
|
+
</tbody>
|
1743
|
+
</table></div>
|
1744
|
+
</div>
|
1745
|
+
<hr>
|
1746
|
+
<div class="refsect2" title="g_variant_type_key ()">
|
1747
|
+
<a name="g-variant-type-key"></a><h3>g_variant_type_key ()</h3>
|
1748
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_key (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1749
|
+
<p>
|
1750
|
+
Determines the key type of a dictionary entry type.
|
1751
|
+
</p>
|
1752
|
+
<p>
|
1753
|
+
This function may only be used with a dictionary entry type. Other
|
1754
|
+
than the additional restriction, this call is equivalent to
|
1755
|
+
<a class="link" href="glib-GVariantType.html#g-variant-type-first" title="g_variant_type_first ()"><code class="function">g_variant_type_first()</code></a>.
|
1756
|
+
</p>
|
1757
|
+
<p>
|
1758
|
+
Since 2.24
|
1759
|
+
</p>
|
1760
|
+
<div class="variablelist"><table border="0">
|
1761
|
+
<col align="left" valign="top">
|
1762
|
+
<tbody>
|
1763
|
+
<tr>
|
1764
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1765
|
+
<td>a dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1766
|
+
</td>
|
1767
|
+
</tr>
|
1768
|
+
<tr>
|
1769
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1770
|
+
<td>the key type of the dictionary entry
|
1771
|
+
</td>
|
1772
|
+
</tr>
|
1773
|
+
</tbody>
|
1774
|
+
</table></div>
|
1775
|
+
</div>
|
1776
|
+
<hr>
|
1777
|
+
<div class="refsect2" title="g_variant_type_value ()">
|
1778
|
+
<a name="g-variant-type-value"></a><h3>g_variant_type_value ()</h3>
|
1779
|
+
<pre class="programlisting">const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="returnvalue">GVariantType</span></a> * g_variant_type_value (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>);</pre>
|
1780
|
+
<p>
|
1781
|
+
Determines the value type of a dictionary entry type.
|
1782
|
+
</p>
|
1783
|
+
<p>
|
1784
|
+
This function may only be used with a dictionary entry type.
|
1785
|
+
</p>
|
1786
|
+
<p>
|
1787
|
+
Since 2.24
|
1788
|
+
</p>
|
1789
|
+
<div class="variablelist"><table border="0">
|
1790
|
+
<col align="left" valign="top">
|
1791
|
+
<tbody>
|
1792
|
+
<tr>
|
1793
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
1794
|
+
<td>a dictionary entry <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
1795
|
+
</td>
|
1796
|
+
</tr>
|
1797
|
+
<tr>
|
1798
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1799
|
+
<td>the value type of the dictionary entry
|
1800
|
+
</td>
|
1801
|
+
</tr>
|
1802
|
+
</tbody>
|
1803
|
+
</table></div>
|
1804
|
+
</div>
|
1805
|
+
</div>
|
1806
|
+
<div class="refsect1" title="See Also">
|
1807
|
+
<a name="glib-GVariantType.see-also"></a><h2>See Also</h2>
|
1808
|
+
<a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>
|
1809
|
+
</div>
|
1810
|
+
</div>
|
1811
|
+
<div class="footer">
|
1812
|
+
<hr>
|
1813
|
+
Generated by GTK-Doc V1.14</div>
|
1814
|
+
</body>
|
1815
|
+
</html>
|