glib2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -1
- data/ext/glib2/rbglib-variant-type.c +5 -1
- data/ext/glib2/rbglib-variant.c +21 -7
- data/ext/glib2/rbglib.c +0 -38
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_convert.c +3 -9
- data/ext/glib2/rbglib_matchinfo.c +4 -0
- data/ext/glib2/rbglib_regex.c +12 -1
- data/ext/glib2/rbgobj_object.c +112 -10
- data/ext/glib2/rbgobj_signal.c +12 -1
- data/ext/glib2/rbgobj_type.c +7 -1
- data/ext/glib2/rbgobject.c +0 -6
- data/ext/glib2/rbgprivate.h +0 -4
- data/ext/glib2/rbgutil.c +0 -2
- data/ext/glib2/rbgutil.h +1 -3
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +7 -0
- data/lib/gnome2/rake/external-package.rb +119 -2
- data/lib/gnome2/rake/package-task.rb +63 -3
- data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
- data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
- data/lib/mkmf-gnome2.rb +11 -30
- data/test/test-binding.rb +157 -66
- data/test/test_glib2.rb +21 -6
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.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/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.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/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +6 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-Date-and-Time-Functions.html" title="Date and Time Functions">
|
10
10
|
<link rel="next" href="glib-GDateTime.html" title="GDateTime">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -173,7 +173,7 @@ g_time_zone_unref (<em class="parameter"><code><a class="link" href="glib-GTimeZ
|
|
173
173
|
<p>Decreases the reference count on <em class="parameter"><code>tz</code></em>
|
174
174
|
.</p>
|
175
175
|
<div class="refsect3">
|
176
|
-
<a name="
|
176
|
+
<a name="g-time-zone-unref.parameters"></a><h4>Parameters</h4>
|
177
177
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
178
178
|
<colgroup>
|
179
179
|
<col width="150px" class="parameters_name">
|
@@ -197,7 +197,7 @@ g_time_zone_ref (<em class="parameter"><code><a class="link" href="glib-GTimeZon
|
|
197
197
|
<p>Increases the reference count on <em class="parameter"><code>tz</code></em>
|
198
198
|
.</p>
|
199
199
|
<div class="refsect3">
|
200
|
-
<a name="
|
200
|
+
<a name="g-time-zone-ref.parameters"></a><h4>Parameters</h4>
|
201
201
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
202
202
|
<colgroup>
|
203
203
|
<col width="150px" class="parameters_name">
|
@@ -212,7 +212,7 @@ g_time_zone_ref (<em class="parameter"><code><a class="link" href="glib-GTimeZon
|
|
212
212
|
</table></div>
|
213
213
|
</div>
|
214
214
|
<div class="refsect3">
|
215
|
-
<a name="
|
215
|
+
<a name="g-time-zone-ref.returns"></a><h4>Returns</h4>
|
216
216
|
<p> a new reference to <em class="parameter"><code>tz</code></em>
|
217
217
|
.</p>
|
218
218
|
</div>
|
@@ -282,7 +282,7 @@ for the list of time zones on Windows.</p>
|
|
282
282
|
<p>You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
283
283
|
when you are done with it.</p>
|
284
284
|
<div class="refsect3">
|
285
|
-
<a name="
|
285
|
+
<a name="g-time-zone-new.parameters"></a><h4>Parameters</h4>
|
286
286
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
287
287
|
<colgroup>
|
288
288
|
<col width="150px" class="parameters_name">
|
@@ -297,7 +297,7 @@ when you are done with it.</p>
|
|
297
297
|
</table></div>
|
298
298
|
</div>
|
299
299
|
<div class="refsect3">
|
300
|
-
<a name="
|
300
|
+
<a name="g-time-zone-new.returns"></a><h4>Returns</h4>
|
301
301
|
<p> the requested timezone</p>
|
302
302
|
</div>
|
303
303
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -315,7 +315,7 @@ the <code class="literal">TZ</code> environment variable (including the possibil
|
|
315
315
|
<p>You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
316
316
|
when you are done with it.</p>
|
317
317
|
<div class="refsect3">
|
318
|
-
<a name="
|
318
|
+
<a name="g-time-zone-new-local.returns"></a><h4>Returns</h4>
|
319
319
|
<p> the local timezone</p>
|
320
320
|
</div>
|
321
321
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -331,7 +331,7 @@ g_time_zone_new_utc (<em class="parameter"><code><span class="type">void</span><
|
|
331
331
|
<p>You should release the return value by calling <a class="link" href="glib-GTimeZone.html#g-time-zone-unref" title="g_time_zone_unref ()"><code class="function">g_time_zone_unref()</code></a>
|
332
332
|
when you are done with it.</p>
|
333
333
|
<div class="refsect3">
|
334
|
-
<a name="
|
334
|
+
<a name="g-time-zone-new-utc.returns"></a><h4>Returns</h4>
|
335
335
|
<p> the universal timezone</p>
|
336
336
|
</div>
|
337
337
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -367,7 +367,7 @@ example, 02:00 on March 14th 2010 does not exist (due to the leap
|
|
367
367
|
forward to begin daylight savings time). -1 is returned in that
|
368
368
|
case.</p>
|
369
369
|
<div class="refsect3">
|
370
|
-
<a name="
|
370
|
+
<a name="g-time-zone-find-interval.parameters"></a><h4>Parameters</h4>
|
371
371
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
372
372
|
<colgroup>
|
373
373
|
<col width="150px" class="parameters_name">
|
@@ -395,7 +395,7 @@ case.</p>
|
|
395
395
|
</table></div>
|
396
396
|
</div>
|
397
397
|
<div class="refsect3">
|
398
|
-
<a name="
|
398
|
+
<a name="g-time-zone-find-interval.returns"></a><h4>Returns</h4>
|
399
399
|
<p> the interval containing <em class="parameter"><code>time_</code></em>
|
400
400
|
, or -1 in case of failure</p>
|
401
401
|
</div>
|
@@ -431,7 +431,7 @@ adjust <em class="parameter"><code>time_</code></em>
|
|
431
431
|
to be 03:00 and return the interval containing the
|
432
432
|
adjusted time.</p>
|
433
433
|
<div class="refsect3">
|
434
|
-
<a name="
|
434
|
+
<a name="g-time-zone-adjust-time.parameters"></a><h4>Parameters</h4>
|
435
435
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
436
436
|
<colgroup>
|
437
437
|
<col width="150px" class="parameters_name">
|
@@ -459,7 +459,7 @@ adjusted time.</p>
|
|
459
459
|
</table></div>
|
460
460
|
</div>
|
461
461
|
<div class="refsect3">
|
462
|
-
<a name="
|
462
|
+
<a name="g-time-zone-adjust-time.returns"></a><h4>Returns</h4>
|
463
463
|
<p> the interval containing <em class="parameter"><code>time_</code></em>
|
464
464
|
, never -1</p>
|
465
465
|
</div>
|
@@ -479,7 +479,7 @@ g_time_zone_get_abbreviation (<em class="parameter"><code><a class="link" href="
|
|
479
479
|
months and "EDT" during the summer months when daylight savings time
|
480
480
|
is in effect.</p>
|
481
481
|
<div class="refsect3">
|
482
|
-
<a name="
|
482
|
+
<a name="g-time-zone-get-abbreviation.parameters"></a><h4>Parameters</h4>
|
483
483
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
484
484
|
<colgroup>
|
485
485
|
<col width="150px" class="parameters_name">
|
@@ -501,7 +501,7 @@ is in effect.</p>
|
|
501
501
|
</table></div>
|
502
502
|
</div>
|
503
503
|
<div class="refsect3">
|
504
|
-
<a name="
|
504
|
+
<a name="g-time-zone-get-abbreviation.returns"></a><h4>Returns</h4>
|
505
505
|
<p> the time zone abbreviation, which belongs to <em class="parameter"><code>tz</code></em>
|
506
506
|
</p>
|
507
507
|
</div>
|
@@ -522,7 +522,7 @@ arrive at local time for <em class="parameter"><code>tz</code></em>
|
|
522
522
|
(ie: negative numbers for time zones
|
523
523
|
west of GMT, positive numbers for east).</p>
|
524
524
|
<div class="refsect3">
|
525
|
-
<a name="
|
525
|
+
<a name="g-time-zone-get-offset.parameters"></a><h4>Parameters</h4>
|
526
526
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
527
527
|
<colgroup>
|
528
528
|
<col width="150px" class="parameters_name">
|
@@ -544,7 +544,7 @@ west of GMT, positive numbers for east).</p>
|
|
544
544
|
</table></div>
|
545
545
|
</div>
|
546
546
|
<div class="refsect3">
|
547
|
-
<a name="
|
547
|
+
<a name="g-time-zone-get-offset.returns"></a><h4>Returns</h4>
|
548
548
|
<p> the number of seconds that should be added to UTC to get the
|
549
549
|
local time in <em class="parameter"><code>tz</code></em>
|
550
550
|
</p>
|
@@ -562,7 +562,7 @@ g_time_zone_is_dst (<em class="parameter"><code><a class="link" href="glib-GTime
|
|
562
562
|
of time in the time zone <em class="parameter"><code>tz</code></em>
|
563
563
|
.</p>
|
564
564
|
<div class="refsect3">
|
565
|
-
<a name="
|
565
|
+
<a name="g-time-zone-is-dst.parameters"></a><h4>Parameters</h4>
|
566
566
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
567
567
|
<colgroup>
|
568
568
|
<col width="150px" class="parameters_name">
|
@@ -584,7 +584,7 @@ g_time_zone_is_dst (<em class="parameter"><code><a class="link" href="glib-GTime
|
|
584
584
|
</table></div>
|
585
585
|
</div>
|
586
586
|
<div class="refsect3">
|
587
|
-
<a name="
|
587
|
+
<a name="g-time-zone-is-dst.returns"></a><h4>Returns</h4>
|
588
588
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if daylight savings time is in effect</p>
|
589
589
|
</div>
|
590
590
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
@@ -609,7 +609,7 @@ standard time or local daylight time. This is important for the case
|
|
609
609
|
where the same local time occurs twice (during daylight savings time
|
610
610
|
transitions, for example).</p>
|
611
611
|
<div class="refsect3">
|
612
|
-
<a name="
|
612
|
+
<a name="GTimeType.members"></a><h4>Members</h4>
|
613
613
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
614
614
|
<colgroup>
|
615
615
|
<col width="300px" class="enum_members_name">
|
@@ -649,6 +649,6 @@ transitions, for example).</p>
|
|
649
649
|
</div>
|
650
650
|
</div>
|
651
651
|
<div class="footer">
|
652
|
-
<hr>Generated by GTK-Doc V1.
|
652
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
653
653
|
</body>
|
654
654
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-data-types.html" title="GLib Data Types">
|
9
9
|
<link rel="prev" href="glib-GVariantType.html" title="GVariantType">
|
10
10
|
<link rel="next" href="gvariant-format-strings.html" title="GVariant Format Strings">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -953,10 +953,6 @@
|
|
953
953
|
</td>
|
954
954
|
</tr>
|
955
955
|
<tr>
|
956
|
-
<td class="define_keyword">#define</td>
|
957
|
-
<td class="function_name"><a class="link" href="glib-GVariant.html#G-VARIANT-PARSE-ERROR:CAPS" title="G_VARIANT_PARSE_ERROR">G_VARIANT_PARSE_ERROR</a></td>
|
958
|
-
</tr>
|
959
|
-
<tr>
|
960
956
|
<td class="function_type">
|
961
957
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
962
958
|
</td>
|
@@ -1023,6 +1019,10 @@
|
|
1023
1019
|
<td class="datatype_keyword">enum</td>
|
1024
1020
|
<td class="function_name"><a class="link" href="glib-GVariant.html#GVariantParseError" title="enum GVariantParseError">GVariantParseError</a></td>
|
1025
1021
|
</tr>
|
1022
|
+
<tr>
|
1023
|
+
<td class="define_keyword">#define</td>
|
1024
|
+
<td class="function_name"><a class="link" href="glib-GVariant.html#G-VARIANT-PARSE-ERROR:CAPS" title="G_VARIANT_PARSE_ERROR">G_VARIANT_PARSE_ERROR</a></td>
|
1025
|
+
</tr>
|
1026
1026
|
</tbody>
|
1027
1027
|
</table></div>
|
1028
1028
|
</div>
|
@@ -1033,10 +1033,36 @@
|
|
1033
1033
|
</div>
|
1034
1034
|
<div class="refsect1">
|
1035
1035
|
<a name="glib-GVariant.description"></a><h2>Description</h2>
|
1036
|
-
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is a variant datatype; it
|
1037
|
-
information about the type of
|
1038
|
-
|
1039
|
-
|
1036
|
+
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is a variant datatype; it can contain one or more values
|
1037
|
+
along with information about the type of the values.</p>
|
1038
|
+
<p>A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> may contain simple types, like an integer, or a boolean value;
|
1039
|
+
or complex types, like an array of two strings, or a dictionary of key
|
1040
|
+
value pairs. A <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is also immutable: once it's been created neither
|
1041
|
+
its type nor its content can be modified further.</p>
|
1042
|
+
<p>GVariant is useful whenever data needs to be serialized, for example when
|
1043
|
+
sending method parameters in DBus, or when saving settings using GSettings.</p>
|
1044
|
+
<p>When creating a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, you pass the data you want to store in it
|
1045
|
+
along with a string representing the type of data you wish to pass to it.</p>
|
1046
|
+
<p>For instance, if you want to create a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> holding an integer value you
|
1047
|
+
can use:</p>
|
1048
|
+
<div class="informalexample">
|
1049
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1050
|
+
<tbody>
|
1051
|
+
<tr>
|
1052
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
1053
|
+
<td class="listing_code"><pre class="programlisting">GVariant <span class="gtkdoc opt">*</span>v <span class="gtkdoc opt">=</span> <span class="function"><a href="glib-GVariant.html#g-variant-new">g_variant_new</a></span> <span class="gtkdoc opt">(</span><span class="string">'u'</span><span class="gtkdoc opt">,</span> <span class="number">40</span><span class="gtkdoc opt">);</span></pre></td>
|
1054
|
+
</tr>
|
1055
|
+
</tbody>
|
1056
|
+
</table>
|
1057
|
+
</div>
|
1058
|
+
|
1059
|
+
<p></p>
|
1060
|
+
<p>The string 'u' in the first argument tells <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> that the data passed to
|
1061
|
+
the constructor (40) is going to be an unsigned integer.</p>
|
1062
|
+
<p>More advanced examples of <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> in use can be found in documentation for
|
1063
|
+
GVariant format strings.</p>
|
1064
|
+
<p>The range of possible values is determined by the type.</p>
|
1065
|
+
<p>The type system used by <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>. </p>
|
1040
1066
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances always have a type and a value (which are given
|
1041
1067
|
at construction time). The type and value of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance
|
1042
1068
|
can never change other than by the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> itself being
|
@@ -1055,7 +1081,7 @@ Serialised <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><
|
|
1055
1081
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is largely compatible with D-Bus. Almost all types of
|
1056
1082
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances can be sent over D-Bus. See <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> for
|
1057
1083
|
exceptions. (However, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>'s serialisation format is not the same
|
1058
|
-
as the serialisation format of a D-Bus message body: use <a href="
|
1084
|
+
as the serialisation format of a D-Bus message body: use <a href="../GDBusMessage.html#GDBusMessage-struct"><span class="type">GDBusMessage</span></a>,
|
1059
1085
|
in the gio library, for those.)</p>
|
1060
1086
|
<p>For space-efficiency, the <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> serialisation format does not
|
1061
1087
|
automatically include the variant's length, type or endianness,
|
@@ -1076,7 +1102,7 @@ designed to be embedded in other libraries.</p>
|
|
1076
1102
|
values. <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> includes a printer for this language and a parser
|
1077
1103
|
with type inferencing.</p>
|
1078
1104
|
<div class="refsect3">
|
1079
|
-
<a name="id-1.6.19.6.
|
1105
|
+
<a name="id-1.6.19.6.22"></a><h4>Memory Use</h4>
|
1080
1106
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tries to be quite efficient with respect to memory use.
|
1081
1107
|
This section gives a rough idea of how much memory is used by the
|
1082
1108
|
current implementation. The information here is subject to change
|
@@ -1087,7 +1113,7 @@ information cache, buffer management memory and memory for the
|
|
1087
1113
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure itself.</p>
|
1088
1114
|
</div>
|
1089
1115
|
<div class="refsect3">
|
1090
|
-
<a name="id-1.6.19.6.
|
1116
|
+
<a name="id-1.6.19.6.23"></a><h4>Serialised Data Memory</h4>
|
1091
1117
|
<p>This is the memory that is used for storing GVariant data in
|
1092
1118
|
serialised form. This is what would be sent over the network or
|
1093
1119
|
what would end up on disk, not counting any indicator of the
|
@@ -1137,7 +1163,7 @@ bytes. 14 + 2 + 11 + 2 = 29 bytes to encode the entire two-item
|
|
1137
1163
|
dictionary.</p>
|
1138
1164
|
</div>
|
1139
1165
|
<div class="refsect3">
|
1140
|
-
<a name="id-1.6.19.6.
|
1166
|
+
<a name="id-1.6.19.6.24"></a><h4>Type Information Cache</h4>
|
1141
1167
|
<p>For each GVariant type that currently exists in the program a type
|
1142
1168
|
information structure is kept in the type information cache. The
|
1143
1169
|
type information structure is required for rapid deserialisation.</p>
|
@@ -1176,7 +1202,7 @@ different types of values in it and that only one type information
|
|
1176
1202
|
structure is required for many different values of the same type.</p>
|
1177
1203
|
</div>
|
1178
1204
|
<div class="refsect3">
|
1179
|
-
<a name="id-1.6.19.6.
|
1205
|
+
<a name="id-1.6.19.6.25"></a><h4>Buffer Management Memory</h4>
|
1180
1206
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> uses an internal buffer management structure to deal
|
1181
1207
|
with the various different possible sources of serialised data
|
1182
1208
|
that it uses. The buffer is responsible for ensuring that the
|
@@ -1188,7 +1214,7 @@ serialised data. The size of the buffer management structure
|
|
1188
1214
|
is 4 * (void *). On 32-bit systems, that's 16 bytes.</p>
|
1189
1215
|
</div>
|
1190
1216
|
<div class="refsect3">
|
1191
|
-
<a name="id-1.6.19.6.
|
1217
|
+
<a name="id-1.6.19.6.26"></a><h4>GVariant structure</h4>
|
1192
1218
|
<p>The size of a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structure is 6 * (void *). On 32-bit
|
1193
1219
|
systems, that's 24 bytes.</p>
|
1194
1220
|
<p><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> structures only exist if they are explicitly created
|
@@ -1207,7 +1233,7 @@ management structure for that serialised data is shared by the
|
|
1207
1233
|
child.</p>
|
1208
1234
|
</div>
|
1209
1235
|
<div class="refsect3">
|
1210
|
-
<a name="id-1.6.19.6.
|
1236
|
+
<a name="id-1.6.19.6.27"></a><h4>Summary</h4>
|
1211
1237
|
<p>To put the entire example together, for our dictionary mapping
|
1212
1238
|
strings to variants (with two entries, as given above), we are
|
1213
1239
|
using 91 bytes of memory for type information, 29 byes of memory
|
@@ -1231,7 +1257,7 @@ g_variant_unref (<em class="parameter"><code><a class="link" href="glib-GVariant
|
|
1231
1257
|
. When its reference count
|
1232
1258
|
drops to 0, the memory used by the variant is freed.</p>
|
1233
1259
|
<div class="refsect3">
|
1234
|
-
<a name="
|
1260
|
+
<a name="g-variant-unref.parameters"></a><h4>Parameters</h4>
|
1235
1261
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1236
1262
|
<colgroup>
|
1237
1263
|
<col width="150px" class="parameters_name">
|
@@ -1255,7 +1281,7 @@ g_variant_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.h
|
|
1255
1281
|
<p>Increases the reference count of <em class="parameter"><code>value</code></em>
|
1256
1282
|
.</p>
|
1257
1283
|
<div class="refsect3">
|
1258
|
-
<a name="
|
1284
|
+
<a name="g-variant-ref.parameters"></a><h4>Parameters</h4>
|
1259
1285
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1260
1286
|
<colgroup>
|
1261
1287
|
<col width="150px" class="parameters_name">
|
@@ -1270,7 +1296,7 @@ g_variant_ref (<em class="parameter"><code><a class="link" href="glib-GVariant.h
|
|
1270
1296
|
</table></div>
|
1271
1297
|
</div>
|
1272
1298
|
<div class="refsect3">
|
1273
|
-
<a name="
|
1299
|
+
<a name="g-variant-ref.returns"></a><h4>Returns</h4>
|
1274
1300
|
<p> the same <em class="parameter"><code>value</code></em>
|
1275
1301
|
</p>
|
1276
1302
|
</div>
|
@@ -1303,7 +1329,7 @@ makes certain common styles of programming much easier while still
|
|
1303
1329
|
maintaining normal refcounting semantics in situations where values
|
1304
1330
|
are not floating.</p>
|
1305
1331
|
<div class="refsect3">
|
1306
|
-
<a name="
|
1332
|
+
<a name="g-variant-ref-sink.parameters"></a><h4>Parameters</h4>
|
1307
1333
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1308
1334
|
<colgroup>
|
1309
1335
|
<col width="150px" class="parameters_name">
|
@@ -1318,7 +1344,7 @@ are not floating.</p>
|
|
1318
1344
|
</table></div>
|
1319
1345
|
</div>
|
1320
1346
|
<div class="refsect3">
|
1321
|
-
<a name="
|
1347
|
+
<a name="g-variant-ref-sink.returns"></a><h4>Returns</h4>
|
1322
1348
|
<p> the same <em class="parameter"><code>value</code></em>
|
1323
1349
|
</p>
|
1324
1350
|
</div>
|
@@ -1338,7 +1364,7 @@ or <a class="link" href="glib-GVariant.html#g-variant-take-ref" title="g_variant
|
|
1338
1364
|
<p>See <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> for more information about floating reference
|
1339
1365
|
counts.</p>
|
1340
1366
|
<div class="refsect3">
|
1341
|
-
<a name="
|
1367
|
+
<a name="g-variant-is-floating.parameters"></a><h4>Parameters</h4>
|
1342
1368
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1343
1369
|
<colgroup>
|
1344
1370
|
<col width="150px" class="parameters_name">
|
@@ -1353,7 +1379,7 @@ counts.</p>
|
|
1353
1379
|
</table></div>
|
1354
1380
|
</div>
|
1355
1381
|
<div class="refsect3">
|
1356
|
-
<a name="
|
1382
|
+
<a name="g-variant-is-floating.returns"></a><h4>Returns</h4>
|
1357
1383
|
<p> whether <em class="parameter"><code>value</code></em>
|
1358
1384
|
is floating</p>
|
1359
1385
|
</div>
|
@@ -1393,7 +1419,7 @@ be that the floating reference is converted to a hard reference and
|
|
1393
1419
|
an additional reference on top of that one is added. It is best to
|
1394
1420
|
avoid this situation.</p>
|
1395
1421
|
<div class="refsect3">
|
1396
|
-
<a name="
|
1422
|
+
<a name="g-variant-take-ref.parameters"></a><h4>Parameters</h4>
|
1397
1423
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1398
1424
|
<colgroup>
|
1399
1425
|
<col width="150px" class="parameters_name">
|
@@ -1408,7 +1434,7 @@ avoid this situation.</p>
|
|
1408
1434
|
</table></div>
|
1409
1435
|
</div>
|
1410
1436
|
<div class="refsect3">
|
1411
|
-
<a name="
|
1437
|
+
<a name="g-variant-take-ref.returns"></a><h4>Returns</h4>
|
1412
1438
|
<p> the same <em class="parameter"><code>value</code></em>
|
1413
1439
|
</p>
|
1414
1440
|
</div>
|
@@ -1424,7 +1450,7 @@ g_variant_get_type (<em class="parameter"><code><a class="link" href="glib-GVari
|
|
1424
1450
|
and must not
|
1425
1451
|
be freed.</p>
|
1426
1452
|
<div class="refsect3">
|
1427
|
-
<a name="
|
1453
|
+
<a name="g-variant-get-type.parameters"></a><h4>Parameters</h4>
|
1428
1454
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1429
1455
|
<colgroup>
|
1430
1456
|
<col width="150px" class="parameters_name">
|
@@ -1439,7 +1465,7 @@ be freed.</p>
|
|
1439
1465
|
</table></div>
|
1440
1466
|
</div>
|
1441
1467
|
<div class="refsect3">
|
1442
|
-
<a name="
|
1468
|
+
<a name="g-variant-get-type.returns"></a><h4>Returns</h4>
|
1443
1469
|
<p> a <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a></p>
|
1444
1470
|
</div>
|
1445
1471
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -1454,7 +1480,7 @@ g_variant_get_type_string (<em class="parameter"><code><a class="link" href="gli
|
|
1454
1480
|
<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>, this string is nul-terminated. This
|
1455
1481
|
string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> and must not be freed.</p>
|
1456
1482
|
<div class="refsect3">
|
1457
|
-
<a name="
|
1483
|
+
<a name="g-variant-get-type-string.parameters"></a><h4>Parameters</h4>
|
1458
1484
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1459
1485
|
<colgroup>
|
1460
1486
|
<col width="150px" class="parameters_name">
|
@@ -1469,7 +1495,7 @@ string belongs to <a class="link" href="glib-GVariant.html#GVariant" title="GVar
|
|
1469
1495
|
</table></div>
|
1470
1496
|
</div>
|
1471
1497
|
<div class="refsect3">
|
1472
|
-
<a name="
|
1498
|
+
<a name="g-variant-get-type-string.returns"></a><h4>Returns</h4>
|
1473
1499
|
<p> the type string for the type of <em class="parameter"><code>value</code></em>
|
1474
1500
|
</p>
|
1475
1501
|
</div>
|
@@ -1483,7 +1509,7 @@ g_variant_is_of_type (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
1483
1509
|
<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>
|
1484
1510
|
<p>Checks if a value has a type matching the provided type.</p>
|
1485
1511
|
<div class="refsect3">
|
1486
|
-
<a name="
|
1512
|
+
<a name="g-variant-is-of-type.parameters"></a><h4>Parameters</h4>
|
1487
1513
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1488
1514
|
<colgroup>
|
1489
1515
|
<col width="150px" class="parameters_name">
|
@@ -1505,7 +1531,7 @@ g_variant_is_of_type (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
1505
1531
|
</table></div>
|
1506
1532
|
</div>
|
1507
1533
|
<div class="refsect3">
|
1508
|
-
<a name="
|
1534
|
+
<a name="g-variant-is-of-type.returns"></a><h4>Returns</h4>
|
1509
1535
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the type of <em class="parameter"><code>value</code></em>
|
1510
1536
|
matches <em class="parameter"><code>type</code></em>
|
1511
1537
|
</p>
|
@@ -1520,7 +1546,7 @@ g_variant_is_container (<em class="parameter"><code><a class="link" href="glib-G
|
|
1520
1546
|
<p>Checks if <em class="parameter"><code>value</code></em>
|
1521
1547
|
is a container.</p>
|
1522
1548
|
<div class="refsect3">
|
1523
|
-
<a name="
|
1549
|
+
<a name="g-variant-is-container.parameters"></a><h4>Parameters</h4>
|
1524
1550
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1525
1551
|
<colgroup>
|
1526
1552
|
<col width="150px" class="parameters_name">
|
@@ -1535,7 +1561,7 @@ g_variant_is_container (<em class="parameter"><code><a class="link" href="glib-G
|
|
1535
1561
|
</table></div>
|
1536
1562
|
</div>
|
1537
1563
|
<div class="refsect3">
|
1538
|
-
<a name="
|
1564
|
+
<a name="g-variant-is-container.returns"></a><h4>Returns</h4>
|
1539
1565
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em>
|
1540
1566
|
is a container</p>
|
1541
1567
|
</div>
|
@@ -1567,7 +1593,7 @@ the handling of incomparable values (ie: NaN) is undefined.</p>
|
|
1567
1593
|
<p>If you only require an equality comparison, <a class="link" href="glib-GVariant.html#g-variant-equal" title="g_variant_equal ()"><code class="function">g_variant_equal()</code></a> is more
|
1568
1594
|
general.</p>
|
1569
1595
|
<div class="refsect3">
|
1570
|
-
<a name="
|
1596
|
+
<a name="g-variant-compare.parameters"></a><h4>Parameters</h4>
|
1571
1597
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1572
1598
|
<colgroup>
|
1573
1599
|
<col width="150px" class="parameters_name">
|
@@ -1589,7 +1615,7 @@ general.</p>
|
|
1589
1615
|
</table></div>
|
1590
1616
|
</div>
|
1591
1617
|
<div class="refsect3">
|
1592
|
-
<a name="
|
1618
|
+
<a name="g-variant-compare.returns"></a><h4>Returns</h4>
|
1593
1619
|
<p> negative value if a < b;
|
1594
1620
|
zero if a = b;
|
1595
1621
|
positive value if a > b.</p>
|
@@ -1604,7 +1630,7 @@ g_variant_classify (<em class="parameter"><code><a class="link" href="glib-GVari
|
|
1604
1630
|
<p>Classifies <em class="parameter"><code>value</code></em>
|
1605
1631
|
according to its top-level type.</p>
|
1606
1632
|
<div class="refsect3">
|
1607
|
-
<a name="
|
1633
|
+
<a name="g-variant-classify.parameters"></a><h4>Parameters</h4>
|
1608
1634
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1609
1635
|
<colgroup>
|
1610
1636
|
<col width="150px" class="parameters_name">
|
@@ -1619,7 +1645,7 @@ g_variant_classify (<em class="parameter"><code><a class="link" href="glib-GVari
|
|
1619
1645
|
</table></div>
|
1620
1646
|
</div>
|
1621
1647
|
<div class="refsect3">
|
1622
|
-
<a name="
|
1648
|
+
<a name="g-variant-classify.returns"></a><h4>Returns</h4>
|
1623
1649
|
<p> the <a class="link" href="glib-GVariant.html#GVariantClass" title="enum GVariantClass"><span class="type">GVariantClass</span></a> of <em class="parameter"><code>value</code></em>
|
1624
1650
|
</p>
|
1625
1651
|
</div>
|
@@ -1648,9 +1674,9 @@ the data inside of the soon-to-be-freed <a class="link" href="glib-GVariant.html
|
|
1648
1674
|
check fails then a <a class="link" href="glib-Message-Logging.html#g-critical" title="g_critical()"><code class="function">g_critical()</code></a> is printed and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
|
1649
1675
|
<p>This function is meant to be used by functions that wish to provide
|
1650
1676
|
varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> values of uncertain values (eg:
|
1651
|
-
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="
|
1677
|
+
<a class="link" href="glib-GVariant.html#g-variant-lookup" title="g_variant_lookup ()"><code class="function">g_variant_lookup()</code></a> or <a href="../GMenuModel.html#g-menu-model-get-item-attribute"><code class="function">g_menu_model_get_item_attribute()</code></a>).</p>
|
1652
1678
|
<div class="refsect3">
|
1653
|
-
<a name="
|
1679
|
+
<a name="g-variant-check-format-string.parameters"></a><h4>Parameters</h4>
|
1654
1680
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1655
1681
|
<colgroup>
|
1656
1682
|
<col width="150px" class="parameters_name">
|
@@ -1677,7 +1703,7 @@ varargs accessors to <a class="link" href="glib-GVariant.html#GVariant" title="G
|
|
1677
1703
|
</table></div>
|
1678
1704
|
</div>
|
1679
1705
|
<div class="refsect3">
|
1680
|
-
<a name="
|
1706
|
+
<a name="g-variant-check-format-string.returns"></a><h4>Returns</h4>
|
1681
1707
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>format_string</code></em>
|
1682
1708
|
is safe to use</p>
|
1683
1709
|
</div>
|
@@ -1699,17 +1725,17 @@ determined by <em class="parameter"><code>format_string</code></em>
|
|
1699
1725
|
permissible types of <em class="parameter"><code>value</code></em>
|
1700
1726
|
. It is an error to give a value with
|
1701
1727
|
an incompatible type. See the section on
|
1702
|
-
|
1728
|
+
GVariant format strings.
|
1703
1729
|
Please note that the syntax of the format string is very likely to be
|
1704
1730
|
extended in the future.</p>
|
1705
1731
|
<p><em class="parameter"><code>format_string</code></em>
|
1706
1732
|
determines the C types that are used for unpacking
|
1707
1733
|
the values and also determines if the values are copied or borrowed,
|
1708
1734
|
see the section on
|
1709
|
-
|
1735
|
+
GVariant format strings.</p>
|
1710
1736
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1711
1737
|
<div class="refsect3">
|
1712
|
-
<a name="
|
1738
|
+
<a name="g-variant-get.parameters"></a><h4>Parameters</h4>
|
1713
1739
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1714
1740
|
<colgroup>
|
1715
1741
|
<col width="150px" class="parameters_name">
|
@@ -1770,10 +1796,10 @@ varargs call by the user.</p>
|
|
1770
1796
|
determines the C types that are used for unpacking
|
1771
1797
|
the values and also determines if the values are copied or borrowed,
|
1772
1798
|
see the section on
|
1773
|
-
|
1799
|
+
GVariant format strings.</p>
|
1774
1800
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1775
1801
|
<div class="refsect3">
|
1776
|
-
<a name="
|
1802
|
+
<a name="g-variant-get-va.parameters"></a><h4>Parameters</h4>
|
1777
1803
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1778
1804
|
<colgroup>
|
1779
1805
|
<col width="150px" class="parameters_name">
|
@@ -1818,7 +1844,7 @@ g_variant_new (<em class="parameter"><code>const <a class="link" href="glib-Basi
|
|
1818
1844
|
<p>The type of the created instance and the arguments that are expected
|
1819
1845
|
by this function are determined by <em class="parameter"><code>format_string</code></em>
|
1820
1846
|
. See the section on
|
1821
|
-
|
1847
|
+
GVariant format strings. Please note that
|
1822
1848
|
the syntax of the format string is very likely to be extended in the
|
1823
1849
|
future.</p>
|
1824
1850
|
<p>The first character of the format string must not be '*' '?' '@' or
|
@@ -1827,7 +1853,7 @@ function (and not merely passed through it unmodified).</p>
|
|
1827
1853
|
<p>Note that the arguments must be of the correct width for their types
|
1828
1854
|
specified in <em class="parameter"><code>format_string</code></em>
|
1829
1855
|
. This can be achieved by casting them. See
|
1830
|
-
the
|
1856
|
+
the GVariant varargs documentation.</p>
|
1831
1857
|
<div class="informalexample">
|
1832
1858
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1833
1859
|
<tbody>
|
@@ -1856,7 +1882,7 @@ new_variant <span class="gtkdoc opt">=</span> <span class="function"><a href="gl
|
|
1856
1882
|
<p></p>
|
1857
1883
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1858
1884
|
<div class="refsect3">
|
1859
|
-
<a name="
|
1885
|
+
<a name="g-variant-new.parameters"></a><h4>Parameters</h4>
|
1860
1886
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1861
1887
|
<colgroup>
|
1862
1888
|
<col width="150px" class="parameters_name">
|
@@ -1879,7 +1905,7 @@ new_variant <span class="gtkdoc opt">=</span> <span class="function"><a href="gl
|
|
1879
1905
|
</table></div>
|
1880
1906
|
</div>
|
1881
1907
|
<div class="refsect3">
|
1882
|
-
<a name="
|
1908
|
+
<a name="g-variant-new.returns"></a><h4>Returns</h4>
|
1883
1909
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</p>
|
1884
1910
|
</div>
|
1885
1911
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -1929,7 +1955,7 @@ result. This can also be done by adding the result to a container,
|
|
1929
1955
|
or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> call.</p>
|
1930
1956
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1931
1957
|
<div class="refsect3">
|
1932
|
-
<a name="
|
1958
|
+
<a name="g-variant-new-va.parameters"></a><h4>Parameters</h4>
|
1933
1959
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1934
1960
|
<colgroup>
|
1935
1961
|
<col width="150px" class="parameters_name">
|
@@ -1957,7 +1983,7 @@ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code
|
|
1957
1983
|
</table></div>
|
1958
1984
|
</div>
|
1959
1985
|
<div class="refsect3">
|
1960
|
-
<a name="
|
1986
|
+
<a name="g-variant-new-va.returns"></a><h4>Returns</h4>
|
1961
1987
|
<p> a new, usually floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a></p>
|
1962
1988
|
</div>
|
1963
1989
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -1969,7 +1995,7 @@ or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code
|
|
1969
1995
|
g_variant_new_boolean (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> value</code></em>);</pre>
|
1970
1996
|
<p>Creates a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance -- 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>.</p>
|
1971
1997
|
<div class="refsect3">
|
1972
|
-
<a name="
|
1998
|
+
<a name="g-variant-new-boolean.parameters"></a><h4>Parameters</h4>
|
1973
1999
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1974
2000
|
<colgroup>
|
1975
2001
|
<col width="150px" class="parameters_name">
|
@@ -1984,7 +2010,7 @@ g_variant_new_boolean (<em class="parameter"><code><a class="link" href="glib-Ba
|
|
1984
2010
|
</table></div>
|
1985
2011
|
</div>
|
1986
2012
|
<div class="refsect3">
|
1987
|
-
<a name="
|
2013
|
+
<a name="g-variant-new-boolean.returns"></a><h4>Returns</h4>
|
1988
2014
|
<p> a floating reference to a new boolean <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
1989
2015
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1990
2016
|
</div>
|
@@ -1997,7 +2023,7 @@ g_variant_new_boolean (<em class="parameter"><code><a class="link" href="glib-Ba
|
|
1997
2023
|
g_variant_new_byte (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a> value</code></em>);</pre>
|
1998
2024
|
<p>Creates a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
1999
2025
|
<div class="refsect3">
|
2000
|
-
<a name="
|
2026
|
+
<a name="g-variant-new-byte.parameters"></a><h4>Parameters</h4>
|
2001
2027
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2002
2028
|
<colgroup>
|
2003
2029
|
<col width="150px" class="parameters_name">
|
@@ -2012,7 +2038,7 @@ g_variant_new_byte (<em class="parameter"><code><a class="link" href="glib-Basic
|
|
2012
2038
|
</table></div>
|
2013
2039
|
</div>
|
2014
2040
|
<div class="refsect3">
|
2015
|
-
<a name="
|
2041
|
+
<a name="g-variant-new-byte.returns"></a><h4>Returns</h4>
|
2016
2042
|
<p> a floating reference to a new byte <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2017
2043
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2018
2044
|
</div>
|
@@ -2025,7 +2051,7 @@ g_variant_new_byte (<em class="parameter"><code><a class="link" href="glib-Basic
|
|
2025
2051
|
g_variant_new_int16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a> value</code></em>);</pre>
|
2026
2052
|
<p>Creates a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2027
2053
|
<div class="refsect3">
|
2028
|
-
<a name="
|
2054
|
+
<a name="g-variant-new-int16.parameters"></a><h4>Parameters</h4>
|
2029
2055
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2030
2056
|
<colgroup>
|
2031
2057
|
<col width="150px" class="parameters_name">
|
@@ -2040,7 +2066,7 @@ g_variant_new_int16 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2040
2066
|
</table></div>
|
2041
2067
|
</div>
|
2042
2068
|
<div class="refsect3">
|
2043
|
-
<a name="
|
2069
|
+
<a name="g-variant-new-int16.returns"></a><h4>Returns</h4>
|
2044
2070
|
<p> a floating reference to a new int16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2045
2071
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2046
2072
|
</div>
|
@@ -2053,7 +2079,7 @@ g_variant_new_int16 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2053
2079
|
g_variant_new_uint16 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a> value</code></em>);</pre>
|
2054
2080
|
<p>Creates a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2055
2081
|
<div class="refsect3">
|
2056
|
-
<a name="
|
2082
|
+
<a name="g-variant-new-uint16.parameters"></a><h4>Parameters</h4>
|
2057
2083
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2058
2084
|
<colgroup>
|
2059
2085
|
<col width="150px" class="parameters_name">
|
@@ -2068,7 +2094,7 @@ g_variant_new_uint16 (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2068
2094
|
</table></div>
|
2069
2095
|
</div>
|
2070
2096
|
<div class="refsect3">
|
2071
|
-
<a name="
|
2097
|
+
<a name="g-variant-new-uint16.returns"></a><h4>Returns</h4>
|
2072
2098
|
<p> a floating reference to a new uint16 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2073
2099
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2074
2100
|
</div>
|
@@ -2081,7 +2107,7 @@ g_variant_new_uint16 (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2081
2107
|
g_variant_new_int32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a> value</code></em>);</pre>
|
2082
2108
|
<p>Creates a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2083
2109
|
<div class="refsect3">
|
2084
|
-
<a name="
|
2110
|
+
<a name="g-variant-new-int32.parameters"></a><h4>Parameters</h4>
|
2085
2111
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2086
2112
|
<colgroup>
|
2087
2113
|
<col width="150px" class="parameters_name">
|
@@ -2096,7 +2122,7 @@ g_variant_new_int32 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2096
2122
|
</table></div>
|
2097
2123
|
</div>
|
2098
2124
|
<div class="refsect3">
|
2099
|
-
<a name="
|
2125
|
+
<a name="g-variant-new-int32.returns"></a><h4>Returns</h4>
|
2100
2126
|
<p> a floating reference to a new int32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2101
2127
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2102
2128
|
</div>
|
@@ -2109,7 +2135,7 @@ g_variant_new_int32 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2109
2135
|
g_variant_new_uint32 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a> value</code></em>);</pre>
|
2110
2136
|
<p>Creates a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2111
2137
|
<div class="refsect3">
|
2112
|
-
<a name="
|
2138
|
+
<a name="g-variant-new-uint32.parameters"></a><h4>Parameters</h4>
|
2113
2139
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2114
2140
|
<colgroup>
|
2115
2141
|
<col width="150px" class="parameters_name">
|
@@ -2124,7 +2150,7 @@ g_variant_new_uint32 (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2124
2150
|
</table></div>
|
2125
2151
|
</div>
|
2126
2152
|
<div class="refsect3">
|
2127
|
-
<a name="
|
2153
|
+
<a name="g-variant-new-uint32.returns"></a><h4>Returns</h4>
|
2128
2154
|
<p> a floating reference to a new uint32 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2129
2155
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2130
2156
|
</div>
|
@@ -2137,7 +2163,7 @@ g_variant_new_uint32 (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2137
2163
|
g_variant_new_int64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value</code></em>);</pre>
|
2138
2164
|
<p>Creates a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2139
2165
|
<div class="refsect3">
|
2140
|
-
<a name="
|
2166
|
+
<a name="g-variant-new-int64.parameters"></a><h4>Parameters</h4>
|
2141
2167
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2142
2168
|
<colgroup>
|
2143
2169
|
<col width="150px" class="parameters_name">
|
@@ -2152,7 +2178,7 @@ g_variant_new_int64 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2152
2178
|
</table></div>
|
2153
2179
|
</div>
|
2154
2180
|
<div class="refsect3">
|
2155
|
-
<a name="
|
2181
|
+
<a name="g-variant-new-int64.returns"></a><h4>Returns</h4>
|
2156
2182
|
<p> a floating reference to a new int64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2157
2183
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2158
2184
|
</div>
|
@@ -2165,7 +2191,7 @@ g_variant_new_int64 (<em class="parameter"><code><a class="link" href="glib-Basi
|
|
2165
2191
|
g_variant_new_uint64 (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value</code></em>);</pre>
|
2166
2192
|
<p>Creates a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2167
2193
|
<div class="refsect3">
|
2168
|
-
<a name="
|
2194
|
+
<a name="g-variant-new-uint64.parameters"></a><h4>Parameters</h4>
|
2169
2195
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2170
2196
|
<colgroup>
|
2171
2197
|
<col width="150px" class="parameters_name">
|
@@ -2180,7 +2206,7 @@ g_variant_new_uint64 (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2180
2206
|
</table></div>
|
2181
2207
|
</div>
|
2182
2208
|
<div class="refsect3">
|
2183
|
-
<a name="
|
2209
|
+
<a name="g-variant-new-uint64.returns"></a><h4>Returns</h4>
|
2184
2210
|
<p> a floating reference to a new uint64 <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2185
2211
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2186
2212
|
</div>
|
@@ -2196,7 +2222,7 @@ g_variant_new_handle (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2196
2222
|
that are sent alongside a D-Bus message. If you're not interacting
|
2197
2223
|
with D-Bus, you probably don't need them.</p>
|
2198
2224
|
<div class="refsect3">
|
2199
|
-
<a name="
|
2225
|
+
<a name="g-variant-new-handle.parameters"></a><h4>Parameters</h4>
|
2200
2226
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2201
2227
|
<colgroup>
|
2202
2228
|
<col width="150px" class="parameters_name">
|
@@ -2211,7 +2237,7 @@ with D-Bus, you probably don't need them.</p>
|
|
2211
2237
|
</table></div>
|
2212
2238
|
</div>
|
2213
2239
|
<div class="refsect3">
|
2214
|
-
<a name="
|
2240
|
+
<a name="g-variant-new-handle.returns"></a><h4>Returns</h4>
|
2215
2241
|
<p> a floating reference to a new handle <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2216
2242
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2217
2243
|
</div>
|
@@ -2224,7 +2250,7 @@ with D-Bus, you probably don't need them.</p>
|
|
2224
2250
|
g_variant_new_double (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
2225
2251
|
<p>Creates a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance.</p>
|
2226
2252
|
<div class="refsect3">
|
2227
|
-
<a name="
|
2253
|
+
<a name="g-variant-new-double.parameters"></a><h4>Parameters</h4>
|
2228
2254
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2229
2255
|
<colgroup>
|
2230
2256
|
<col width="150px" class="parameters_name">
|
@@ -2239,7 +2265,7 @@ g_variant_new_double (<em class="parameter"><code><a class="link" href="glib-Bas
|
|
2239
2265
|
</table></div>
|
2240
2266
|
</div>
|
2241
2267
|
<div class="refsect3">
|
2242
|
-
<a name="
|
2268
|
+
<a name="g-variant-new-double.returns"></a><h4>Returns</h4>
|
2243
2269
|
<p> a floating reference to a new double <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2244
2270
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2245
2271
|
</div>
|
@@ -2255,9 +2281,9 @@ g_variant_new_string (<em class="parameter"><code>const <a class="link" href="gl
|
|
2255
2281
|
<p><em class="parameter"><code>string</code></em>
|
2256
2282
|
must be valid UTF-8, and must not be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. To encode
|
2257
2283
|
potentially-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> strings, use <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> with <code class="literal">ms</code> as the
|
2258
|
-
|
2284
|
+
format string.</p>
|
2259
2285
|
<div class="refsect3">
|
2260
|
-
<a name="
|
2286
|
+
<a name="g-variant-new-string.parameters"></a><h4>Parameters</h4>
|
2261
2287
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2262
2288
|
<colgroup>
|
2263
2289
|
<col width="150px" class="parameters_name">
|
@@ -2272,7 +2298,7 @@ potentially-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NU
|
|
2272
2298
|
</table></div>
|
2273
2299
|
</div>
|
2274
2300
|
<div class="refsect3">
|
2275
|
-
<a name="
|
2301
|
+
<a name="g-variant-new-string.returns"></a><h4>Returns</h4>
|
2276
2302
|
<p> a floating reference to a new string <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2277
2303
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2278
2304
|
</div>
|
@@ -2299,7 +2325,7 @@ it to this function. It is even possible that <em class="parameter"><code>strin
|
|
2299
2325
|
freed.</p>
|
2300
2326
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2301
2327
|
<div class="refsect3">
|
2302
|
-
<a name="
|
2328
|
+
<a name="g-variant-new-take-string.parameters"></a><h4>Parameters</h4>
|
2303
2329
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2304
2330
|
<colgroup>
|
2305
2331
|
<col width="150px" class="parameters_name">
|
@@ -2314,7 +2340,7 @@ freed.</p>
|
|
2314
2340
|
</table></div>
|
2315
2341
|
</div>
|
2316
2342
|
<div class="refsect3">
|
2317
|
-
<a name="
|
2343
|
+
<a name="g-variant-new-take-string.returns"></a><h4>Returns</h4>
|
2318
2344
|
<p> a floating reference to a new string
|
2319
2345
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2320
2346
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -2333,7 +2359,7 @@ g_variant_new_printf (<em class="parameter"><code>const <a class="link" href="gl
|
|
2333
2359
|
unnecessary copy.</p>
|
2334
2360
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2335
2361
|
<div class="refsect3">
|
2336
|
-
<a name="
|
2362
|
+
<a name="g-variant-new-printf.parameters"></a><h4>Parameters</h4>
|
2337
2363
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2338
2364
|
<colgroup>
|
2339
2365
|
<col width="150px" class="parameters_name">
|
@@ -2356,7 +2382,7 @@ unnecessary copy.</p>
|
|
2356
2382
|
</table></div>
|
2357
2383
|
</div>
|
2358
2384
|
<div class="refsect3">
|
2359
|
-
<a name="
|
2385
|
+
<a name="g-variant-new-printf.returns"></a><h4>Returns</h4>
|
2360
2386
|
<p> a floating reference to a new string
|
2361
2387
|
<a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2362
2388
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -2374,7 +2400,7 @@ g_variant_new_object_path (<em class="parameter"><code>const <a class="link" hre
|
|
2374
2400
|
must be a valid D-Bus object path. Use
|
2375
2401
|
<a class="link" href="glib-GVariant.html#g-variant-is-object-path" title="g_variant_is_object_path ()"><code class="function">g_variant_is_object_path()</code></a> if you're not sure.</p>
|
2376
2402
|
<div class="refsect3">
|
2377
|
-
<a name="
|
2403
|
+
<a name="g-variant-new-object-path.parameters"></a><h4>Parameters</h4>
|
2378
2404
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2379
2405
|
<colgroup>
|
2380
2406
|
<col width="150px" class="parameters_name">
|
@@ -2389,7 +2415,7 @@ g_variant_new_object_path (<em class="parameter"><code>const <a class="link" hre
|
|
2389
2415
|
</table></div>
|
2390
2416
|
</div>
|
2391
2417
|
<div class="refsect3">
|
2392
|
-
<a name="
|
2418
|
+
<a name="g-variant-new-object-path.returns"></a><h4>Returns</h4>
|
2393
2419
|
<p> a floating reference to a new object path <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2394
2420
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2395
2421
|
</div>
|
@@ -2408,7 +2434,7 @@ sequences of characters separated by '/' characters. Each sequence
|
|
2408
2434
|
must contain only the characters "A-Z[0-9]_". No sequence
|
2409
2435
|
(including the one following the final '/' character) may be empty.</p>
|
2410
2436
|
<div class="refsect3">
|
2411
|
-
<a name="
|
2437
|
+
<a name="g-variant-is-object-path.parameters"></a><h4>Parameters</h4>
|
2412
2438
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2413
2439
|
<colgroup>
|
2414
2440
|
<col width="150px" class="parameters_name">
|
@@ -2423,7 +2449,7 @@ must contain only the characters "A-Z[0-9]_". No sequence
|
|
2423
2449
|
</table></div>
|
2424
2450
|
</div>
|
2425
2451
|
<div class="refsect3">
|
2426
|
-
<a name="
|
2452
|
+
<a name="g-variant-is-object-path.returns"></a><h4>Returns</h4>
|
2427
2453
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em>
|
2428
2454
|
is a D-Bus object path</p>
|
2429
2455
|
</div>
|
@@ -2440,7 +2466,7 @@ g_variant_new_signature (<em class="parameter"><code>const <a class="link" href=
|
|
2440
2466
|
must be a valid D-Bus type signature. Use
|
2441
2467
|
<a class="link" href="glib-GVariant.html#g-variant-is-signature" title="g_variant_is_signature ()"><code class="function">g_variant_is_signature()</code></a> if you're not sure.</p>
|
2442
2468
|
<div class="refsect3">
|
2443
|
-
<a name="
|
2469
|
+
<a name="g-variant-new-signature.parameters"></a><h4>Parameters</h4>
|
2444
2470
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2445
2471
|
<colgroup>
|
2446
2472
|
<col width="150px" class="parameters_name">
|
@@ -2455,7 +2481,7 @@ g_variant_new_signature (<em class="parameter"><code>const <a class="link" href=
|
|
2455
2481
|
</table></div>
|
2456
2482
|
</div>
|
2457
2483
|
<div class="refsect3">
|
2458
|
-
<a name="
|
2484
|
+
<a name="g-variant-new-signature.returns"></a><h4>Returns</h4>
|
2459
2485
|
<p> a floating reference to a new signature <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2460
2486
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2461
2487
|
</div>
|
@@ -2472,7 +2498,7 @@ passing it to <a class="link" href="glib-GVariant.html#g-variant-new-signature"
|
|
2472
2498
|
<p>D-Bus type signatures consist of zero or more definite <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a>
|
2473
2499
|
strings in sequence.</p>
|
2474
2500
|
<div class="refsect3">
|
2475
|
-
<a name="
|
2501
|
+
<a name="g-variant-is-signature.parameters"></a><h4>Parameters</h4>
|
2476
2502
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2477
2503
|
<colgroup>
|
2478
2504
|
<col width="150px" class="parameters_name">
|
@@ -2487,7 +2513,7 @@ strings in sequence.</p>
|
|
2487
2513
|
</table></div>
|
2488
2514
|
</div>
|
2489
2515
|
<div class="refsect3">
|
2490
|
-
<a name="
|
2516
|
+
<a name="g-variant-is-signature.returns"></a><h4>Returns</h4>
|
2491
2517
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>string</code></em>
|
2492
2518
|
is a D-Bus type signature</p>
|
2493
2519
|
</div>
|
@@ -2507,7 +2533,7 @@ instance takes ownership of <em class="parameter"><code>child</code></em>
|
|
2507
2533
|
.</p>
|
2508
2534
|
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
2509
2535
|
<div class="refsect3">
|
2510
|
-
<a name="
|
2536
|
+
<a name="g-variant-new-variant.parameters"></a><h4>Parameters</h4>
|
2511
2537
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2512
2538
|
<colgroup>
|
2513
2539
|
<col width="150px" class="parameters_name">
|
@@ -2522,7 +2548,7 @@ instance takes ownership of <em class="parameter"><code>child</code></em>
|
|
2522
2548
|
</table></div>
|
2523
2549
|
</div>
|
2524
2550
|
<div class="refsect3">
|
2525
|
-
<a name="
|
2551
|
+
<a name="g-variant-new-variant.returns"></a><h4>Returns</h4>
|
2526
2552
|
<p> a floating reference to a new variant <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2527
2553
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2528
2554
|
</div>
|
@@ -2540,7 +2566,7 @@ strings.</p>
|
|
2540
2566
|
is -1 then <em class="parameter"><code>strv</code></em>
|
2541
2567
|
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.</p>
|
2542
2568
|
<div class="refsect3">
|
2543
|
-
<a name="
|
2569
|
+
<a name="g-variant-new-strv.parameters"></a><h4>Parameters</h4>
|
2544
2570
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2545
2571
|
<colgroup>
|
2546
2572
|
<col width="150px" class="parameters_name">
|
@@ -2563,7 +2589,7 @@ strings.</p>
|
|
2563
2589
|
</table></div>
|
2564
2590
|
</div>
|
2565
2591
|
<div class="refsect3">
|
2566
|
-
<a name="
|
2592
|
+
<a name="g-variant-new-strv.returns"></a><h4>Returns</h4>
|
2567
2593
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2568
2594
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2569
2595
|
</div>
|
@@ -2583,7 +2609,7 @@ strings.</p>
|
|
2583
2609
|
is -1 then <em class="parameter"><code>strv</code></em>
|
2584
2610
|
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.</p>
|
2585
2611
|
<div class="refsect3">
|
2586
|
-
<a name="
|
2612
|
+
<a name="g-variant-new-objv.parameters"></a><h4>Parameters</h4>
|
2587
2613
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2588
2614
|
<colgroup>
|
2589
2615
|
<col width="150px" class="parameters_name">
|
@@ -2606,7 +2632,7 @@ strings.</p>
|
|
2606
2632
|
</table></div>
|
2607
2633
|
</div>
|
2608
2634
|
<div class="refsect3">
|
2609
|
-
<a name="
|
2635
|
+
<a name="g-variant-new-objv.returns"></a><h4>Returns</h4>
|
2610
2636
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2611
2637
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2612
2638
|
</div>
|
@@ -2624,7 +2650,7 @@ string need not be valid UTF-8.</p>
|
|
2624
2650
|
<p>The nul terminator character at the end of the string is stored in
|
2625
2651
|
the array.</p>
|
2626
2652
|
<div class="refsect3">
|
2627
|
-
<a name="
|
2653
|
+
<a name="g-variant-new-bytestring.parameters"></a><h4>Parameters</h4>
|
2628
2654
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2629
2655
|
<colgroup>
|
2630
2656
|
<col width="150px" class="parameters_name">
|
@@ -2640,7 +2666,7 @@ nul-terminated string in no particular encoding. </p></td>
|
|
2640
2666
|
</table></div>
|
2641
2667
|
</div>
|
2642
2668
|
<div class="refsect3">
|
2643
|
-
<a name="
|
2669
|
+
<a name="g-variant-new-bytestring.returns"></a><h4>Returns</h4>
|
2644
2670
|
<p> a floating reference to a new bytestring <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2645
2671
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2646
2672
|
</div>
|
@@ -2658,7 +2684,7 @@ strings.</p>
|
|
2658
2684
|
is -1 then <em class="parameter"><code>strv</code></em>
|
2659
2685
|
is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated.</p>
|
2660
2686
|
<div class="refsect3">
|
2661
|
-
<a name="
|
2687
|
+
<a name="g-variant-new-bytestring-array.parameters"></a><h4>Parameters</h4>
|
2662
2688
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2663
2689
|
<colgroup>
|
2664
2690
|
<col width="150px" class="parameters_name">
|
@@ -2681,7 +2707,7 @@ strings.</p>
|
|
2681
2707
|
</table></div>
|
2682
2708
|
</div>
|
2683
2709
|
<div class="refsect3">
|
2684
|
-
<a name="
|
2710
|
+
<a name="g-variant-new-bytestring-array.returns"></a><h4>Returns</h4>
|
2685
2711
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
2686
2712
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2687
2713
|
</div>
|
@@ -2698,7 +2724,7 @@ g_variant_get_boolean (<em class="parameter"><code><a class="link" href="glib-GV
|
|
2698
2724
|
of any type
|
2699
2725
|
other than <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>.</p>
|
2700
2726
|
<div class="refsect3">
|
2701
|
-
<a name="
|
2727
|
+
<a name="g-variant-get-boolean.parameters"></a><h4>Parameters</h4>
|
2702
2728
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2703
2729
|
<colgroup>
|
2704
2730
|
<col width="150px" class="parameters_name">
|
@@ -2713,7 +2739,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BOOLEAN:C
|
|
2713
2739
|
</table></div>
|
2714
2740
|
</div>
|
2715
2741
|
<div class="refsect3">
|
2716
|
-
<a name="
|
2742
|
+
<a name="g-variant-get-boolean.returns"></a><h4>Returns</h4>
|
2717
2743
|
<p> <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></p>
|
2718
2744
|
</div>
|
2719
2745
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2729,7 +2755,7 @@ g_variant_get_byte (<em class="parameter"><code><a class="link" href="glib-GVari
|
|
2729
2755
|
of any type
|
2730
2756
|
other than <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>.</p>
|
2731
2757
|
<div class="refsect3">
|
2732
|
-
<a name="
|
2758
|
+
<a name="g-variant-get-byte.parameters"></a><h4>Parameters</h4>
|
2733
2759
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2734
2760
|
<colgroup>
|
2735
2761
|
<col width="150px" class="parameters_name">
|
@@ -2744,7 +2770,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-BYTE:CAPS
|
|
2744
2770
|
</table></div>
|
2745
2771
|
</div>
|
2746
2772
|
<div class="refsect3">
|
2747
|
-
<a name="
|
2773
|
+
<a name="g-variant-get-byte.returns"></a><h4>Returns</h4>
|
2748
2774
|
<p> a <a class="link" href="glib-Basic-Types.html#guchar" title="guchar"><span class="type">guchar</span></a></p>
|
2749
2775
|
</div>
|
2750
2776
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2760,7 +2786,7 @@ g_variant_get_int16 (<em class="parameter"><code><a class="link" href="glib-GVar
|
|
2760
2786
|
of any type
|
2761
2787
|
other than <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>.</p>
|
2762
2788
|
<div class="refsect3">
|
2763
|
-
<a name="
|
2789
|
+
<a name="g-variant-get-int16.parameters"></a><h4>Parameters</h4>
|
2764
2790
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2765
2791
|
<colgroup>
|
2766
2792
|
<col width="150px" class="parameters_name">
|
@@ -2775,7 +2801,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT16:CAP
|
|
2775
2801
|
</table></div>
|
2776
2802
|
</div>
|
2777
2803
|
<div class="refsect3">
|
2778
|
-
<a name="
|
2804
|
+
<a name="g-variant-get-int16.returns"></a><h4>Returns</h4>
|
2779
2805
|
<p> a <a class="link" href="glib-Basic-Types.html#gint16" title="gint16"><span class="type">gint16</span></a></p>
|
2780
2806
|
</div>
|
2781
2807
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2791,7 +2817,7 @@ g_variant_get_uint16 (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
2791
2817
|
of any type
|
2792
2818
|
other than <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>.</p>
|
2793
2819
|
<div class="refsect3">
|
2794
|
-
<a name="
|
2820
|
+
<a name="g-variant-get-uint16.parameters"></a><h4>Parameters</h4>
|
2795
2821
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2796
2822
|
<colgroup>
|
2797
2823
|
<col width="150px" class="parameters_name">
|
@@ -2806,7 +2832,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT16:CA
|
|
2806
2832
|
</table></div>
|
2807
2833
|
</div>
|
2808
2834
|
<div class="refsect3">
|
2809
|
-
<a name="
|
2835
|
+
<a name="g-variant-get-uint16.returns"></a><h4>Returns</h4>
|
2810
2836
|
<p> a <a class="link" href="glib-Basic-Types.html#guint16" title="guint16"><span class="type">guint16</span></a></p>
|
2811
2837
|
</div>
|
2812
2838
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2822,7 +2848,7 @@ g_variant_get_int32 (<em class="parameter"><code><a class="link" href="glib-GVar
|
|
2822
2848
|
of any type
|
2823
2849
|
other than <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>.</p>
|
2824
2850
|
<div class="refsect3">
|
2825
|
-
<a name="
|
2851
|
+
<a name="g-variant-get-int32.parameters"></a><h4>Parameters</h4>
|
2826
2852
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2827
2853
|
<colgroup>
|
2828
2854
|
<col width="150px" class="parameters_name">
|
@@ -2837,7 +2863,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT32:CAP
|
|
2837
2863
|
</table></div>
|
2838
2864
|
</div>
|
2839
2865
|
<div class="refsect3">
|
2840
|
-
<a name="
|
2866
|
+
<a name="g-variant-get-int32.returns"></a><h4>Returns</h4>
|
2841
2867
|
<p> a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a></p>
|
2842
2868
|
</div>
|
2843
2869
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2853,7 +2879,7 @@ g_variant_get_uint32 (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
2853
2879
|
of any type
|
2854
2880
|
other than <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>.</p>
|
2855
2881
|
<div class="refsect3">
|
2856
|
-
<a name="
|
2882
|
+
<a name="g-variant-get-uint32.parameters"></a><h4>Parameters</h4>
|
2857
2883
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2858
2884
|
<colgroup>
|
2859
2885
|
<col width="150px" class="parameters_name">
|
@@ -2868,7 +2894,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT32:CA
|
|
2868
2894
|
</table></div>
|
2869
2895
|
</div>
|
2870
2896
|
<div class="refsect3">
|
2871
|
-
<a name="
|
2897
|
+
<a name="g-variant-get-uint32.returns"></a><h4>Returns</h4>
|
2872
2898
|
<p> a <a class="link" href="glib-Basic-Types.html#guint32" title="guint32"><span class="type">guint32</span></a></p>
|
2873
2899
|
</div>
|
2874
2900
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2884,7 +2910,7 @@ g_variant_get_int64 (<em class="parameter"><code><a class="link" href="glib-GVar
|
|
2884
2910
|
of any type
|
2885
2911
|
other than <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>.</p>
|
2886
2912
|
<div class="refsect3">
|
2887
|
-
<a name="
|
2913
|
+
<a name="g-variant-get-int64.parameters"></a><h4>Parameters</h4>
|
2888
2914
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2889
2915
|
<colgroup>
|
2890
2916
|
<col width="150px" class="parameters_name">
|
@@ -2899,7 +2925,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-INT64:CAP
|
|
2899
2925
|
</table></div>
|
2900
2926
|
</div>
|
2901
2927
|
<div class="refsect3">
|
2902
|
-
<a name="
|
2928
|
+
<a name="g-variant-get-int64.returns"></a><h4>Returns</h4>
|
2903
2929
|
<p> a <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a></p>
|
2904
2930
|
</div>
|
2905
2931
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2915,7 +2941,7 @@ g_variant_get_uint64 (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
2915
2941
|
of any type
|
2916
2942
|
other than <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>.</p>
|
2917
2943
|
<div class="refsect3">
|
2918
|
-
<a name="
|
2944
|
+
<a name="g-variant-get-uint64.parameters"></a><h4>Parameters</h4>
|
2919
2945
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2920
2946
|
<colgroup>
|
2921
2947
|
<col width="150px" class="parameters_name">
|
@@ -2930,7 +2956,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-UINT64:CA
|
|
2930
2956
|
</table></div>
|
2931
2957
|
</div>
|
2932
2958
|
<div class="refsect3">
|
2933
|
-
<a name="
|
2959
|
+
<a name="g-variant-get-uint64.returns"></a><h4>Returns</h4>
|
2934
2960
|
<p> a <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a></p>
|
2935
2961
|
</div>
|
2936
2962
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2949,7 +2975,7 @@ than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-HANDLE:CAPS" ti
|
|
2949
2975
|
that are sent alongside a D-Bus message. If you're not interacting
|
2950
2976
|
with D-Bus, you probably don't need them.</p>
|
2951
2977
|
<div class="refsect3">
|
2952
|
-
<a name="
|
2978
|
+
<a name="g-variant-get-handle.parameters"></a><h4>Parameters</h4>
|
2953
2979
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2954
2980
|
<colgroup>
|
2955
2981
|
<col width="150px" class="parameters_name">
|
@@ -2964,7 +2990,7 @@ with D-Bus, you probably don't need them.</p>
|
|
2964
2990
|
</table></div>
|
2965
2991
|
</div>
|
2966
2992
|
<div class="refsect3">
|
2967
|
-
<a name="
|
2993
|
+
<a name="g-variant-get-handle.returns"></a><h4>Returns</h4>
|
2968
2994
|
<p> a <a class="link" href="glib-Basic-Types.html#gint32" title="gint32"><span class="type">gint32</span></a></p>
|
2969
2995
|
</div>
|
2970
2996
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -2980,7 +3006,7 @@ g_variant_get_double (<em class="parameter"><code><a class="link" href="glib-GVa
|
|
2980
3006
|
of any type
|
2981
3007
|
other than <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>.</p>
|
2982
3008
|
<div class="refsect3">
|
2983
|
-
<a name="
|
3009
|
+
<a name="g-variant-get-double.parameters"></a><h4>Parameters</h4>
|
2984
3010
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2985
3011
|
<colgroup>
|
2986
3012
|
<col width="150px" class="parameters_name">
|
@@ -2995,7 +3021,7 @@ other than <a class="link" href="glib-GVariantType.html#G-VARIANT-TYPE-DOUBLE:CA
|
|
2995
3021
|
</table></div>
|
2996
3022
|
</div>
|
2997
3023
|
<div class="refsect3">
|
2998
|
-
<a name="
|
3024
|
+
<a name="g-variant-get-double.returns"></a><h4>Returns</h4>
|
2999
3025
|
<p> a <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a></p>
|
3000
3026
|
</div>
|
3001
3027
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -3020,7 +3046,7 @@ other than those three.</p>
|
|
3020
3046
|
<p>The return value remains valid as long as <em class="parameter"><code>value</code></em>
|
3021
3047
|
exists.</p>
|
3022
3048
|
<div class="refsect3">
|
3023
|
-
<a name="
|
3049
|
+
<a name="g-variant-get-string.parameters"></a><h4>Parameters</h4>
|
3024
3050
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3025
3051
|
<colgroup>
|
3026
3052
|
<col width="150px" class="parameters_name">
|
@@ -3043,7 +3069,7 @@ to store the length. </p></td>
|
|
3043
3069
|
</table></div>
|
3044
3070
|
</div>
|
3045
3071
|
<div class="refsect3">
|
3046
|
-
<a name="
|
3072
|
+
<a name="g-variant-get-string.returns"></a><h4>Returns</h4>
|
3047
3073
|
<p> the constant string, UTF-8 encoded. </p>
|
3048
3074
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3049
3075
|
</div>
|
@@ -3060,7 +3086,7 @@ a constant string, the string is duplicated.</p>
|
|
3060
3086
|
<p>The string will always be UTF-8 encoded.</p>
|
3061
3087
|
<p>The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</p>
|
3062
3088
|
<div class="refsect3">
|
3063
|
-
<a name="
|
3089
|
+
<a name="g-variant-dup-string.parameters"></a><h4>Parameters</h4>
|
3064
3090
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3065
3091
|
<colgroup>
|
3066
3092
|
<col width="150px" class="parameters_name">
|
@@ -3082,7 +3108,7 @@ a constant string, the string is duplicated.</p>
|
|
3082
3108
|
</table></div>
|
3083
3109
|
</div>
|
3084
3110
|
<div class="refsect3">
|
3085
|
-
<a name="
|
3111
|
+
<a name="g-variant-dup-string.returns"></a><h4>Returns</h4>
|
3086
3112
|
<p> a newly allocated string, UTF-8 encoded. </p>
|
3087
3113
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3088
3114
|
</div>
|
@@ -3098,7 +3124,7 @@ g_variant_get_variant (<em class="parameter"><code><a class="link" href="glib-GV
|
|
3098
3124
|
contained in <em class="parameter"><code>value</code></em>
|
3099
3125
|
.</p>
|
3100
3126
|
<div class="refsect3">
|
3101
|
-
<a name="
|
3127
|
+
<a name="g-variant-get-variant.parameters"></a><h4>Parameters</h4>
|
3102
3128
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3103
3129
|
<colgroup>
|
3104
3130
|
<col width="150px" class="parameters_name">
|
@@ -3113,7 +3139,7 @@ contained in <em class="parameter"><code>value</code></em>
|
|
3113
3139
|
</table></div>
|
3114
3140
|
</div>
|
3115
3141
|
<div class="refsect3">
|
3116
|
-
<a name="
|
3142
|
+
<a name="g-variant-get-variant.returns"></a><h4>Returns</h4>
|
3117
3143
|
<p> the item contained in the variant. </p>
|
3118
3144
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3119
3145
|
</div>
|
@@ -3136,7 +3162,7 @@ is stored there. In any case, the resulting array will be
|
|
3136
3162
|
will be set to 0 and a pointer to a
|
3137
3163
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3138
3164
|
<div class="refsect3">
|
3139
|
-
<a name="
|
3165
|
+
<a name="g-variant-get-strv.parameters"></a><h4>Parameters</h4>
|
3140
3166
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3141
3167
|
<colgroup>
|
3142
3168
|
<col width="150px" class="parameters_name">
|
@@ -3158,7 +3184,7 @@ is stored there. In any case, the resulting array will be
|
|
3158
3184
|
</table></div>
|
3159
3185
|
</div>
|
3160
3186
|
<div class="refsect3">
|
3161
|
-
<a name="
|
3187
|
+
<a name="g-variant-get-strv.returns"></a><h4>Returns</h4>
|
3162
3188
|
<p> an array of constant strings. </p>
|
3163
3189
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
3164
3190
|
</div>
|
@@ -3181,7 +3207,7 @@ is stored there. In any case, the resulting array will be
|
|
3181
3207
|
will be set to 0 and a pointer to a
|
3182
3208
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3183
3209
|
<div class="refsect3">
|
3184
|
-
<a name="
|
3210
|
+
<a name="g-variant-dup-strv.parameters"></a><h4>Parameters</h4>
|
3185
3211
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3186
3212
|
<colgroup>
|
3187
3213
|
<col width="150px" class="parameters_name">
|
@@ -3203,7 +3229,7 @@ is stored there. In any case, the resulting array will be
|
|
3203
3229
|
</table></div>
|
3204
3230
|
</div>
|
3205
3231
|
<div class="refsect3">
|
3206
|
-
<a name="
|
3232
|
+
<a name="g-variant-dup-strv.returns"></a><h4>Returns</h4>
|
3207
3233
|
<p> an array of strings. </p>
|
3208
3234
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3209
3235
|
</div>
|
@@ -3226,7 +3252,7 @@ is stored there. In any case, the resulting array will be
|
|
3226
3252
|
will be set to 0 and a pointer to a
|
3227
3253
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3228
3254
|
<div class="refsect3">
|
3229
|
-
<a name="
|
3255
|
+
<a name="g-variant-get-objv.parameters"></a><h4>Parameters</h4>
|
3230
3256
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3231
3257
|
<colgroup>
|
3232
3258
|
<col width="150px" class="parameters_name">
|
@@ -3248,7 +3274,7 @@ is stored there. In any case, the resulting array will be
|
|
3248
3274
|
</table></div>
|
3249
3275
|
</div>
|
3250
3276
|
<div class="refsect3">
|
3251
|
-
<a name="
|
3277
|
+
<a name="g-variant-get-objv.returns"></a><h4>Returns</h4>
|
3252
3278
|
<p> an array of constant strings. </p>
|
3253
3279
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
3254
3280
|
</div>
|
@@ -3271,7 +3297,7 @@ is stored there. In any case, the resulting array will be
|
|
3271
3297
|
will be set to 0 and a pointer to a
|
3272
3298
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3273
3299
|
<div class="refsect3">
|
3274
|
-
<a name="
|
3300
|
+
<a name="g-variant-dup-objv.parameters"></a><h4>Parameters</h4>
|
3275
3301
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3276
3302
|
<colgroup>
|
3277
3303
|
<col width="150px" class="parameters_name">
|
@@ -3293,7 +3319,7 @@ is stored there. In any case, the resulting array will be
|
|
3293
3319
|
</table></div>
|
3294
3320
|
</div>
|
3295
3321
|
<div class="refsect3">
|
3296
|
-
<a name="
|
3322
|
+
<a name="g-variant-dup-objv.returns"></a><h4>Returns</h4>
|
3297
3323
|
<p> an array of strings. </p>
|
3298
3324
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length zero-terminated=1][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3299
3325
|
</div>
|
@@ -3318,7 +3344,7 @@ array of bytes.</p>
|
|
3318
3344
|
<p>The return value remains valid as long as <em class="parameter"><code>value</code></em>
|
3319
3345
|
exists.</p>
|
3320
3346
|
<div class="refsect3">
|
3321
|
-
<a name="
|
3347
|
+
<a name="g-variant-get-bytestring.parameters"></a><h4>Parameters</h4>
|
3322
3348
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3323
3349
|
<colgroup>
|
3324
3350
|
<col width="150px" class="parameters_name">
|
@@ -3333,7 +3359,7 @@ array of bytes.</p>
|
|
3333
3359
|
</table></div>
|
3334
3360
|
</div>
|
3335
3361
|
<div class="refsect3">
|
3336
|
-
<a name="
|
3362
|
+
<a name="g-variant-get-bytestring.returns"></a><h4>Returns</h4>
|
3337
3363
|
<p> the constant string. </p>
|
3338
3364
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></p>
|
3339
3365
|
</div>
|
@@ -3349,7 +3375,7 @@ g_variant_dup_bytestring (<em class="parameter"><code><a class="link" href="glib
|
|
3349
3375
|
returning a constant string, the string is duplicated.</p>
|
3350
3376
|
<p>The return value must be freed using <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>.</p>
|
3351
3377
|
<div class="refsect3">
|
3352
|
-
<a name="
|
3378
|
+
<a name="g-variant-dup-bytestring.parameters"></a><h4>Parameters</h4>
|
3353
3379
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3354
3380
|
<colgroup>
|
3355
3381
|
<col width="150px" class="parameters_name">
|
@@ -3372,7 +3398,7 @@ the length (not including the nul terminator). </p></td>
|
|
3372
3398
|
</table></div>
|
3373
3399
|
</div>
|
3374
3400
|
<div class="refsect3">
|
3375
|
-
<a name="
|
3401
|
+
<a name="g-variant-dup-bytestring.returns"></a><h4>Returns</h4>
|
3376
3402
|
<p> a newly allocated string. </p>
|
3377
3403
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1 length=length][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> guint8]</span></p>
|
3378
3404
|
</div>
|
@@ -3395,7 +3421,7 @@ stored there. In any case, the resulting array will be
|
|
3395
3421
|
will be set to 0 and a pointer to a
|
3396
3422
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3397
3423
|
<div class="refsect3">
|
3398
|
-
<a name="
|
3424
|
+
<a name="g-variant-get-bytestring-array.parameters"></a><h4>Parameters</h4>
|
3399
3425
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3400
3426
|
<colgroup>
|
3401
3427
|
<col width="150px" class="parameters_name">
|
@@ -3417,7 +3443,7 @@ stored there. In any case, the resulting array will be
|
|
3417
3443
|
</table></div>
|
3418
3444
|
</div>
|
3419
3445
|
<div class="refsect3">
|
3420
|
-
<a name="
|
3446
|
+
<a name="g-variant-get-bytestring-array.returns"></a><h4>Returns</h4>
|
3421
3447
|
<p> an array of constant strings. </p>
|
3422
3448
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
3423
3449
|
</div>
|
@@ -3440,7 +3466,7 @@ stored there. In any case, the resulting array will be
|
|
3440
3466
|
will be set to 0 and a pointer to a
|
3441
3467
|
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> pointer will be returned.</p>
|
3442
3468
|
<div class="refsect3">
|
3443
|
-
<a name="
|
3469
|
+
<a name="g-variant-dup-bytestring-array.parameters"></a><h4>Parameters</h4>
|
3444
3470
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3445
3471
|
<colgroup>
|
3446
3472
|
<col width="150px" class="parameters_name">
|
@@ -3462,7 +3488,7 @@ stored there. In any case, the resulting array will be
|
|
3462
3488
|
</table></div>
|
3463
3489
|
</div>
|
3464
3490
|
<div class="refsect3">
|
3465
|
-
<a name="
|
3491
|
+
<a name="g-variant-dup-bytestring-array.returns"></a><h4>Returns</h4>
|
3466
3492
|
<p> an array of strings. </p>
|
3467
3493
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3468
3494
|
</div>
|
@@ -3493,7 +3519,7 @@ of <em class="parameter"><code>child</code></em>
|
|
3493
3519
|
instance takes ownership of <em class="parameter"><code>child</code></em>
|
3494
3520
|
.</p>
|
3495
3521
|
<div class="refsect3">
|
3496
|
-
<a name="
|
3522
|
+
<a name="g-variant-new-maybe.parameters"></a><h4>Parameters</h4>
|
3497
3523
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3498
3524
|
<colgroup>
|
3499
3525
|
<col width="150px" class="parameters_name">
|
@@ -3515,7 +3541,7 @@ instance takes ownership of <em class="parameter"><code>child</code></em>
|
|
3515
3541
|
</table></div>
|
3516
3542
|
</div>
|
3517
3543
|
<div class="refsect3">
|
3518
|
-
<a name="
|
3544
|
+
<a name="g-variant-new-maybe.returns"></a><h4>Returns</h4>
|
3519
3545
|
<p> a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> maybe instance. </p>
|
3520
3546
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3521
3547
|
</div>
|
@@ -3549,7 +3575,7 @@ same as <em class="parameter"><code>child_type</code></em>
|
|
3549
3575
|
are floating references (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the
|
3550
3576
|
new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.</p>
|
3551
3577
|
<div class="refsect3">
|
3552
|
-
<a name="
|
3578
|
+
<a name="g-variant-new-array.parameters"></a><h4>Parameters</h4>
|
3553
3579
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3554
3580
|
<colgroup>
|
3555
3581
|
<col width="150px" class="parameters_name">
|
@@ -3578,7 +3604,7 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
3578
3604
|
</table></div>
|
3579
3605
|
</div>
|
3580
3606
|
<div class="refsect3">
|
3581
|
-
<a name="
|
3607
|
+
<a name="g-variant-new-array.returns"></a><h4>Returns</h4>
|
3582
3608
|
<p> a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> array. </p>
|
3583
3609
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3584
3610
|
</div>
|
@@ -3602,7 +3628,7 @@ type is determined from the types of <em class="parameter"><code>children</code>
|
|
3602
3628
|
are floating references (see <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>), the
|
3603
3629
|
new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.</p>
|
3604
3630
|
<div class="refsect3">
|
3605
|
-
<a name="
|
3631
|
+
<a name="g-variant-new-tuple.parameters"></a><h4>Parameters</h4>
|
3606
3632
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3607
3633
|
<colgroup>
|
3608
3634
|
<col width="150px" class="parameters_name">
|
@@ -3625,7 +3651,7 @@ new instance takes ownership of them as if via <a class="link" href="glib-GVaria
|
|
3625
3651
|
</table></div>
|
3626
3652
|
</div>
|
3627
3653
|
<div class="refsect3">
|
3628
|
-
<a name="
|
3654
|
+
<a name="g-variant-new-tuple.returns"></a><h4>Returns</h4>
|
3629
3655
|
<p> a floating reference to a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> tuple. </p>
|
3630
3656
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3631
3657
|
</div>
|
@@ -3648,7 +3674,7 @@ non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><cod
|
|
3648
3674
|
the new instance takes ownership of them as if via <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a>.</p>
|
3649
3675
|
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
3650
3676
|
<div class="refsect3">
|
3651
|
-
<a name="
|
3677
|
+
<a name="g-variant-new-dict-entry.parameters"></a><h4>Parameters</h4>
|
3652
3678
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3653
3679
|
<colgroup>
|
3654
3680
|
<col width="150px" class="parameters_name">
|
@@ -3670,7 +3696,7 @@ the new instance takes ownership of them as if via <a class="link" href="glib-GV
|
|
3670
3696
|
</table></div>
|
3671
3697
|
</div>
|
3672
3698
|
<div class="refsect3">
|
3673
|
-
<a name="
|
3699
|
+
<a name="g-variant-new-dict-entry.returns"></a><h4>Returns</h4>
|
3674
3700
|
<p> a floating reference to a new dictionary entry <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. </p>
|
3675
3701
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3676
3702
|
</div>
|
@@ -3699,7 +3725,7 @@ expectation.</p>
|
|
3699
3725
|
, which must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is set equal to the number of
|
3700
3726
|
items in the array.</p>
|
3701
3727
|
<div class="refsect3">
|
3702
|
-
<a name="
|
3728
|
+
<a name="g-variant-new-fixed-array.parameters"></a><h4>Parameters</h4>
|
3703
3729
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3704
3730
|
<colgroup>
|
3705
3731
|
<col width="150px" class="parameters_name">
|
@@ -3731,7 +3757,7 @@ items in the array.</p>
|
|
3731
3757
|
</table></div>
|
3732
3758
|
</div>
|
3733
3759
|
<div class="refsect3">
|
3734
|
-
<a name="
|
3760
|
+
<a name="g-variant-new-fixed-array.returns"></a><h4>Returns</h4>
|
3735
3761
|
<p> a floating reference to a new array <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance. </p>
|
3736
3762
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3737
3763
|
</div>
|
@@ -3745,7 +3771,7 @@ g_variant_get_maybe (<em class="parameter"><code><a class="link" href="glib-GVar
|
|
3745
3771
|
<p>Given a maybe-typed <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance, extract its value. If the
|
3746
3772
|
value is Nothing, then this function returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</p>
|
3747
3773
|
<div class="refsect3">
|
3748
|
-
<a name="
|
3774
|
+
<a name="g-variant-get-maybe.parameters"></a><h4>Parameters</h4>
|
3749
3775
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3750
3776
|
<colgroup>
|
3751
3777
|
<col width="150px" class="parameters_name">
|
@@ -3760,7 +3786,7 @@ value is Nothing, then this function returns <a class="link" href="glib-Standard
|
|
3760
3786
|
</table></div>
|
3761
3787
|
</div>
|
3762
3788
|
<div class="refsect3">
|
3763
|
-
<a name="
|
3789
|
+
<a name="g-variant-get-maybe.returns"></a><h4>Returns</h4>
|
3764
3790
|
<p> the contents of <em class="parameter"><code>value</code></em>
|
3765
3791
|
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
3766
3792
|
<p><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -3782,7 +3808,7 @@ array. For tuples it is the number of tuple items (which depends
|
|
3782
3808
|
only on the type). For dictionary entries, it is always 2</p>
|
3783
3809
|
<p>This function is O(1).</p>
|
3784
3810
|
<div class="refsect3">
|
3785
|
-
<a name="
|
3811
|
+
<a name="g-variant-n-children.parameters"></a><h4>Parameters</h4>
|
3786
3812
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3787
3813
|
<colgroup>
|
3788
3814
|
<col width="150px" class="parameters_name">
|
@@ -3797,7 +3823,7 @@ only on the type). For dictionary entries, it is always 2</p>
|
|
3797
3823
|
</table></div>
|
3798
3824
|
</div>
|
3799
3825
|
<div class="refsect3">
|
3800
|
-
<a name="
|
3826
|
+
<a name="g-variant-n-children.returns"></a><h4>Returns</h4>
|
3801
3827
|
<p> the number of children in the container</p>
|
3802
3828
|
</div>
|
3803
3829
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -3819,7 +3845,7 @@ in the container. See <a class="link" href="glib-GVariant.html#g-variant-n-chil
|
|
3819
3845
|
<a class="link" href="glib-GVariant.html#g-variant-unref" title="g_variant_unref ()"><code class="function">g_variant_unref()</code></a> when you're done with it.</p>
|
3820
3846
|
<p>This function is O(1).</p>
|
3821
3847
|
<div class="refsect3">
|
3822
|
-
<a name="
|
3848
|
+
<a name="g-variant-get-child-value.parameters"></a><h4>Parameters</h4>
|
3823
3849
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3824
3850
|
<colgroup>
|
3825
3851
|
<col width="150px" class="parameters_name">
|
@@ -3841,7 +3867,7 @@ in the container. See <a class="link" href="glib-GVariant.html#g-variant-n-chil
|
|
3841
3867
|
</table></div>
|
3842
3868
|
</div>
|
3843
3869
|
<div class="refsect3">
|
3844
|
-
<a name="
|
3870
|
+
<a name="g-variant-get-child-value.returns"></a><h4>Returns</h4>
|
3845
3871
|
<p> the child at the specified index. </p>
|
3846
3872
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3847
3873
|
</div>
|
@@ -3864,10 +3890,10 @@ essentially a combination of <a class="link" href="glib-GVariant.html#g-variant-
|
|
3864
3890
|
determines the C types that are used for unpacking
|
3865
3891
|
the values and also determines if the values are copied or borrowed,
|
3866
3892
|
see the section on
|
3867
|
-
|
3893
|
+
GVariant format strings.</p>
|
3868
3894
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3869
3895
|
<div class="refsect3">
|
3870
|
-
<a name="
|
3896
|
+
<a name="g-variant-get-child.parameters"></a><h4>Parameters</h4>
|
3871
3897
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3872
3898
|
<colgroup>
|
3873
3899
|
<col width="150px" class="parameters_name">
|
@@ -3932,7 +3958,7 @@ value will have this type.</p>
|
|
3932
3958
|
<p>This function is currently implemented with a linear scan. If you
|
3933
3959
|
plan to do many lookups then <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a> may be more efficient.</p>
|
3934
3960
|
<div class="refsect3">
|
3935
|
-
<a name="
|
3961
|
+
<a name="g-variant-lookup-value.parameters"></a><h4>Parameters</h4>
|
3936
3962
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3937
3963
|
<colgroup>
|
3938
3964
|
<col width="150px" class="parameters_name">
|
@@ -3959,7 +3985,7 @@ plan to do many lookups then <a class="link" href="glib-GVariant.html#GVariantDi
|
|
3959
3985
|
</table></div>
|
3960
3986
|
</div>
|
3961
3987
|
<div class="refsect3">
|
3962
|
-
<a name="
|
3988
|
+
<a name="g-variant-lookup-value.returns"></a><h4>Returns</h4>
|
3963
3989
|
<p> the value of the dictionary key, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
3964
3990
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3965
3991
|
</div>
|
@@ -3982,12 +4008,12 @@ value and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" tit
|
|
3982
4008
|
determines the C types that are used for unpacking
|
3983
4009
|
the values and also determines if the values are copied or borrowed,
|
3984
4010
|
see the section on
|
3985
|
-
|
4011
|
+
GVariant format strings.</p>
|
3986
4012
|
<p>This function is currently implemented with a linear scan. If you
|
3987
4013
|
plan to do many lookups then <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a> may be more efficient.</p>
|
3988
4014
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3989
4015
|
<div class="refsect3">
|
3990
|
-
<a name="
|
4016
|
+
<a name="g-variant-lookup.parameters"></a><h4>Parameters</h4>
|
3991
4017
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3992
4018
|
<colgroup>
|
3993
4019
|
<col width="150px" class="parameters_name">
|
@@ -4019,7 +4045,7 @@ plan to do many lookups then <a class="link" href="glib-GVariant.html#GVariantDi
|
|
4019
4045
|
</table></div>
|
4020
4046
|
</div>
|
4021
4047
|
<div class="refsect3">
|
4022
|
-
<a name="
|
4048
|
+
<a name="g-variant-lookup.returns"></a><h4>Returns</h4>
|
4023
4049
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked</p>
|
4024
4050
|
</div>
|
4025
4051
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
@@ -4059,7 +4085,7 @@ expectation.</p>
|
|
4059
4085
|
, which must be non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is set equal to the number of
|
4060
4086
|
items in the array.</p>
|
4061
4087
|
<div class="refsect3">
|
4062
|
-
<a name="
|
4088
|
+
<a name="g-variant-get-fixed-array.parameters"></a><h4>Parameters</h4>
|
4063
4089
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4064
4090
|
<colgroup>
|
4065
4091
|
<col width="150px" class="parameters_name">
|
@@ -4086,7 +4112,7 @@ items in the array.</p>
|
|
4086
4112
|
</table></div>
|
4087
4113
|
</div>
|
4088
4114
|
<div class="refsect3">
|
4089
|
-
<a name="
|
4115
|
+
<a name="g-variant-get-fixed-array.returns"></a><h4>Returns</h4>
|
4090
4116
|
<p> a pointer to
|
4091
4117
|
the fixed array. </p>
|
4092
4118
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_elements][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -4111,7 +4137,7 @@ then this function is O(1). Otherwise, the size is calculated, an
|
|
4111
4137
|
operation which is approximately O(n) in the number of values
|
4112
4138
|
involved.</p>
|
4113
4139
|
<div class="refsect3">
|
4114
|
-
<a name="
|
4140
|
+
<a name="g-variant-get-size.parameters"></a><h4>Parameters</h4>
|
4115
4141
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4116
4142
|
<colgroup>
|
4117
4143
|
<col width="150px" class="parameters_name">
|
@@ -4126,7 +4152,7 @@ involved.</p>
|
|
4126
4152
|
</table></div>
|
4127
4153
|
</div>
|
4128
4154
|
<div class="refsect3">
|
4129
|
-
<a name="
|
4155
|
+
<a name="g-variant-get-size.returns"></a><h4>Returns</h4>
|
4130
4156
|
<p> the serialised size of <em class="parameter"><code>value</code></em>
|
4131
4157
|
</p>
|
4132
4158
|
</div>
|
@@ -4165,7 +4191,7 @@ implicitly (for instance "the file always contains a
|
|
4165
4191
|
explicitly (by storing the type and/or endianness in addition to the
|
4166
4192
|
serialised data).</p>
|
4167
4193
|
<div class="refsect3">
|
4168
|
-
<a name="
|
4194
|
+
<a name="g-variant-get-data.parameters"></a><h4>Parameters</h4>
|
4169
4195
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4170
4196
|
<colgroup>
|
4171
4197
|
<col width="150px" class="parameters_name">
|
@@ -4180,7 +4206,7 @@ serialised data).</p>
|
|
4180
4206
|
</table></div>
|
4181
4207
|
</div>
|
4182
4208
|
<div class="refsect3">
|
4183
|
-
<a name="
|
4209
|
+
<a name="g-variant-get-data.returns"></a><h4>Returns</h4>
|
4184
4210
|
<p> the serialised form of <em class="parameter"><code>value</code></em>
|
4185
4211
|
, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
4186
4212
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -4197,7 +4223,7 @@ The semantics of this function are exactly the same as
|
|
4197
4223
|
<a class="link" href="glib-GVariant.html#g-variant-get-data" title="g_variant_get_data ()"><code class="function">g_variant_get_data()</code></a>, except that the returned <a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> holds
|
4198
4224
|
a reference to the variant data.</p>
|
4199
4225
|
<div class="refsect3">
|
4200
|
-
<a name="
|
4226
|
+
<a name="g-variant-get-data-as-bytes.parameters"></a><h4>Parameters</h4>
|
4201
4227
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4202
4228
|
<colgroup>
|
4203
4229
|
<col width="150px" class="parameters_name">
|
@@ -4212,7 +4238,7 @@ a reference to the variant data.</p>
|
|
4212
4238
|
</table></div>
|
4213
4239
|
</div>
|
4214
4240
|
<div class="refsect3">
|
4215
|
-
<a name="
|
4241
|
+
<a name="g-variant-get-data-as-bytes.returns"></a><h4>Returns</h4>
|
4216
4242
|
<p> A new <a class="link" href="glib-Byte-Arrays.html#GBytes" title="GBytes"><span class="type">GBytes</span></a> representing the variant data. </p>
|
4217
4243
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4218
4244
|
</div>
|
@@ -4238,7 +4264,7 @@ machine might be different) its endianness must also be available.</p>
|
|
4238
4264
|
<p>This function is approximately O(n) in the size of <em class="parameter"><code>data</code></em>
|
4239
4265
|
.</p>
|
4240
4266
|
<div class="refsect3">
|
4241
|
-
<a name="
|
4267
|
+
<a name="g-variant-store.parameters"></a><h4>Parameters</h4>
|
4242
4268
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4243
4269
|
<colgroup>
|
4244
4270
|
<col width="150px" class="parameters_name">
|
@@ -4254,7 +4280,7 @@ machine might be different) its endianness must also be available.</p>
|
|
4254
4280
|
<tr>
|
4255
4281
|
<td class="parameter_name"><p>data</p></td>
|
4256
4282
|
<td class="parameter_description"><p> the location to store the serialised data at. </p></td>
|
4257
|
-
<td class="parameter_annotations"><span class="annotation">[not nullable]</span></td>
|
4283
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL must not be passed as the value in, out, in-out; or as a return value."><span class="acronym">not nullable</span></acronym>]</span></td>
|
4258
4284
|
</tr>
|
4259
4285
|
</tbody>
|
4260
4286
|
</table></div>
|
@@ -4304,7 +4330,7 @@ endianness. <a class="link" href="glib-GVariant.html#g-variant-byteswap" title="
|
|
4304
4330
|
needed. The exact time of this call is unspecified and might even be
|
4305
4331
|
before this function returns.</p>
|
4306
4332
|
<div class="refsect3">
|
4307
|
-
<a name="
|
4333
|
+
<a name="g-variant-new-from-data.parameters"></a><h4>Parameters</h4>
|
4308
4334
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4309
4335
|
<colgroup>
|
4310
4336
|
<col width="150px" class="parameters_name">
|
@@ -4350,7 +4376,7 @@ is no longer needed. </p></td>
|
|
4350
4376
|
</table></div>
|
4351
4377
|
</div>
|
4352
4378
|
<div class="refsect3">
|
4353
|
-
<a name="
|
4379
|
+
<a name="g-variant-new-from-data.returns"></a><h4>Returns</h4>
|
4354
4380
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> of type <em class="parameter"><code>type</code></em>
|
4355
4381
|
. </p>
|
4356
4382
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -4370,7 +4396,7 @@ called from various functions in gvariant.c.</p>
|
|
4370
4396
|
<p>A reference is taken on <em class="parameter"><code>bytes</code></em>
|
4371
4397
|
.</p>
|
4372
4398
|
<div class="refsect3">
|
4373
|
-
<a name="
|
4399
|
+
<a name="g-variant-new-from-bytes.parameters"></a><h4>Parameters</h4>
|
4374
4400
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4375
4401
|
<colgroup>
|
4376
4402
|
<col width="150px" class="parameters_name">
|
@@ -4398,7 +4424,7 @@ are trusted</p></td>
|
|
4398
4424
|
</table></div>
|
4399
4425
|
</div>
|
4400
4426
|
<div class="refsect3">
|
4401
|
-
<a name="
|
4427
|
+
<a name="g-variant-new-from-bytes.returns"></a><h4>Returns</h4>
|
4402
4428
|
<p> a new <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> with a floating reference. </p>
|
4403
4429
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
4404
4430
|
</div>
|
@@ -4421,7 +4447,7 @@ contain multi-byte numeric data. That include strings, booleans,
|
|
4421
4447
|
bytes and containers containing only these things (recursively).</p>
|
4422
4448
|
<p>The returned value is always in normal form and is marked as trusted.</p>
|
4423
4449
|
<div class="refsect3">
|
4424
|
-
<a name="
|
4450
|
+
<a name="g-variant-byteswap.parameters"></a><h4>Parameters</h4>
|
4425
4451
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4426
4452
|
<colgroup>
|
4427
4453
|
<col width="150px" class="parameters_name">
|
@@ -4436,7 +4462,7 @@ bytes and containers containing only these things (recursively).</p>
|
|
4436
4462
|
</table></div>
|
4437
4463
|
</div>
|
4438
4464
|
<div class="refsect3">
|
4439
|
-
<a name="
|
4465
|
+
<a name="g-variant-byteswap.returns"></a><h4>Returns</h4>
|
4440
4466
|
<p> the byteswapped form of <em class="parameter"><code>value</code></em>
|
4441
4467
|
. </p>
|
4442
4468
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -4467,7 +4493,7 @@ marked as trusted and a new reference to it is returned.</p>
|
|
4467
4493
|
data from untrusted sources and you want to ensure your serialised
|
4468
4494
|
output is definitely in normal form.</p>
|
4469
4495
|
<div class="refsect3">
|
4470
|
-
<a name="
|
4496
|
+
<a name="g-variant-get-normal-form.parameters"></a><h4>Parameters</h4>
|
4471
4497
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4472
4498
|
<colgroup>
|
4473
4499
|
<col width="150px" class="parameters_name">
|
@@ -4482,7 +4508,7 @@ output is definitely in normal form.</p>
|
|
4482
4508
|
</table></div>
|
4483
4509
|
</div>
|
4484
4510
|
<div class="refsect3">
|
4485
|
-
<a name="
|
4511
|
+
<a name="g-variant-get-normal-form.returns"></a><h4>Returns</h4>
|
4486
4512
|
<p> a trusted <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. </p>
|
4487
4513
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4488
4514
|
</div>
|
@@ -4504,7 +4530,7 @@ check.</p>
|
|
4504
4530
|
being trusted. If the value was already marked as being trusted then
|
4505
4531
|
this function will immediately return <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>.</p>
|
4506
4532
|
<div class="refsect3">
|
4507
|
-
<a name="
|
4533
|
+
<a name="g-variant-is-normal-form.parameters"></a><h4>Parameters</h4>
|
4508
4534
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4509
4535
|
<colgroup>
|
4510
4536
|
<col width="150px" class="parameters_name">
|
@@ -4519,7 +4545,7 @@ this function will immediately return <a class="link" href="glib-Standard-Macros
|
|
4519
4545
|
</table></div>
|
4520
4546
|
</div>
|
4521
4547
|
<div class="refsect3">
|
4522
|
-
<a name="
|
4548
|
+
<a name="g-variant-is-normal-form.returns"></a><h4>Returns</h4>
|
4523
4549
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em>
|
4524
4550
|
is in normal form</p>
|
4525
4551
|
</div>
|
@@ -4540,7 +4566,7 @@ function as a basis for building protocols or file formats.</p>
|
|
4540
4566
|
function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. <em class="parameter"><code>value</code></em>
|
4541
4567
|
must be a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.</p>
|
4542
4568
|
<div class="refsect3">
|
4543
|
-
<a name="
|
4569
|
+
<a name="g-variant-hash.parameters"></a><h4>Parameters</h4>
|
4544
4570
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4545
4571
|
<colgroup>
|
4546
4572
|
<col width="150px" class="parameters_name">
|
@@ -4555,7 +4581,7 @@ function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHa
|
|
4555
4581
|
</table></div>
|
4556
4582
|
</div>
|
4557
4583
|
<div class="refsect3">
|
4558
|
-
<a name="
|
4584
|
+
<a name="g-variant-hash.returns"></a><h4>Returns</h4>
|
4559
4585
|
<p> a hash value corresponding to <em class="parameter"><code>value</code></em>
|
4560
4586
|
</p>
|
4561
4587
|
</div>
|
@@ -4575,7 +4601,7 @@ g_variant_equal (<em class="parameter"><code><a class="link" href="glib-Basic-Ty
|
|
4575
4601
|
are <a class="link" href="glib-Basic-Types.html#gconstpointer" title="gconstpointer"><span class="type">gconstpointer</span></a> only to allow use of
|
4576
4602
|
this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title="GHashTable"><span class="type">GHashTable</span></a>. They must each be a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.</p>
|
4577
4603
|
<div class="refsect3">
|
4578
|
-
<a name="
|
4604
|
+
<a name="g-variant-equal.parameters"></a><h4>Parameters</h4>
|
4579
4605
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4580
4606
|
<colgroup>
|
4581
4607
|
<col width="150px" class="parameters_name">
|
@@ -4597,7 +4623,7 @@ this function with <a class="link" href="glib-Hash-Tables.html#GHashTable" title
|
|
4597
4623
|
</table></div>
|
4598
4624
|
</div>
|
4599
4625
|
<div class="refsect3">
|
4600
|
-
<a name="
|
4626
|
+
<a name="g-variant-equal.returns"></a><h4>Returns</h4>
|
4601
4627
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>one</code></em>
|
4602
4628
|
and <em class="parameter"><code>two</code></em>
|
4603
4629
|
are equal</p>
|
@@ -4612,12 +4638,12 @@ g_variant_print (<em class="parameter"><code><a class="link" href="glib-GVariant
|
|
4612
4638
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="type">gboolean</span></a> type_annotate</code></em>);</pre>
|
4613
4639
|
<p>Pretty-prints <em class="parameter"><code>value</code></em>
|
4614
4640
|
in the format understood by <a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()"><code class="function">g_variant_parse()</code></a>.</p>
|
4615
|
-
<p>The format is described
|
4641
|
+
<p>The format is described here.</p>
|
4616
4642
|
<p>If <em class="parameter"><code>type_annotate</code></em>
|
4617
4643
|
is <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a>, then type information is included in
|
4618
4644
|
the output.</p>
|
4619
4645
|
<div class="refsect3">
|
4620
|
-
<a name="
|
4646
|
+
<a name="g-variant-print.parameters"></a><h4>Parameters</h4>
|
4621
4647
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4622
4648
|
<colgroup>
|
4623
4649
|
<col width="150px" class="parameters_name">
|
@@ -4640,7 +4666,7 @@ the output</p></td>
|
|
4640
4666
|
</table></div>
|
4641
4667
|
</div>
|
4642
4668
|
<div class="refsect3">
|
4643
|
-
<a name="
|
4669
|
+
<a name="g-variant-print.returns"></a><h4>Returns</h4>
|
4644
4670
|
<p> a newly-allocated string holding the result. </p>
|
4645
4671
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4646
4672
|
</div>
|
@@ -4659,7 +4685,7 @@ g_variant_print_string (<em class="parameter"><code><a class="link" href="glib-G
|
|
4659
4685
|
a new empty <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> is allocated and it is returned.</p>
|
4660
4686
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
4661
4687
|
<div class="refsect3">
|
4662
|
-
<a name="
|
4688
|
+
<a name="g-variant-print-string.parameters"></a><h4>Parameters</h4>
|
4663
4689
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4664
4690
|
<colgroup>
|
4665
4691
|
<col width="150px" class="parameters_name">
|
@@ -4687,7 +4713,7 @@ the output</p></td>
|
|
4687
4713
|
</table></div>
|
4688
4714
|
</div>
|
4689
4715
|
<div class="refsect3">
|
4690
|
-
<a name="
|
4716
|
+
<a name="g-variant-print-string.returns"></a><h4>Returns</h4>
|
4691
4717
|
<p> a <a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> containing the string</p>
|
4692
4718
|
</div>
|
4693
4719
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -4708,7 +4734,7 @@ need it.</p>
|
|
4708
4734
|
is iterating over
|
4709
4735
|
and will be releated only when <a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a> is called.</p>
|
4710
4736
|
<div class="refsect3">
|
4711
|
-
<a name="
|
4737
|
+
<a name="g-variant-iter-copy.parameters"></a><h4>Parameters</h4>
|
4712
4738
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4713
4739
|
<colgroup>
|
4714
4740
|
<col width="150px" class="parameters_name">
|
@@ -4723,7 +4749,7 @@ and will be releated only when <a class="link" href="glib-GVariant.html#g-varian
|
|
4723
4749
|
</table></div>
|
4724
4750
|
</div>
|
4725
4751
|
<div class="refsect3">
|
4726
|
-
<a name="
|
4752
|
+
<a name="g-variant-iter-copy.returns"></a><h4>Returns</h4>
|
4727
4753
|
<p> a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>. </p>
|
4728
4754
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4729
4755
|
</div>
|
@@ -4738,7 +4764,7 @@ g_variant_iter_free (<em class="parameter"><code><a class="link" href="glib-GVar
|
|
4738
4764
|
iterators that were returned by <a class="link" href="glib-GVariant.html#g-variant-iter-new" title="g_variant_iter_new ()"><code class="function">g_variant_iter_new()</code></a> or
|
4739
4765
|
<a class="link" href="glib-GVariant.html#g-variant-iter-copy" title="g_variant_iter_copy ()"><code class="function">g_variant_iter_copy()</code></a>.</p>
|
4740
4766
|
<div class="refsect3">
|
4741
|
-
<a name="
|
4767
|
+
<a name="g-variant-iter-free.parameters"></a><h4>Parameters</h4>
|
4742
4768
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4743
4769
|
<colgroup>
|
4744
4770
|
<col width="150px" class="parameters_name">
|
@@ -4769,7 +4795,7 @@ ignored.</p>
|
|
4769
4795
|
be freed in any way.</p>
|
4770
4796
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
4771
4797
|
<div class="refsect3">
|
4772
|
-
<a name="
|
4798
|
+
<a name="g-variant-iter-init.parameters"></a><h4>Parameters</h4>
|
4773
4799
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4774
4800
|
<colgroup>
|
4775
4801
|
<col width="150px" class="parameters_name">
|
@@ -4791,7 +4817,7 @@ be freed in any way.</p>
|
|
4791
4817
|
</table></div>
|
4792
4818
|
</div>
|
4793
4819
|
<div class="refsect3">
|
4794
|
-
<a name="
|
4820
|
+
<a name="g-variant-iter-init.returns"></a><h4>Returns</h4>
|
4795
4821
|
<p> the number of items in <em class="parameter"><code>value</code></em>
|
4796
4822
|
</p>
|
4797
4823
|
</div>
|
@@ -4807,7 +4833,7 @@ iterating over. This is the total number of items -- not the number
|
|
4807
4833
|
of items remaining.</p>
|
4808
4834
|
<p>This function might be useful for preallocation of arrays.</p>
|
4809
4835
|
<div class="refsect3">
|
4810
|
-
<a name="
|
4836
|
+
<a name="g-variant-iter-n-children.parameters"></a><h4>Parameters</h4>
|
4811
4837
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4812
4838
|
<colgroup>
|
4813
4839
|
<col width="150px" class="parameters_name">
|
@@ -4822,7 +4848,7 @@ of items remaining.</p>
|
|
4822
4848
|
</table></div>
|
4823
4849
|
</div>
|
4824
4850
|
<div class="refsect3">
|
4825
|
-
<a name="
|
4851
|
+
<a name="g-variant-iter-n-children.returns"></a><h4>Returns</h4>
|
4826
4852
|
<p> the number of children in the container</p>
|
4827
4853
|
</div>
|
4828
4854
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -4841,7 +4867,7 @@ need it.</p>
|
|
4841
4867
|
and will be released only when
|
4842
4868
|
<a class="link" href="glib-GVariant.html#g-variant-iter-free" title="g_variant_iter_free ()"><code class="function">g_variant_iter_free()</code></a> is called.</p>
|
4843
4869
|
<div class="refsect3">
|
4844
|
-
<a name="
|
4870
|
+
<a name="g-variant-iter-new.parameters"></a><h4>Parameters</h4>
|
4845
4871
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4846
4872
|
<colgroup>
|
4847
4873
|
<col width="150px" class="parameters_name">
|
@@ -4856,7 +4882,7 @@ need it.</p>
|
|
4856
4882
|
</table></div>
|
4857
4883
|
</div>
|
4858
4884
|
<div class="refsect3">
|
4859
|
-
<a name="
|
4885
|
+
<a name="g-variant-iter-new.returns"></a><h4>Returns</h4>
|
4860
4886
|
<p> a new heap-allocated <a class="link" href="glib-GVariant.html#GVariantIter" title="struct GVariantIter"><span class="type">GVariantIter</span></a>. </p>
|
4861
4887
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4862
4888
|
</div>
|
@@ -4919,7 +4945,7 @@ you no longer need it.</p>
|
|
4919
4945
|
|
4920
4946
|
<p></p>
|
4921
4947
|
<div class="refsect3">
|
4922
|
-
<a name="
|
4948
|
+
<a name="g-variant-iter-next-value.parameters"></a><h4>Parameters</h4>
|
4923
4949
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4924
4950
|
<colgroup>
|
4925
4951
|
<col width="150px" class="parameters_name">
|
@@ -4934,7 +4960,7 @@ you no longer need it.</p>
|
|
4934
4960
|
</table></div>
|
4935
4961
|
</div>
|
4936
4962
|
<div class="refsect3">
|
4937
|
-
<a name="
|
4963
|
+
<a name="g-variant-iter-next-value.returns"></a><h4>Returns</h4>
|
4938
4964
|
<p> a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
4939
4965
|
<p><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
4940
4966
|
</div>
|
@@ -5010,10 +5036,10 @@ when dealing with loops, see <a class="link" href="glib-GVariant.html#g-variant-
|
|
5010
5036
|
determines the C types that are used for unpacking
|
5011
5037
|
the values and also determines if the values are copied or borrowed.</p>
|
5012
5038
|
<p>See the section on
|
5013
|
-
|
5039
|
+
GVariant format strings.</p>
|
5014
5040
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5015
5041
|
<div class="refsect3">
|
5016
|
-
<a name="
|
5042
|
+
<a name="g-variant-iter-next.parameters"></a><h4>Parameters</h4>
|
5017
5043
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5018
5044
|
<colgroup>
|
5019
5045
|
<col width="150px" class="parameters_name">
|
@@ -5040,7 +5066,7 @@ the values and also determines if the values are copied or borrowed.</p>
|
|
5040
5066
|
</table></div>
|
5041
5067
|
</div>
|
5042
5068
|
<div class="refsect3">
|
5043
|
-
<a name="
|
5069
|
+
<a name="g-variant-iter-next.returns"></a><h4>Returns</h4>
|
5044
5070
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there as no value</p>
|
5045
5071
|
</div>
|
5046
5072
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
@@ -5131,10 +5157,10 @@ thereby avoiding the need to free anything as well).</p>
|
|
5131
5157
|
determines the C types that are used for unpacking
|
5132
5158
|
the values and also determines if the values are copied or borrowed.</p>
|
5133
5159
|
<p>See the section on
|
5134
|
-
|
5160
|
+
GVariant format strings.</p>
|
5135
5161
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5136
5162
|
<div class="refsect3">
|
5137
|
-
<a name="
|
5163
|
+
<a name="g-variant-iter-loop.parameters"></a><h4>Parameters</h4>
|
5138
5164
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5139
5165
|
<colgroup>
|
5140
5166
|
<col width="150px" class="parameters_name">
|
@@ -5161,7 +5187,7 @@ the values and also determines if the values are copied or borrowed.</p>
|
|
5161
5187
|
</table></div>
|
5162
5188
|
</div>
|
5163
5189
|
<div class="refsect3">
|
5164
|
-
<a name="
|
5190
|
+
<a name="g-variant-iter-loop.returns"></a><h4>Returns</h4>
|
5165
5191
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked, or <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> if there was no
|
5166
5192
|
value</p>
|
5167
5193
|
</div>
|
@@ -5179,7 +5205,7 @@ associated with the <a class="link" href="glib-GVariant.html#GVariantBuilder" ti
|
|
5179
5205
|
<p>Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
5180
5206
|
things will happen.</p>
|
5181
5207
|
<div class="refsect3">
|
5182
|
-
<a name="
|
5208
|
+
<a name="g-variant-builder-unref.parameters"></a><h4>Parameters</h4>
|
5183
5209
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5184
5210
|
<colgroup>
|
5185
5211
|
<col width="150px" class="parameters_name">
|
@@ -5205,7 +5231,7 @@ g_variant_builder_ref (<em class="parameter"><code><a class="link" href="glib-GV
|
|
5205
5231
|
<p>Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a> instances or bad
|
5206
5232
|
things will happen.</p>
|
5207
5233
|
<div class="refsect3">
|
5208
|
-
<a name="
|
5234
|
+
<a name="g-variant-builder-ref.parameters"></a><h4>Parameters</h4>
|
5209
5235
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5210
5236
|
<colgroup>
|
5211
5237
|
<col width="150px" class="parameters_name">
|
@@ -5220,7 +5246,7 @@ things will happen.</p>
|
|
5220
5246
|
</table></div>
|
5221
5247
|
</div>
|
5222
5248
|
<div class="refsect3">
|
5223
|
-
<a name="
|
5249
|
+
<a name="g-variant-builder-ref.returns"></a><h4>Returns</h4>
|
5224
5250
|
<p> a new reference to <em class="parameter"><code>builder</code></em>
|
5225
5251
|
. </p>
|
5226
5252
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -5240,7 +5266,7 @@ any other call.</p>
|
|
5240
5266
|
the stack of the calling function and initialise it with
|
5241
5267
|
<a class="link" href="glib-GVariant.html#g-variant-builder-init" title="g_variant_builder_init ()"><code class="function">g_variant_builder_init()</code></a>.</p>
|
5242
5268
|
<div class="refsect3">
|
5243
|
-
<a name="
|
5269
|
+
<a name="g-variant-builder-new.parameters"></a><h4>Parameters</h4>
|
5244
5270
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5245
5271
|
<colgroup>
|
5246
5272
|
<col width="150px" class="parameters_name">
|
@@ -5255,7 +5281,7 @@ the stack of the calling function and initialise it with
|
|
5255
5281
|
</table></div>
|
5256
5282
|
</div>
|
5257
5283
|
<div class="refsect3">
|
5258
|
-
<a name="
|
5284
|
+
<a name="g-variant-builder-new.returns"></a><h4>Returns</h4>
|
5259
5285
|
<p> a <a class="link" href="glib-GVariant.html#GVariantBuilder" title="struct GVariantBuilder"><span class="type">GVariantBuilder</span></a>. </p>
|
5260
5286
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
5261
5287
|
</div>
|
@@ -5295,7 +5321,7 @@ reference counting; you should use <a class="link" href="glib-GVariant.html#g-va
|
|
5295
5321
|
this function.</p>
|
5296
5322
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5297
5323
|
<div class="refsect3">
|
5298
|
-
<a name="
|
5324
|
+
<a name="g-variant-builder-init.parameters"></a><h4>Parameters</h4>
|
5299
5325
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5300
5326
|
<colgroup>
|
5301
5327
|
<col width="150px" class="parameters_name">
|
@@ -5337,7 +5363,7 @@ It is valid to call this function on either an initialised
|
|
5337
5363
|
to call this function on uninitialised memory.</p>
|
5338
5364
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5339
5365
|
<div class="refsect3">
|
5340
|
-
<a name="
|
5366
|
+
<a name="g-variant-builder-clear.parameters"></a><h4>Parameters</h4>
|
5341
5367
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5342
5368
|
<colgroup>
|
5343
5369
|
<col width="150px" class="parameters_name">
|
@@ -5373,7 +5399,7 @@ the <em class="parameter"><code>builder</code></em>
|
|
5373
5399
|
instance takes ownership of <em class="parameter"><code>value</code></em>
|
5374
5400
|
.</p>
|
5375
5401
|
<div class="refsect3">
|
5376
|
-
<a name="
|
5402
|
+
<a name="g-variant-builder-add-value.parameters"></a><h4>Parameters</h4>
|
5377
5403
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5378
5404
|
<colgroup>
|
5379
5405
|
<col width="150px" class="parameters_name">
|
@@ -5409,7 +5435,7 @@ calling <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant
|
|
5409
5435
|
<p>Note that the arguments must be of the correct width for their types
|
5410
5436
|
specified in <em class="parameter"><code>format_string</code></em>
|
5411
5437
|
. This can be achieved by casting them. See
|
5412
|
-
the
|
5438
|
+
the GVariant varargs documentation.</p>
|
5413
5439
|
<p>This function might be used as follows:</p>
|
5414
5440
|
<div class="informalexample">
|
5415
5441
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -5457,7 +5483,7 @@ the <a href="gvariant-format-strings.html#gvariant-varargs">GVariant varargs doc
|
|
5457
5483
|
<p></p>
|
5458
5484
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5459
5485
|
<div class="refsect3">
|
5460
|
-
<a name="
|
5486
|
+
<a name="g-variant-builder-add.parameters"></a><h4>Parameters</h4>
|
5461
5487
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5462
5488
|
<colgroup>
|
5463
5489
|
<col width="150px" class="parameters_name">
|
@@ -5500,7 +5526,7 @@ calling <a class="link" href="glib-GVariant.html#g-variant-new-parsed" title="g_
|
|
5500
5526
|
<p>Note that the arguments must be of the correct width for their types
|
5501
5527
|
specified in <em class="parameter"><code>format_string</code></em>
|
5502
5528
|
. This can be achieved by casting them. See
|
5503
|
-
the
|
5529
|
+
the GVariant varargs documentation.</p>
|
5504
5530
|
<p>This function might be used as follows:</p>
|
5505
5531
|
<div class="informalexample">
|
5506
5532
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -5537,7 +5563,7 @@ the <a href="gvariant-format-strings.html#gvariant-varargs">GVariant varargs doc
|
|
5537
5563
|
|
5538
5564
|
<p></p>
|
5539
5565
|
<div class="refsect3">
|
5540
|
-
<a name="
|
5566
|
+
<a name="g-variant-builder-add-parsed.parameters"></a><h4>Parameters</h4>
|
5541
5567
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5542
5568
|
<colgroup>
|
5543
5569
|
<col width="150px" class="parameters_name">
|
@@ -5585,7 +5611,7 @@ was created with an indefinite array or maybe type and no children
|
|
5585
5611
|
have been added; in this case it is impossible to infer the type of
|
5586
5612
|
the empty array.</p>
|
5587
5613
|
<div class="refsect3">
|
5588
|
-
<a name="
|
5614
|
+
<a name="g-variant-builder-end.parameters"></a><h4>Parameters</h4>
|
5589
5615
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5590
5616
|
<colgroup>
|
5591
5617
|
<col width="150px" class="parameters_name">
|
@@ -5600,7 +5626,7 @@ the empty array.</p>
|
|
5600
5626
|
</table></div>
|
5601
5627
|
</div>
|
5602
5628
|
<div class="refsect3">
|
5603
|
-
<a name="
|
5629
|
+
<a name="g-variant-builder-end.returns"></a><h4>Returns</h4>
|
5604
5630
|
<p> a new, floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. </p>
|
5605
5631
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
5606
5632
|
</div>
|
@@ -5619,7 +5645,7 @@ items to the subcontainer, <a class="link" href="glib-GVariant.html#g-variant-bu
|
|
5619
5645
|
inconsistent value to be constructed (ie: adding too many values or
|
5620
5646
|
a value of an incorrect type).</p>
|
5621
5647
|
<div class="refsect3">
|
5622
|
-
<a name="
|
5648
|
+
<a name="g-variant-builder-open.parameters"></a><h4>Parameters</h4>
|
5623
5649
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5624
5650
|
<colgroup>
|
5625
5651
|
<col width="150px" class="parameters_name">
|
@@ -5654,7 +5680,7 @@ the most recent call to <a class="link" href="glib-GVariant.html#g-variant-build
|
|
5654
5680
|
inconsistent value to be constructed (ie: too few values added to the
|
5655
5681
|
subcontainer).</p>
|
5656
5682
|
<div class="refsect3">
|
5657
|
-
<a name="
|
5683
|
+
<a name="g-variant-builder-close.parameters"></a><h4>Parameters</h4>
|
5658
5684
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5659
5685
|
<colgroup>
|
5660
5686
|
<col width="150px" class="parameters_name">
|
@@ -5682,7 +5708,7 @@ associated with the <a class="link" href="glib-GVariant.html#GVariantDict" title
|
|
5682
5708
|
<p>Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a> instances or bad
|
5683
5709
|
things will happen.</p>
|
5684
5710
|
<div class="refsect3">
|
5685
|
-
<a name="
|
5711
|
+
<a name="g-variant-dict-unref.parameters"></a><h4>Parameters</h4>
|
5686
5712
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5687
5713
|
<colgroup>
|
5688
5714
|
<col width="150px" class="parameters_name">
|
@@ -5708,7 +5734,7 @@ g_variant_dict_ref (<em class="parameter"><code><a class="link" href="glib-GVari
|
|
5708
5734
|
<p>Don't call this on stack-allocated <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a> instances or bad
|
5709
5735
|
things will happen.</p>
|
5710
5736
|
<div class="refsect3">
|
5711
|
-
<a name="
|
5737
|
+
<a name="g-variant-dict-ref.parameters"></a><h4>Parameters</h4>
|
5712
5738
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5713
5739
|
<colgroup>
|
5714
5740
|
<col width="150px" class="parameters_name">
|
@@ -5723,7 +5749,7 @@ things will happen.</p>
|
|
5723
5749
|
</table></div>
|
5724
5750
|
</div>
|
5725
5751
|
<div class="refsect3">
|
5726
|
-
<a name="
|
5752
|
+
<a name="g-variant-dict-ref.returns"></a><h4>Returns</h4>
|
5727
5753
|
<p> a new reference to <em class="parameter"><code>dict</code></em>
|
5728
5754
|
. </p>
|
5729
5755
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -5744,7 +5770,7 @@ the stack of the calling function and initialise it with
|
|
5744
5770
|
<a class="link" href="glib-GVariant.html#g-variant-dict-init" title="g_variant_dict_init ()"><code class="function">g_variant_dict_init()</code></a>. This is particularly useful when you are
|
5745
5771
|
using <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a> to construct a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>.</p>
|
5746
5772
|
<div class="refsect3">
|
5747
|
-
<a name="
|
5773
|
+
<a name="g-variant-dict-new.parameters"></a><h4>Parameters</h4>
|
5748
5774
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5749
5775
|
<colgroup>
|
5750
5776
|
<col width="150px" class="parameters_name">
|
@@ -5760,7 +5786,7 @@ dictionary. </p></td>
|
|
5760
5786
|
</table></div>
|
5761
5787
|
</div>
|
5762
5788
|
<div class="refsect3">
|
5763
|
-
<a name="
|
5789
|
+
<a name="g-variant-dict-new.returns"></a><h4>Returns</h4>
|
5764
5790
|
<p> a <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a>. </p>
|
5765
5791
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
5766
5792
|
</div>
|
@@ -5789,7 +5815,7 @@ reference may try to use reference counting; you should use
|
|
5789
5815
|
<a class="link" href="glib-GVariant.html#g-variant-dict-new" title="g_variant_dict_new ()"><code class="function">g_variant_dict_new()</code></a> instead of this function.</p>
|
5790
5816
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
5791
5817
|
<div class="refsect3">
|
5792
|
-
<a name="
|
5818
|
+
<a name="g-variant-dict-init.parameters"></a><h4>Parameters</h4>
|
5793
5819
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5794
5820
|
<colgroup>
|
5795
5821
|
<col width="150px" class="parameters_name">
|
@@ -5831,7 +5857,7 @@ that).</p>
|
|
5831
5857
|
to <a class="link" href="glib-GVariant.html#g-variant-dict-clear" title="g_variant_dict_clear ()"><code class="function">g_variant_dict_clear()</code></a> but it is not valid to call this function
|
5832
5858
|
on uninitialised memory.</p>
|
5833
5859
|
<div class="refsect3">
|
5834
|
-
<a name="
|
5860
|
+
<a name="g-variant-dict-clear.parameters"></a><h4>Parameters</h4>
|
5835
5861
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5836
5862
|
<colgroup>
|
5837
5863
|
<col width="150px" class="parameters_name">
|
@@ -5857,7 +5883,7 @@ g_variant_dict_contains (<em class="parameter"><code><a class="link" href="glib-
|
|
5857
5883
|
exists in <em class="parameter"><code>dict</code></em>
|
5858
5884
|
.</p>
|
5859
5885
|
<div class="refsect3">
|
5860
|
-
<a name="
|
5886
|
+
<a name="g-variant-dict-contains.parameters"></a><h4>Parameters</h4>
|
5861
5887
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5862
5888
|
<colgroup>
|
5863
5889
|
<col width="150px" class="parameters_name">
|
@@ -5879,7 +5905,7 @@ g_variant_dict_contains (<em class="parameter"><code><a class="link" href="glib-
|
|
5879
5905
|
</table></div>
|
5880
5906
|
</div>
|
5881
5907
|
<div class="refsect3">
|
5882
|
-
<a name="
|
5908
|
+
<a name="g-variant-dict-contains.returns"></a><h4>Returns</h4>
|
5883
5909
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>key</code></em>
|
5884
5910
|
is in <em class="parameter"><code>dict</code></em>
|
5885
5911
|
</p>
|
@@ -5902,9 +5928,9 @@ value and returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" tit
|
|
5902
5928
|
<p><em class="parameter"><code>format_string</code></em>
|
5903
5929
|
determines the C types that are used for unpacking the
|
5904
5930
|
values and also determines if the values are copied or borrowed, see the
|
5905
|
-
section on
|
5931
|
+
section on GVariant format strings.</p>
|
5906
5932
|
<div class="refsect3">
|
5907
|
-
<a name="
|
5933
|
+
<a name="g-variant-dict-lookup.parameters"></a><h4>Parameters</h4>
|
5908
5934
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5909
5935
|
<colgroup>
|
5910
5936
|
<col width="150px" class="parameters_name">
|
@@ -5936,7 +5962,7 @@ section on <a href="gvariant-format-strings.html#gvariant-format-strings-pointer
|
|
5936
5962
|
</table></div>
|
5937
5963
|
</div>
|
5938
5964
|
<div class="refsect3">
|
5939
|
-
<a name="
|
5965
|
+
<a name="g-variant-dict-lookup.returns"></a><h4>Returns</h4>
|
5940
5966
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a value was unpacked</p>
|
5941
5967
|
</div>
|
5942
5968
|
<p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</a></p>
|
@@ -5962,7 +5988,7 @@ returned. If <em class="parameter"><code>expected_type</code></em>
|
|
5962
5988
|
was specified then any non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> return
|
5963
5989
|
value will have this type.</p>
|
5964
5990
|
<div class="refsect3">
|
5965
|
-
<a name="
|
5991
|
+
<a name="g-variant-dict-lookup-value.parameters"></a><h4>Parameters</h4>
|
5966
5992
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5967
5993
|
<colgroup>
|
5968
5994
|
<col width="150px" class="parameters_name">
|
@@ -5989,7 +6015,7 @@ value will have this type.</p>
|
|
5989
6015
|
</table></div>
|
5990
6016
|
</div>
|
5991
6017
|
<div class="refsect3">
|
5992
|
-
<a name="
|
6018
|
+
<a name="g-variant-dict-lookup-value.returns"></a><h4>Returns</h4>
|
5993
6019
|
<p> the value of the dictionary key, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. </p>
|
5994
6020
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
5995
6021
|
</div>
|
@@ -6007,7 +6033,7 @@ g_variant_dict_insert (<em class="parameter"><code><a class="link" href="glib-GV
|
|
6007
6033
|
<p>This call is a convenience wrapper that is exactly equivalent to
|
6008
6034
|
calling <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> followed by <a class="link" href="glib-GVariant.html#g-variant-dict-insert-value" title="g_variant_dict_insert_value ()"><code class="function">g_variant_dict_insert_value()</code></a>.</p>
|
6009
6035
|
<div class="refsect3">
|
6010
|
-
<a name="
|
6036
|
+
<a name="g-variant-dict-insert.parameters"></a><h4>Parameters</h4>
|
6011
6037
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6012
6038
|
<colgroup>
|
6013
6039
|
<col width="150px" class="parameters_name">
|
@@ -6052,7 +6078,7 @@ g_variant_dict_insert_value (<em class="parameter"><code><a class="link" href="g
|
|
6052
6078
|
<p><em class="parameter"><code>value</code></em>
|
6053
6079
|
is consumed if it is floating.</p>
|
6054
6080
|
<div class="refsect3">
|
6055
|
-
<a name="
|
6081
|
+
<a name="g-variant-dict-insert-value.parameters"></a><h4>Parameters</h4>
|
6056
6082
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6057
6083
|
<colgroup>
|
6058
6084
|
<col width="150px" class="parameters_name">
|
@@ -6088,7 +6114,7 @@ g_variant_dict_remove (<em class="parameter"><code><a class="link" href="glib-GV
|
|
6088
6114
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
6089
6115
|
<p>Removes a key and its associated value from a <a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a>.</p>
|
6090
6116
|
<div class="refsect3">
|
6091
|
-
<a name="
|
6117
|
+
<a name="g-variant-dict-remove.parameters"></a><h4>Parameters</h4>
|
6092
6118
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6093
6119
|
<colgroup>
|
6094
6120
|
<col width="150px" class="parameters_name">
|
@@ -6110,7 +6136,7 @@ g_variant_dict_remove (<em class="parameter"><code><a class="link" href="glib-GV
|
|
6110
6136
|
</table></div>
|
6111
6137
|
</div>
|
6112
6138
|
<div class="refsect3">
|
6113
|
-
<a name="
|
6139
|
+
<a name="g-variant-dict-remove.returns"></a><h4>Returns</h4>
|
6114
6140
|
<p> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the key was found and removed</p>
|
6115
6141
|
</div>
|
6116
6142
|
<p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</a></p>
|
@@ -6129,7 +6155,7 @@ for reference counting operations (in the case of a heap-allocated
|
|
6129
6155
|
<a class="link" href="glib-GVariant.html#GVariantDict" title="struct GVariantDict"><span class="type">GVariantDict</span></a>) or by reinitialising it with <a class="link" href="glib-GVariant.html#g-variant-dict-init" title="g_variant_dict_init ()"><code class="function">g_variant_dict_init()</code></a> (in
|
6130
6156
|
the case of stack-allocated).</p>
|
6131
6157
|
<div class="refsect3">
|
6132
|
-
<a name="
|
6158
|
+
<a name="g-variant-dict-end.parameters"></a><h4>Parameters</h4>
|
6133
6159
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6134
6160
|
<colgroup>
|
6135
6161
|
<col width="150px" class="parameters_name">
|
@@ -6144,7 +6170,7 @@ the case of stack-allocated).</p>
|
|
6144
6170
|
</table></div>
|
6145
6171
|
</div>
|
6146
6172
|
<div class="refsect3">
|
6147
|
-
<a name="
|
6173
|
+
<a name="g-variant-dict-end.returns"></a><h4>Returns</h4>
|
6148
6174
|
<p> a new, floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>. </p>
|
6149
6175
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
6150
6176
|
</div>
|
@@ -6152,15 +6178,6 @@ the case of stack-allocated).</p>
|
|
6152
6178
|
</div>
|
6153
6179
|
<hr>
|
6154
6180
|
<div class="refsect2">
|
6155
|
-
<a name="G-VARIANT-PARSE-ERROR:CAPS"></a><h3>G_VARIANT_PARSE_ERROR</h3>
|
6156
|
-
<pre class="programlisting">#define G_VARIANT_PARSE_ERROR (g_variant_parse_error_quark ())
|
6157
|
-
</pre>
|
6158
|
-
<p>Error domain for GVariant text format parsing. Specific error codes
|
6159
|
-
are not currently defined for this domain. See <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> for
|
6160
|
-
information on error domains.</p>
|
6161
|
-
</div>
|
6162
|
-
<hr>
|
6163
|
-
<div class="refsect2">
|
6164
6181
|
<a name="g-variant-parse"></a><h3>g_variant_parse ()</h3>
|
6165
6182
|
<pre class="programlisting"><a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="returnvalue">GVariant</span></a> *
|
6166
6183
|
g_variant_parse (<em class="parameter"><code>const <a class="link" href="glib-GVariantType.html#GVariantType" title="GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
|
@@ -6171,7 +6188,7 @@ g_variant_parse (<em class="parameter"><code>const <a class="link" href="glib-GV
|
|
6171
6188
|
<p>Parses a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> from a text representation.</p>
|
6172
6189
|
<p>A single <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> is parsed from the content of <em class="parameter"><code>text</code></em>
|
6173
6190
|
.</p>
|
6174
|
-
<p>The format is described
|
6191
|
+
<p>The format is described here.</p>
|
6175
6192
|
<p>The memory at <em class="parameter"><code>limit</code></em>
|
6176
6193
|
will never be accessed and the parser behaves as
|
6177
6194
|
if the character at <em class="parameter"><code>limit</code></em>
|
@@ -6202,7 +6219,7 @@ then it will be set to reflect the error that occurred.</p>
|
|
6202
6219
|
<p>Officially, the language understood by the parser is "any string
|
6203
6220
|
produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_variant_print ()"><code class="function">g_variant_print()</code></a>".</p>
|
6204
6221
|
<div class="refsect3">
|
6205
|
-
<a name="
|
6222
|
+
<a name="g-variant-parse.parameters"></a><h4>Parameters</h4>
|
6206
6223
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6207
6224
|
<colgroup>
|
6208
6225
|
<col width="150px" class="parameters_name">
|
@@ -6240,7 +6257,7 @@ produced by <a class="link" href="glib-GVariant.html#g-variant-print" title="g_v
|
|
6240
6257
|
</table></div>
|
6241
6258
|
</div>
|
6242
6259
|
<div class="refsect3">
|
6243
|
-
<a name="
|
6260
|
+
<a name="g-variant-parse.returns"></a><h4>Returns</h4>
|
6244
6261
|
<p> a non-floating reference to a <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a></p>
|
6245
6262
|
</div>
|
6246
6263
|
</div>
|
@@ -6265,7 +6282,7 @@ additional references.</p>
|
|
6265
6282
|
must be of the correct width for their types
|
6266
6283
|
specified in <em class="parameter"><code>format</code></em>
|
6267
6284
|
when collected into the <span class="type">va_list</span>. See
|
6268
|
-
the
|
6285
|
+
the GVariant varargs documentation.</p>
|
6269
6286
|
<p>In order to behave correctly in all cases it is necessary for the
|
6270
6287
|
calling function to <a class="link" href="glib-GVariant.html#g-variant-ref-sink" title="g_variant_ref_sink ()"><code class="function">g_variant_ref_sink()</code></a> the return result before
|
6271
6288
|
returning control to the user that originally provided the pointer.
|
@@ -6273,7 +6290,7 @@ At this point, the caller will have their own full reference to the
|
|
6273
6290
|
result. This can also be done by adding the result to a container,
|
6274
6291
|
or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-new" title="g_variant_new ()"><code class="function">g_variant_new()</code></a> call.</p>
|
6275
6292
|
<div class="refsect3">
|
6276
|
-
<a name="
|
6293
|
+
<a name="g-variant-new-parsed-va.parameters"></a><h4>Parameters</h4>
|
6277
6294
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6278
6295
|
<colgroup>
|
6279
6296
|
<col width="150px" class="parameters_name">
|
@@ -6295,7 +6312,7 @@ or by passing it to another <a class="link" href="glib-GVariant.html#g-variant-n
|
|
6295
6312
|
</table></div>
|
6296
6313
|
</div>
|
6297
6314
|
<div class="refsect3">
|
6298
|
-
<a name="
|
6315
|
+
<a name="g-variant-new-parsed-va.returns"></a><h4>Returns</h4>
|
6299
6316
|
<p> a new, usually floating, <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a></p>
|
6300
6317
|
</div>
|
6301
6318
|
</div>
|
@@ -6316,7 +6333,7 @@ that case, the same arguments are collected from the argument list as
|
|
6316
6333
|
<p>Note that the arguments must be of the correct width for their types
|
6317
6334
|
specified in <em class="parameter"><code>format</code></em>
|
6318
6335
|
. This can be achieved by casting them. See
|
6319
|
-
the
|
6336
|
+
the GVariant varargs documentation.</p>
|
6320
6337
|
<p>Consider this simple example:</p>
|
6321
6338
|
<div class="informalexample">
|
6322
6339
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -6355,7 +6372,7 @@ want to parse data from untrusted sources, use <a class="link" href="glib-GVaria
|
|
6355
6372
|
be anything along the lines of "%*", "%?", "%r", or anything starting
|
6356
6373
|
with "%@".</p>
|
6357
6374
|
<div class="refsect3">
|
6358
|
-
<a name="
|
6375
|
+
<a name="g-variant-new-parsed.parameters"></a><h4>Parameters</h4>
|
6359
6376
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6360
6377
|
<colgroup>
|
6361
6378
|
<col width="150px" class="parameters_name">
|
@@ -6378,7 +6395,7 @@ with "%@".</p>
|
|
6378
6395
|
</table></div>
|
6379
6396
|
</div>
|
6380
6397
|
<div class="refsect3">
|
6381
|
-
<a name="
|
6398
|
+
<a name="g-variant-new-parsed.returns"></a><h4>Returns</h4>
|
6382
6399
|
<p> a new floating <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instance</p>
|
6383
6400
|
</div>
|
6384
6401
|
</div>
|
@@ -6436,7 +6453,7 @@ If <em class="parameter"><code>source_str</code></em>
|
|
6436
6453
|
<a class="link" href="glib-GVariant.html#g-variant-parse" title="g_variant_parse ()"><code class="function">g_variant_parse()</code></a> then you must add nul termination before using this
|
6437
6454
|
function.</p>
|
6438
6455
|
<div class="refsect3">
|
6439
|
-
<a name="
|
6456
|
+
<a name="g-variant-parse-error-print-context.parameters"></a><h4>Parameters</h4>
|
6440
6457
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6441
6458
|
<colgroup>
|
6442
6459
|
<col width="150px" class="parameters_name">
|
@@ -6458,7 +6475,7 @@ function.</p>
|
|
6458
6475
|
</table></div>
|
6459
6476
|
</div>
|
6460
6477
|
<div class="refsect3">
|
6461
|
-
<a name="
|
6478
|
+
<a name="g-variant-parse-error-print-context.returns"></a><h4>Returns</h4>
|
6462
6479
|
<p> the printed message. </p>
|
6463
6480
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
6464
6481
|
</div>
|
@@ -6479,7 +6496,7 @@ using the following functions.</p>
|
|
6479
6496
|
<a name="GVariantClass"></a><h3>enum GVariantClass</h3>
|
6480
6497
|
<p>The range of possible top-level types of <a class="link" href="glib-GVariant.html#GVariant" title="GVariant"><span class="type">GVariant</span></a> instances.</p>
|
6481
6498
|
<div class="refsect3">
|
6482
|
-
<a name="
|
6499
|
+
<a name="GVariantClass.members"></a><h4>Members</h4>
|
6483
6500
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6484
6501
|
<colgroup>
|
6485
6502
|
<col width="300px" class="enum_members_name">
|
@@ -6796,7 +6813,7 @@ key is not found. Each returns the new dictionary as a floating
|
|
6796
6813
|
<a name="GVariantParseError"></a><h3>enum GVariantParseError</h3>
|
6797
6814
|
<p>Error codes returned by parsing text-format GVariants.</p>
|
6798
6815
|
<div class="refsect3">
|
6799
|
-
<a name="
|
6816
|
+
<a name="GVariantParseError.members"></a><h4>Members</h4>
|
6800
6817
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6801
6818
|
<colgroup>
|
6802
6819
|
<col width="300px" class="enum_members_name">
|
@@ -6934,6 +6951,15 @@ key is not found. Each returns the new dictionary as a floating
|
|
6934
6951
|
</table></div>
|
6935
6952
|
</div>
|
6936
6953
|
</div>
|
6954
|
+
<hr>
|
6955
|
+
<div class="refsect2">
|
6956
|
+
<a name="G-VARIANT-PARSE-ERROR:CAPS"></a><h3>G_VARIANT_PARSE_ERROR</h3>
|
6957
|
+
<pre class="programlisting">#define G_VARIANT_PARSE_ERROR (g_variant_parse_error_quark ())
|
6958
|
+
</pre>
|
6959
|
+
<p>Error domain for GVariant text format parsing. Specific error codes
|
6960
|
+
are not currently defined for this domain. See <a class="link" href="glib-Error-Reporting.html#GError" title="struct GError"><span class="type">GError</span></a> for
|
6961
|
+
information on error domains.</p>
|
6962
|
+
</div>
|
6937
6963
|
</div>
|
6938
6964
|
<div class="refsect1">
|
6939
6965
|
<a name="glib-GVariant.see-also"></a><h2>See Also</h2>
|
@@ -6941,6 +6967,6 @@ key is not found. Each returns the new dictionary as a floating
|
|
6941
6967
|
</div>
|
6942
6968
|
</div>
|
6943
6969
|
<div class="footer">
|
6944
|
-
<hr>Generated by GTK-Doc V1.
|
6970
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
6945
6971
|
</body>
|
6946
6972
|
</html>
|