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="rn01.html" title="API Reference">
|
9
9
|
<link rel="prev" href="rn01.html" title="API Reference">
|
10
10
|
<link rel="next" href="GTypePlugin.html" title="GTypePlugin">
|
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">
|
@@ -219,7 +219,7 @@
|
|
219
219
|
</td>
|
220
220
|
</tr>
|
221
221
|
<tr>
|
222
|
-
<td class="function_type">const <a href="../glib
|
222
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
223
223
|
</td>
|
224
224
|
<td class="function_name">
|
225
225
|
<a class="link" href="gobject-Type-Information.html#g-type-name" title="g_type_name ()">g_type_name</a> <span class="c_punctuation">()</span>
|
@@ -227,7 +227,7 @@
|
|
227
227
|
</tr>
|
228
228
|
<tr>
|
229
229
|
<td class="function_type">
|
230
|
-
<a href="../glib
|
230
|
+
<a href="../glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
231
231
|
</td>
|
232
232
|
<td class="function_name">
|
233
233
|
<a class="link" href="gobject-Type-Information.html#g-type-qname" title="g_type_qname ()">g_type_qname</a> <span class="c_punctuation">()</span>
|
@@ -251,7 +251,7 @@
|
|
251
251
|
</tr>
|
252
252
|
<tr>
|
253
253
|
<td class="function_type">
|
254
|
-
<a href="../glib
|
254
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
255
255
|
</td>
|
256
256
|
<td class="function_name">
|
257
257
|
<a class="link" href="gobject-Type-Information.html#g-type-depth" title="g_type_depth ()">g_type_depth</a> <span class="c_punctuation">()</span>
|
@@ -267,7 +267,7 @@
|
|
267
267
|
</tr>
|
268
268
|
<tr>
|
269
269
|
<td class="function_type">
|
270
|
-
<a href="../glib
|
270
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
271
271
|
</td>
|
272
272
|
<td class="function_name">
|
273
273
|
<a class="link" href="gobject-Type-Information.html#g-type-is-a" title="g_type_is_a ()">g_type_is_a</a> <span class="c_punctuation">()</span>
|
@@ -275,7 +275,7 @@
|
|
275
275
|
</tr>
|
276
276
|
<tr>
|
277
277
|
<td class="function_type">
|
278
|
-
<a href="../glib
|
278
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
279
279
|
</td>
|
280
280
|
<td class="function_name">
|
281
281
|
<a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()">g_type_class_ref</a> <span class="c_punctuation">()</span>
|
@@ -283,7 +283,7 @@
|
|
283
283
|
</tr>
|
284
284
|
<tr>
|
285
285
|
<td class="function_type">
|
286
|
-
<a href="../glib
|
286
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
287
287
|
</td>
|
288
288
|
<td class="function_name">
|
289
289
|
<a class="link" href="gobject-Type-Information.html#g-type-class-peek" title="g_type_class_peek ()">g_type_class_peek</a> <span class="c_punctuation">()</span>
|
@@ -291,7 +291,7 @@
|
|
291
291
|
</tr>
|
292
292
|
<tr>
|
293
293
|
<td class="function_type">
|
294
|
-
<a href="../glib
|
294
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
295
295
|
</td>
|
296
296
|
<td class="function_name">
|
297
297
|
<a class="link" href="gobject-Type-Information.html#g-type-class-peek-static" title="g_type_class_peek_static ()">g_type_class_peek_static</a> <span class="c_punctuation">()</span>
|
@@ -307,7 +307,7 @@
|
|
307
307
|
</tr>
|
308
308
|
<tr>
|
309
309
|
<td class="function_type">
|
310
|
-
<a href="../glib
|
310
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
311
311
|
</td>
|
312
312
|
<td class="function_name">
|
313
313
|
<a class="link" href="gobject-Type-Information.html#g-type-class-peek-parent" title="g_type_class_peek_parent ()">g_type_class_peek_parent</a> <span class="c_punctuation">()</span>
|
@@ -331,7 +331,7 @@
|
|
331
331
|
</tr>
|
332
332
|
<tr>
|
333
333
|
<td class="function_type">
|
334
|
-
<a href="../glib
|
334
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
335
335
|
</td>
|
336
336
|
<td class="function_name">
|
337
337
|
<a class="link" href="gobject-Type-Information.html#g-type-interface-peek" title="g_type_interface_peek ()">g_type_interface_peek</a> <span class="c_punctuation">()</span>
|
@@ -339,7 +339,7 @@
|
|
339
339
|
</tr>
|
340
340
|
<tr>
|
341
341
|
<td class="function_type">
|
342
|
-
<a href="../glib
|
342
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
343
343
|
</td>
|
344
344
|
<td class="function_name">
|
345
345
|
<a class="link" href="gobject-Type-Information.html#g-type-interface-peek-parent" title="g_type_interface_peek_parent ()">g_type_interface_peek_parent</a> <span class="c_punctuation">()</span>
|
@@ -347,7 +347,7 @@
|
|
347
347
|
</tr>
|
348
348
|
<tr>
|
349
349
|
<td class="function_type">
|
350
|
-
<a href="../glib
|
350
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
351
351
|
</td>
|
352
352
|
<td class="function_name">
|
353
353
|
<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()">g_type_default_interface_ref</a> <span class="c_punctuation">()</span>
|
@@ -355,7 +355,7 @@
|
|
355
355
|
</tr>
|
356
356
|
<tr>
|
357
357
|
<td class="function_type">
|
358
|
-
<a href="../glib
|
358
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
359
359
|
</td>
|
360
360
|
<td class="function_name">
|
361
361
|
<a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()">g_type_default_interface_peek</a> <span class="c_punctuation">()</span>
|
@@ -403,7 +403,7 @@
|
|
403
403
|
</tr>
|
404
404
|
<tr>
|
405
405
|
<td class="function_type">
|
406
|
-
<a href="../glib
|
406
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
407
407
|
</td>
|
408
408
|
<td class="function_name">
|
409
409
|
<a class="link" href="gobject-Type-Information.html#g-type-get-qdata" title="g_type_get_qdata ()">g_type_get_qdata</a> <span class="c_punctuation">()</span>
|
@@ -475,7 +475,7 @@
|
|
475
475
|
</tr>
|
476
476
|
<tr>
|
477
477
|
<td class="function_type">
|
478
|
-
<a href="../glib
|
478
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
479
479
|
</td>
|
480
480
|
<td class="function_name">
|
481
481
|
<span class="c_punctuation">(</span><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()">*GTypeClassCacheFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
|
@@ -651,7 +651,7 @@
|
|
651
651
|
</tr>
|
652
652
|
<tr>
|
653
653
|
<td class="function_type">
|
654
|
-
<a href="../glib
|
654
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
655
655
|
</td>
|
656
656
|
<td class="function_name">
|
657
657
|
<a class="link" href="gobject-Type-Information.html#g-type-get-type-registration-serial" title="g_type_get_type_registration_serial ()">g_type_get_type_registration_serial</a> <span class="c_punctuation">()</span>
|
@@ -791,10 +791,6 @@
|
|
791
791
|
<a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" title="G_DEFINE_POINTER_TYPE_WITH_CODE()">G_DEFINE_POINTER_TYPE_WITH_CODE</a><span class="c_punctuation">()</span>
|
792
792
|
</td>
|
793
793
|
</tr>
|
794
|
-
<tr>
|
795
|
-
<td class="define_keyword">#define</td>
|
796
|
-
<td class="function_name"><a class="link" href="gobject-Type-Information.html#G-TYPE-CHECKSUM:CAPS" title="G_TYPE_CHECKSUM">G_TYPE_CHECKSUM</a></td>
|
797
|
-
</tr>
|
798
794
|
</tbody>
|
799
795
|
</table></div>
|
800
796
|
</div>
|
@@ -956,6 +952,10 @@
|
|
956
952
|
</tr>
|
957
953
|
<tr>
|
958
954
|
<td class="define_keyword">#define</td>
|
955
|
+
<td class="function_name"><a class="link" href="gobject-Type-Information.html#G-TYPE-CHECKSUM:CAPS" title="G_TYPE_CHECKSUM">G_TYPE_CHECKSUM</a></td>
|
956
|
+
</tr>
|
957
|
+
<tr>
|
958
|
+
<td class="define_keyword">#define</td>
|
959
959
|
<td class="function_name"><a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-FIRST:CAPS" title="G_TYPE_RESERVED_GLIB_FIRST">G_TYPE_RESERVED_GLIB_FIRST</a></td>
|
960
960
|
</tr>
|
961
961
|
<tr>
|
@@ -1009,7 +1009,7 @@ since most fundamental types are predefined rather than user-defined.</p>
|
|
1009
1009
|
including all parent types. Similarly, type instances' private data
|
1010
1010
|
(as created by <a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()"><code class="function">g_type_class_add_private()</code></a>) are limited to a total of
|
1011
1011
|
64 KiB. If a type instance needs a large static buffer, allocate it
|
1012
|
-
separately (typically by using <a href="../glib
|
1012
|
+
separately (typically by using <a href="../glib-Arrays.html#GArray"><span class="type">GArray</span></a> or <a href="../glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>) and put a pointer
|
1013
1013
|
to the buffer in the structure.</p>
|
1014
1014
|
<p>As mentioned in the <a class="link" href="gtype-conventions.html" title="Conventions">GType conventions</a>, type names must
|
1015
1015
|
be at least three characters long. There is no upper length limit. The first
|
@@ -1027,7 +1027,7 @@ characters can be letters, numbers or any of ‘-_+’.</p>
|
|
1027
1027
|
Fundamental types are types that serve as ultimate bases for the derived types,
|
1028
1028
|
thus they are the roots of distinct inheritance hierarchies.</p>
|
1029
1029
|
<div class="refsect3">
|
1030
|
-
<a name="
|
1030
|
+
<a name="G-TYPE-FUNDAMENTAL.parameters"></a><h4>Parameters</h4>
|
1031
1031
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1032
1032
|
<colgroup>
|
1033
1033
|
<col width="150px" class="parameters_name">
|
@@ -1052,7 +1052,7 @@ thus they are the roots of distinct inheritance hierarchies.</p>
|
|
1052
1052
|
Use <a class="link" href="gobject-Type-Information.html#g-type-fundamental-next" title="g_type_fundamental_next ()"><code class="function">g_type_fundamental_next()</code></a> instead of this macro to create new fundamental
|
1053
1053
|
types.</p>
|
1054
1054
|
<div class="refsect3">
|
1055
|
-
<a name="
|
1055
|
+
<a name="G-TYPE-MAKE-FUNDAMENTAL.parameters"></a><h4>Parameters</h4>
|
1056
1056
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1057
1057
|
<colgroup>
|
1058
1058
|
<col width="150px" class="parameters_name">
|
@@ -1067,7 +1067,7 @@ types.</p>
|
|
1067
1067
|
</table></div>
|
1068
1068
|
</div>
|
1069
1069
|
<div class="refsect3">
|
1070
|
-
<a name="
|
1070
|
+
<a name="G-TYPE-MAKE-FUNDAMENTAL.returns"></a><h4>Returns</h4>
|
1071
1071
|
<p> the GType</p>
|
1072
1072
|
</div>
|
1073
1073
|
</div>
|
@@ -1081,7 +1081,7 @@ types.</p>
|
|
1081
1081
|
instantiated and is normally used as an abstract base class for
|
1082
1082
|
derived classes.</p>
|
1083
1083
|
<div class="refsect3">
|
1084
|
-
<a name="
|
1084
|
+
<a name="G-TYPE-IS-ABSTRACT.parameters"></a><h4>Parameters</h4>
|
1085
1085
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1086
1086
|
<colgroup>
|
1087
1087
|
<col width="150px" class="parameters_name">
|
@@ -1096,8 +1096,8 @@ derived classes.</p>
|
|
1096
1096
|
</table></div>
|
1097
1097
|
</div>
|
1098
1098
|
<div class="refsect3">
|
1099
|
-
<a name="
|
1100
|
-
<p> <a href="../glib
|
1099
|
+
<a name="G-TYPE-IS-ABSTRACT.returns"></a><h4>Returns</h4>
|
1100
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1101
1101
|
</div>
|
1102
1102
|
</div>
|
1103
1103
|
<hr>
|
@@ -1110,7 +1110,7 @@ derived classes.</p>
|
|
1110
1110
|
inherited) from another type (this holds true for all non-fundamental
|
1111
1111
|
types).</p>
|
1112
1112
|
<div class="refsect3">
|
1113
|
-
<a name="
|
1113
|
+
<a name="G-TYPE-IS-DERIVED.parameters"></a><h4>Parameters</h4>
|
1114
1114
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1115
1115
|
<colgroup>
|
1116
1116
|
<col width="150px" class="parameters_name">
|
@@ -1125,8 +1125,8 @@ types).</p>
|
|
1125
1125
|
</table></div>
|
1126
1126
|
</div>
|
1127
1127
|
<div class="refsect3">
|
1128
|
-
<a name="
|
1129
|
-
<p> <a href="../glib
|
1128
|
+
<a name="G-TYPE-IS-DERIVED.returns"></a><h4>Returns</h4>
|
1129
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1130
1130
|
</div>
|
1131
1131
|
</div>
|
1132
1132
|
<hr>
|
@@ -1137,7 +1137,7 @@ types).</p>
|
|
1137
1137
|
<p>Checks if <em class="parameter"><code>type</code></em>
|
1138
1138
|
is a fundamental type.</p>
|
1139
1139
|
<div class="refsect3">
|
1140
|
-
<a name="
|
1140
|
+
<a name="G-TYPE-IS-FUNDAMENTAL.parameters"></a><h4>Parameters</h4>
|
1141
1141
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1142
1142
|
<colgroup>
|
1143
1143
|
<col width="150px" class="parameters_name">
|
@@ -1152,8 +1152,8 @@ types).</p>
|
|
1152
1152
|
</table></div>
|
1153
1153
|
</div>
|
1154
1154
|
<div class="refsect3">
|
1155
|
-
<a name="
|
1156
|
-
<p> <a href="../glib
|
1155
|
+
<a name="G-TYPE-IS-FUNDAMENTAL.returns"></a><h4>Returns</h4>
|
1156
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1157
1157
|
</div>
|
1158
1158
|
</div>
|
1159
1159
|
<hr>
|
@@ -1164,7 +1164,7 @@ types).</p>
|
|
1164
1164
|
<p>Checks if <em class="parameter"><code>type</code></em>
|
1165
1165
|
is a value type and can be used with <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>.</p>
|
1166
1166
|
<div class="refsect3">
|
1167
|
-
<a name="
|
1167
|
+
<a name="G-TYPE-IS-VALUE-TYPE.parameters"></a><h4>Parameters</h4>
|
1168
1168
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1169
1169
|
<colgroup>
|
1170
1170
|
<col width="150px" class="parameters_name">
|
@@ -1179,8 +1179,8 @@ types).</p>
|
|
1179
1179
|
</table></div>
|
1180
1180
|
</div>
|
1181
1181
|
<div class="refsect3">
|
1182
|
-
<a name="
|
1183
|
-
<p> <a href="../glib
|
1182
|
+
<a name="G-TYPE-IS-VALUE-TYPE.returns"></a><h4>Returns</h4>
|
1183
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1184
1184
|
</div>
|
1185
1185
|
</div>
|
1186
1186
|
<hr>
|
@@ -1191,7 +1191,7 @@ types).</p>
|
|
1191
1191
|
<p>Checks if <em class="parameter"><code>type</code></em>
|
1192
1192
|
has a <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a>.</p>
|
1193
1193
|
<div class="refsect3">
|
1194
|
-
<a name="
|
1194
|
+
<a name="G-TYPE-HAS-VALUE-TABLE.parameters"></a><h4>Parameters</h4>
|
1195
1195
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1196
1196
|
<colgroup>
|
1197
1197
|
<col width="150px" class="parameters_name">
|
@@ -1206,8 +1206,8 @@ types).</p>
|
|
1206
1206
|
</table></div>
|
1207
1207
|
</div>
|
1208
1208
|
<div class="refsect3">
|
1209
|
-
<a name="
|
1210
|
-
<p> <a href="../glib
|
1209
|
+
<a name="G-TYPE-HAS-VALUE-TABLE.returns"></a><h4>Returns</h4>
|
1210
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1211
1211
|
</div>
|
1212
1212
|
</div>
|
1213
1213
|
<hr>
|
@@ -1218,7 +1218,7 @@ types).</p>
|
|
1218
1218
|
<p>Checks if <em class="parameter"><code>type</code></em>
|
1219
1219
|
is a classed type.</p>
|
1220
1220
|
<div class="refsect3">
|
1221
|
-
<a name="
|
1221
|
+
<a name="G-TYPE-IS-CLASSED.parameters"></a><h4>Parameters</h4>
|
1222
1222
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1223
1223
|
<colgroup>
|
1224
1224
|
<col width="150px" class="parameters_name">
|
@@ -1233,8 +1233,8 @@ types).</p>
|
|
1233
1233
|
</table></div>
|
1234
1234
|
</div>
|
1235
1235
|
<div class="refsect3">
|
1236
|
-
<a name="
|
1237
|
-
<p> <a href="../glib
|
1236
|
+
<a name="G-TYPE-IS-CLASSED.returns"></a><h4>Returns</h4>
|
1237
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1238
1238
|
</div>
|
1239
1239
|
</div>
|
1240
1240
|
<hr>
|
@@ -1246,7 +1246,7 @@ types).</p>
|
|
1246
1246
|
can be instantiated. Instantiation is the
|
1247
1247
|
process of creating an instance (object) of this type.</p>
|
1248
1248
|
<div class="refsect3">
|
1249
|
-
<a name="
|
1249
|
+
<a name="G-TYPE-IS-INSTANTIATABLE.parameters"></a><h4>Parameters</h4>
|
1250
1250
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1251
1251
|
<colgroup>
|
1252
1252
|
<col width="150px" class="parameters_name">
|
@@ -1261,8 +1261,8 @@ process of creating an instance (object) of this type.</p>
|
|
1261
1261
|
</table></div>
|
1262
1262
|
</div>
|
1263
1263
|
<div class="refsect3">
|
1264
|
-
<a name="
|
1265
|
-
<p> <a href="../glib
|
1264
|
+
<a name="G-TYPE-IS-INSTANTIATABLE.returns"></a><h4>Returns</h4>
|
1265
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1266
1266
|
</div>
|
1267
1267
|
</div>
|
1268
1268
|
<hr>
|
@@ -1274,7 +1274,7 @@ process of creating an instance (object) of this type.</p>
|
|
1274
1274
|
is a derivable type. A derivable type can
|
1275
1275
|
be used as the base class of a flat (single-level) class hierarchy.</p>
|
1276
1276
|
<div class="refsect3">
|
1277
|
-
<a name="
|
1277
|
+
<a name="G-TYPE-IS-DERIVABLE.parameters"></a><h4>Parameters</h4>
|
1278
1278
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1279
1279
|
<colgroup>
|
1280
1280
|
<col width="150px" class="parameters_name">
|
@@ -1289,8 +1289,8 @@ be used as the base class of a flat (single-level) class hierarchy.</p>
|
|
1289
1289
|
</table></div>
|
1290
1290
|
</div>
|
1291
1291
|
<div class="refsect3">
|
1292
|
-
<a name="
|
1293
|
-
<p> <a href="../glib
|
1292
|
+
<a name="G-TYPE-IS-DERIVABLE.returns"></a><h4>Returns</h4>
|
1293
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1294
1294
|
</div>
|
1295
1295
|
</div>
|
1296
1296
|
<hr>
|
@@ -1302,7 +1302,7 @@ be used as the base class of a flat (single-level) class hierarchy.</p>
|
|
1302
1302
|
is a deep derivable type. A deep derivable type
|
1303
1303
|
can be used as the base class of a deep (multi-level) class hierarchy.</p>
|
1304
1304
|
<div class="refsect3">
|
1305
|
-
<a name="
|
1305
|
+
<a name="G-TYPE-IS-DEEP-DERIVABLE.parameters"></a><h4>Parameters</h4>
|
1306
1306
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1307
1307
|
<colgroup>
|
1308
1308
|
<col width="150px" class="parameters_name">
|
@@ -1317,8 +1317,8 @@ can be used as the base class of a deep (multi-level) class hierarchy.</p>
|
|
1317
1317
|
</table></div>
|
1318
1318
|
</div>
|
1319
1319
|
<div class="refsect3">
|
1320
|
-
<a name="
|
1321
|
-
<p> <a href="../glib
|
1320
|
+
<a name="G-TYPE-IS-DEEP-DERIVABLE.returns"></a><h4>Returns</h4>
|
1321
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1322
1322
|
</div>
|
1323
1323
|
</div>
|
1324
1324
|
<hr>
|
@@ -1335,7 +1335,7 @@ interfaces and C++ classes containing only pure virtual functions,
|
|
1335
1335
|
with the difference that GType interfaces are not derivable (but see
|
1336
1336
|
<a class="link" href="gobject-Type-Information.html#g-type-interface-add-prerequisite" title="g_type_interface_add_prerequisite ()"><code class="function">g_type_interface_add_prerequisite()</code></a> for an alternative).</p>
|
1337
1337
|
<div class="refsect3">
|
1338
|
-
<a name="
|
1338
|
+
<a name="G-TYPE-IS-INTERFACE.parameters"></a><h4>Parameters</h4>
|
1339
1339
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1340
1340
|
<colgroup>
|
1341
1341
|
<col width="150px" class="parameters_name">
|
@@ -1350,8 +1350,8 @@ with the difference that GType interfaces are not derivable (but see
|
|
1350
1350
|
</table></div>
|
1351
1351
|
</div>
|
1352
1352
|
<div class="refsect3">
|
1353
|
-
<a name="
|
1354
|
-
<p> <a href="../glib
|
1353
|
+
<a name="G-TYPE-IS-INTERFACE.returns"></a><h4>Returns</h4>
|
1354
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1355
1355
|
</div>
|
1356
1356
|
</div>
|
1357
1357
|
<hr>
|
@@ -1363,7 +1363,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1363
1363
|
structure. </p>
|
1364
1364
|
<p>This macro should only be used in type implementations.</p>
|
1365
1365
|
<div class="refsect3">
|
1366
|
-
<a name="
|
1366
|
+
<a name="G-TYPE-FROM-INSTANCE.parameters"></a><h4>Parameters</h4>
|
1367
1367
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1368
1368
|
<colgroup>
|
1369
1369
|
<col width="150px" class="parameters_name">
|
@@ -1378,7 +1378,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1378
1378
|
</table></div>
|
1379
1379
|
</div>
|
1380
1380
|
<div class="refsect3">
|
1381
|
-
<a name="
|
1381
|
+
<a name="G-TYPE-FROM-INSTANCE.returns"></a><h4>Returns</h4>
|
1382
1382
|
<p> the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a></p>
|
1383
1383
|
</div>
|
1384
1384
|
</div>
|
@@ -1391,7 +1391,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1391
1391
|
structure.</p>
|
1392
1392
|
<p>This macro should only be used in type implementations.</p>
|
1393
1393
|
<div class="refsect3">
|
1394
|
-
<a name="
|
1394
|
+
<a name="G-TYPE-FROM-CLASS.parameters"></a><h4>Parameters</h4>
|
1395
1395
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1396
1396
|
<colgroup>
|
1397
1397
|
<col width="150px" class="parameters_name">
|
@@ -1406,7 +1406,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1406
1406
|
</table></div>
|
1407
1407
|
</div>
|
1408
1408
|
<div class="refsect3">
|
1409
|
-
<a name="
|
1409
|
+
<a name="G-TYPE-FROM-CLASS.returns"></a><h4>Returns</h4>
|
1410
1410
|
<p> the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a></p>
|
1411
1411
|
</div>
|
1412
1412
|
</div>
|
@@ -1419,7 +1419,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1419
1419
|
structure.</p>
|
1420
1420
|
<p>This macro should only be used in type implementations.</p>
|
1421
1421
|
<div class="refsect3">
|
1422
|
-
<a name="
|
1422
|
+
<a name="G-TYPE-FROM-INTERFACE.parameters"></a><h4>Parameters</h4>
|
1423
1423
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1424
1424
|
<colgroup>
|
1425
1425
|
<col width="150px" class="parameters_name">
|
@@ -1434,7 +1434,7 @@ with the difference that GType interfaces are not derivable (but see
|
|
1434
1434
|
</table></div>
|
1435
1435
|
</div>
|
1436
1436
|
<div class="refsect3">
|
1437
|
-
<a name="
|
1437
|
+
<a name="G-TYPE-FROM-INTERFACE.returns"></a><h4>Returns</h4>
|
1438
1438
|
<p> the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a></p>
|
1439
1439
|
</div>
|
1440
1440
|
</div>
|
@@ -1451,7 +1451,7 @@ to a specified ancestor type <em class="parameter"><code>g_type</code></em>
|
|
1451
1451
|
gets modified, so it might not always return the expected pointer.</p>
|
1452
1452
|
<p>This macro should only be used in type implementations.</p>
|
1453
1453
|
<div class="refsect3">
|
1454
|
-
<a name="
|
1454
|
+
<a name="G-TYPE-INSTANCE-GET-CLASS.parameters"></a><h4>Parameters</h4>
|
1455
1455
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1456
1456
|
<colgroup>
|
1457
1457
|
<col width="150px" class="parameters_name">
|
@@ -1478,7 +1478,7 @@ gets modified, so it might not always return the expected pointer.</p>
|
|
1478
1478
|
</table></div>
|
1479
1479
|
</div>
|
1480
1480
|
<div class="refsect3">
|
1481
|
-
<a name="
|
1481
|
+
<a name="G-TYPE-INSTANCE-GET-CLASS.returns"></a><h4>Returns</h4>
|
1482
1482
|
<p> a pointer to the class structure</p>
|
1483
1483
|
</div>
|
1484
1484
|
</div>
|
@@ -1492,7 +1492,7 @@ gets modified, so it might not always return the expected pointer.</p>
|
|
1492
1492
|
.</p>
|
1493
1493
|
<p>This macro should only be used in type implementations.</p>
|
1494
1494
|
<div class="refsect3">
|
1495
|
-
<a name="
|
1495
|
+
<a name="G-TYPE-INSTANCE-GET-INTERFACE.parameters"></a><h4>Parameters</h4>
|
1496
1496
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1497
1497
|
<colgroup>
|
1498
1498
|
<col width="150px" class="parameters_name">
|
@@ -1519,7 +1519,7 @@ gets modified, so it might not always return the expected pointer.</p>
|
|
1519
1519
|
</table></div>
|
1520
1520
|
</div>
|
1521
1521
|
<div class="refsect3">
|
1522
|
-
<a name="
|
1522
|
+
<a name="G-TYPE-INSTANCE-GET-INTERFACE.returns"></a><h4>Returns</h4>
|
1523
1523
|
<p> a pointer to the interface structure</p>
|
1524
1524
|
</div>
|
1525
1525
|
</div>
|
@@ -1533,7 +1533,7 @@ The private structure must have been registered in the
|
|
1533
1533
|
class_init function with <a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()"><code class="function">g_type_class_add_private()</code></a>.</p>
|
1534
1534
|
<p>This macro should only be used in type implementations.</p>
|
1535
1535
|
<div class="refsect3">
|
1536
|
-
<a name="
|
1536
|
+
<a name="G-TYPE-INSTANCE-GET-PRIVATE.parameters"></a><h4>Parameters</h4>
|
1537
1537
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1538
1538
|
<colgroup>
|
1539
1539
|
<col width="150px" class="parameters_name">
|
@@ -1561,9 +1561,9 @@ class_init function with <a class="link" href="gobject-Type-Information.html#g-t
|
|
1561
1561
|
</table></div>
|
1562
1562
|
</div>
|
1563
1563
|
<div class="refsect3">
|
1564
|
-
<a name="
|
1564
|
+
<a name="G-TYPE-INSTANCE-GET-PRIVATE.returns"></a><h4>Returns</h4>
|
1565
1565
|
<p> a pointer to the private data structure. </p>
|
1566
|
-
<p><span class="annotation">[not nullable]</span></p>
|
1566
|
+
<p><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></p>
|
1567
1567
|
</div>
|
1568
1568
|
<p class="since">Since: <a class="link" href="api-index-2-4.html#api-index-2.4">2.4</a></p>
|
1569
1569
|
</div>
|
@@ -1577,7 +1577,7 @@ The private structure must have been registered in the
|
|
1577
1577
|
<code class="function">get_type()</code> function with <a class="link" href="gobject-Type-Information.html#g-type-add-class-private" title="g_type_add_class_private ()"><code class="function">g_type_add_class_private()</code></a>.</p>
|
1578
1578
|
<p>This macro should only be used in type implementations.</p>
|
1579
1579
|
<div class="refsect3">
|
1580
|
-
<a name="
|
1580
|
+
<a name="G-TYPE-CLASS-GET-PRIVATE.parameters"></a><h4>Parameters</h4>
|
1581
1581
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1582
1582
|
<colgroup>
|
1583
1583
|
<col width="150px" class="parameters_name">
|
@@ -1605,9 +1605,9 @@ The private structure must have been registered in the
|
|
1605
1605
|
</table></div>
|
1606
1606
|
</div>
|
1607
1607
|
<div class="refsect3">
|
1608
|
-
<a name="
|
1608
|
+
<a name="G-TYPE-CLASS-GET-PRIVATE.returns"></a><h4>Returns</h4>
|
1609
1609
|
<p> a pointer to the private data structure. </p>
|
1610
|
-
<p><span class="annotation">[not nullable]</span></p>
|
1610
|
+
<p><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></p>
|
1611
1611
|
</div>
|
1612
1612
|
<p class="since">Since: <a class="link" href="api-index-2-24.html#api-index-2.24">2.24</a></p>
|
1613
1613
|
</div>
|
@@ -1618,10 +1618,10 @@ The private structure must have been registered in the
|
|
1618
1618
|
</pre>
|
1619
1619
|
<p>Checks if <em class="parameter"><code>instance</code></em>
|
1620
1620
|
is a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure,
|
1621
|
-
otherwise issues a warning and returns <a href="../glib
|
1621
|
+
otherwise issues a warning and returns <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
1622
1622
|
<p>This macro should only be used in type implementations.</p>
|
1623
1623
|
<div class="refsect3">
|
1624
|
-
<a name="
|
1624
|
+
<a name="G-TYPE-CHECK-INSTANCE.parameters"></a><h4>Parameters</h4>
|
1625
1625
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1626
1626
|
<colgroup>
|
1627
1627
|
<col width="150px" class="parameters_name">
|
@@ -1636,8 +1636,8 @@ otherwise issues a warning and returns <a href="../glib/glib-Standard-Macros.htm
|
|
1636
1636
|
</table></div>
|
1637
1637
|
</div>
|
1638
1638
|
<div class="refsect3">
|
1639
|
-
<a name="
|
1640
|
-
<p> <a href="../glib
|
1639
|
+
<a name="G-TYPE-CHECK-INSTANCE.returns"></a><h4>Returns</h4>
|
1640
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1641
1641
|
</div>
|
1642
1642
|
</div>
|
1643
1643
|
<hr>
|
@@ -1654,7 +1654,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1654
1654
|
.</p>
|
1655
1655
|
<p>This macro should only be used in type implementations.</p>
|
1656
1656
|
<div class="refsect3">
|
1657
|
-
<a name="
|
1657
|
+
<a name="G-TYPE-CHECK-INSTANCE-CAST.parameters"></a><h4>Parameters</h4>
|
1658
1658
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1659
1659
|
<colgroup>
|
1660
1660
|
<col width="150px" class="parameters_name">
|
@@ -1692,7 +1692,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1692
1692
|
.</p>
|
1693
1693
|
<p>This macro should only be used in type implementations.</p>
|
1694
1694
|
<div class="refsect3">
|
1695
|
-
<a name="
|
1695
|
+
<a name="G-TYPE-CHECK-INSTANCE-TYPE.parameters"></a><h4>Parameters</h4>
|
1696
1696
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1697
1697
|
<colgroup>
|
1698
1698
|
<col width="150px" class="parameters_name">
|
@@ -1714,8 +1714,8 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1714
1714
|
</table></div>
|
1715
1715
|
</div>
|
1716
1716
|
<div class="refsect3">
|
1717
|
-
<a name="
|
1718
|
-
<p> <a href="../glib
|
1717
|
+
<a name="G-TYPE-CHECK-INSTANCE-TYPE.returns"></a><h4>Returns</h4>
|
1718
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1719
1719
|
</div>
|
1720
1720
|
</div>
|
1721
1721
|
<hr>
|
@@ -1728,7 +1728,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1728
1728
|
.</p>
|
1729
1729
|
<p>This macro should only be used in type implementations.</p>
|
1730
1730
|
<div class="refsect3">
|
1731
|
-
<a name="
|
1731
|
+
<a name="G-TYPE-CHECK-INSTANCE-FUNDAMENTAL-TYPE.parameters"></a><h4>Parameters</h4>
|
1732
1732
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1733
1733
|
<colgroup>
|
1734
1734
|
<col width="150px" class="parameters_name">
|
@@ -1750,8 +1750,8 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1750
1750
|
</table></div>
|
1751
1751
|
</div>
|
1752
1752
|
<div class="refsect3">
|
1753
|
-
<a name="
|
1754
|
-
<p> <a href="../glib
|
1753
|
+
<a name="G-TYPE-CHECK-INSTANCE-FUNDAMENTAL-TYPE.returns"></a><h4>Returns</h4>
|
1754
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1755
1755
|
</div>
|
1756
1756
|
</div>
|
1757
1757
|
<hr>
|
@@ -1768,7 +1768,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1768
1768
|
.</p>
|
1769
1769
|
<p>This macro should only be used in type implementations.</p>
|
1770
1770
|
<div class="refsect3">
|
1771
|
-
<a name="
|
1771
|
+
<a name="G-TYPE-CHECK-CLASS-CAST.parameters"></a><h4>Parameters</h4>
|
1772
1772
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1773
1773
|
<colgroup>
|
1774
1774
|
<col width="150px" class="parameters_name">
|
@@ -1807,7 +1807,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1807
1807
|
.</p>
|
1808
1808
|
<p>This macro should only be used in type implementations.</p>
|
1809
1809
|
<div class="refsect3">
|
1810
|
-
<a name="
|
1810
|
+
<a name="G-TYPE-CHECK-CLASS-TYPE.parameters"></a><h4>Parameters</h4>
|
1811
1811
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1812
1812
|
<colgroup>
|
1813
1813
|
<col width="150px" class="parameters_name">
|
@@ -1829,8 +1829,8 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1829
1829
|
</table></div>
|
1830
1830
|
</div>
|
1831
1831
|
<div class="refsect3">
|
1832
|
-
<a name="
|
1833
|
-
<p> <a href="../glib
|
1832
|
+
<a name="G-TYPE-CHECK-CLASS-TYPE.returns"></a><h4>Returns</h4>
|
1833
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1834
1834
|
</div>
|
1835
1835
|
</div>
|
1836
1836
|
<hr>
|
@@ -1843,7 +1843,7 @@ to a pointer to <em class="parameter"><code>c_type</code></em>
|
|
1843
1843
|
of a value type.</p>
|
1844
1844
|
<p>This macro should only be used in type implementations.</p>
|
1845
1845
|
<div class="refsect3">
|
1846
|
-
<a name="
|
1846
|
+
<a name="G-TYPE-CHECK-VALUE.parameters"></a><h4>Parameters</h4>
|
1847
1847
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1848
1848
|
<colgroup>
|
1849
1849
|
<col width="150px" class="parameters_name">
|
@@ -1858,8 +1858,8 @@ of a value type.</p>
|
|
1858
1858
|
</table></div>
|
1859
1859
|
</div>
|
1860
1860
|
<div class="refsect3">
|
1861
|
-
<a name="
|
1862
|
-
<p> <a href="../glib
|
1861
|
+
<a name="G-TYPE-CHECK-VALUE.returns"></a><h4>Returns</h4>
|
1862
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1863
1863
|
</div>
|
1864
1864
|
</div>
|
1865
1865
|
<hr>
|
@@ -1873,7 +1873,7 @@ of type <em class="parameter"><code>g_type</code></em>
|
|
1873
1873
|
. </p>
|
1874
1874
|
<p>This macro should only be used in type implementations.</p>
|
1875
1875
|
<div class="refsect3">
|
1876
|
-
<a name="
|
1876
|
+
<a name="G-TYPE-CHECK-VALUE-TYPE.parameters"></a><h4>Parameters</h4>
|
1877
1877
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1878
1878
|
<colgroup>
|
1879
1879
|
<col width="150px" class="parameters_name">
|
@@ -1895,8 +1895,8 @@ of type <em class="parameter"><code>g_type</code></em>
|
|
1895
1895
|
</table></div>
|
1896
1896
|
</div>
|
1897
1897
|
<div class="refsect3">
|
1898
|
-
<a name="
|
1899
|
-
<p> <a href="../glib
|
1898
|
+
<a name="G-TYPE-CHECK-VALUE-TYPE.returns"></a><h4>Returns</h4>
|
1899
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</p>
|
1900
1900
|
</div>
|
1901
1901
|
</div>
|
1902
1902
|
<hr>
|
@@ -1927,7 +1927,7 @@ and this function does nothing.</p>
|
|
1927
1927
|
<p>If you need to enable debugging features, use the GOBJECT_DEBUG
|
1928
1928
|
environment variable.</p>
|
1929
1929
|
<div class="refsect3">
|
1930
|
-
<a name="
|
1930
|
+
<a name="g-type-init-with-debug-flags.parameters"></a><h4>Parameters</h4>
|
1931
1931
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1932
1932
|
<colgroup>
|
1933
1933
|
<col width="150px" class="parameters_name">
|
@@ -1946,7 +1946,7 @@ debugging purposes</p></td>
|
|
1946
1946
|
<hr>
|
1947
1947
|
<div class="refsect2">
|
1948
1948
|
<a name="g-type-name"></a><h3>g_type_name ()</h3>
|
1949
|
-
<pre class="programlisting">const <a href="../glib
|
1949
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1950
1950
|
g_type_name (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
1951
1951
|
<p>Get the unique name that is assigned to a type ID. Note that this
|
1952
1952
|
function (like all other GType API) cannot cope with invalid type
|
@@ -1954,7 +1954,7 @@ IDs. <a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" ti
|
|
1954
1954
|
other validly registered type ID, but randomized type IDs should
|
1955
1955
|
not be passed in and will most likely lead to a crash.</p>
|
1956
1956
|
<div class="refsect3">
|
1957
|
-
<a name="
|
1957
|
+
<a name="g-type-name.parameters"></a><h4>Parameters</h4>
|
1958
1958
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1959
1959
|
<colgroup>
|
1960
1960
|
<col width="150px" class="parameters_name">
|
@@ -1969,18 +1969,18 @@ not be passed in and will most likely lead to a crash.</p>
|
|
1969
1969
|
</table></div>
|
1970
1970
|
</div>
|
1971
1971
|
<div class="refsect3">
|
1972
|
-
<a name="
|
1973
|
-
<p> static type name or <a href="../glib
|
1972
|
+
<a name="g-type-name.returns"></a><h4>Returns</h4>
|
1973
|
+
<p> static type name or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
1974
1974
|
</div>
|
1975
1975
|
</div>
|
1976
1976
|
<hr>
|
1977
1977
|
<div class="refsect2">
|
1978
1978
|
<a name="g-type-qname"></a><h3>g_type_qname ()</h3>
|
1979
|
-
<pre class="programlisting"><a href="../glib
|
1979
|
+
<pre class="programlisting"><a href="../glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
|
1980
1980
|
g_type_qname (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
1981
1981
|
<p>Get the corresponding quark of the type IDs name.</p>
|
1982
1982
|
<div class="refsect3">
|
1983
|
-
<a name="
|
1983
|
+
<a name="g-type-qname.parameters"></a><h4>Parameters</h4>
|
1984
1984
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1985
1985
|
<colgroup>
|
1986
1986
|
<col width="150px" class="parameters_name">
|
@@ -1995,7 +1995,7 @@ g_type_qname (<em class="parameter"><code><a class="link" href="gobject-Type-Inf
|
|
1995
1995
|
</table></div>
|
1996
1996
|
</div>
|
1997
1997
|
<div class="refsect3">
|
1998
|
-
<a name="
|
1998
|
+
<a name="g-type-qname.returns"></a><h4>Returns</h4>
|
1999
1999
|
<p> the type names quark or 0</p>
|
2000
2000
|
</div>
|
2001
2001
|
</div>
|
@@ -2003,13 +2003,13 @@ g_type_qname (<em class="parameter"><code><a class="link" href="gobject-Type-Inf
|
|
2003
2003
|
<div class="refsect2">
|
2004
2004
|
<a name="g-type-from-name"></a><h3>g_type_from_name ()</h3>
|
2005
2005
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a>
|
2006
|
-
g_type_from_name (<em class="parameter"><code>const <a href="../glib
|
2006
|
+
g_type_from_name (<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
2007
2007
|
<p>Lookup the type ID from a given type name, returning 0 if no type
|
2008
2008
|
has been registered under this name (this is the preferred method
|
2009
2009
|
to find out by name whether a specific type has been registered
|
2010
2010
|
yet).</p>
|
2011
2011
|
<div class="refsect3">
|
2012
|
-
<a name="
|
2012
|
+
<a name="g-type-from-name.parameters"></a><h4>Parameters</h4>
|
2013
2013
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2014
2014
|
<colgroup>
|
2015
2015
|
<col width="150px" class="parameters_name">
|
@@ -2024,7 +2024,7 @@ yet).</p>
|
|
2024
2024
|
</table></div>
|
2025
2025
|
</div>
|
2026
2026
|
<div class="refsect3">
|
2027
|
-
<a name="
|
2027
|
+
<a name="g-type-from-name.returns"></a><h4>Returns</h4>
|
2028
2028
|
<p> corresponding type ID or 0</p>
|
2029
2029
|
</div>
|
2030
2030
|
</div>
|
@@ -2036,7 +2036,7 @@ g_type_parent (<em class="parameter"><code><a class="link" href="gobject-Type-In
|
|
2036
2036
|
<p>Return the direct parent type of the passed in type. If the passed
|
2037
2037
|
in type has no parent, i.e. is a fundamental type, 0 is returned.</p>
|
2038
2038
|
<div class="refsect3">
|
2039
|
-
<a name="
|
2039
|
+
<a name="g-type-parent.parameters"></a><h4>Parameters</h4>
|
2040
2040
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2041
2041
|
<colgroup>
|
2042
2042
|
<col width="150px" class="parameters_name">
|
@@ -2051,19 +2051,19 @@ in type has no parent, i.e. is a fundamental type, 0 is returned.</p>
|
|
2051
2051
|
</table></div>
|
2052
2052
|
</div>
|
2053
2053
|
<div class="refsect3">
|
2054
|
-
<a name="
|
2054
|
+
<a name="g-type-parent.returns"></a><h4>Returns</h4>
|
2055
2055
|
<p> the parent type</p>
|
2056
2056
|
</div>
|
2057
2057
|
</div>
|
2058
2058
|
<hr>
|
2059
2059
|
<div class="refsect2">
|
2060
2060
|
<a name="g-type-depth"></a><h3>g_type_depth ()</h3>
|
2061
|
-
<pre class="programlisting"><a href="../glib
|
2061
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
2062
2062
|
g_type_depth (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
2063
2063
|
<p>Returns the length of the ancestry of the passed in type. This
|
2064
2064
|
includes the type itself, so that e.g. a fundamental type has depth 1.</p>
|
2065
2065
|
<div class="refsect3">
|
2066
|
-
<a name="
|
2066
|
+
<a name="g-type-depth.parameters"></a><h4>Parameters</h4>
|
2067
2067
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2068
2068
|
<colgroup>
|
2069
2069
|
<col width="150px" class="parameters_name">
|
@@ -2078,7 +2078,7 @@ includes the type itself, so that e.g. a fundamental type has depth 1.</p>
|
|
2078
2078
|
</table></div>
|
2079
2079
|
</div>
|
2080
2080
|
<div class="refsect3">
|
2081
|
-
<a name="
|
2081
|
+
<a name="g-type-depth.returns"></a><h4>Returns</h4>
|
2082
2082
|
<p> the depth of <em class="parameter"><code>type</code></em>
|
2083
2083
|
</p>
|
2084
2084
|
</div>
|
@@ -2102,7 +2102,7 @@ derived directly from <em class="parameter"><code>root_type</code></em>
|
|
2102
2102
|
be used to determine the types and order in which the leaf type is
|
2103
2103
|
descended from the root type.</p>
|
2104
2104
|
<div class="refsect3">
|
2105
|
-
<a name="
|
2105
|
+
<a name="g-type-next-base.parameters"></a><h4>Parameters</h4>
|
2106
2106
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2107
2107
|
<colgroup>
|
2108
2108
|
<col width="150px" class="parameters_name">
|
@@ -2125,7 +2125,7 @@ and the type to be returned</p></td>
|
|
2125
2125
|
</table></div>
|
2126
2126
|
</div>
|
2127
2127
|
<div class="refsect3">
|
2128
|
-
<a name="
|
2128
|
+
<a name="g-type-next-base.returns"></a><h4>Returns</h4>
|
2129
2129
|
<p> immediate child of <em class="parameter"><code>root_type</code></em>
|
2130
2130
|
and anchestor of <em class="parameter"><code>leaf_type</code></em>
|
2131
2131
|
</p>
|
@@ -2134,7 +2134,7 @@ and anchestor of <em class="parameter"><code>leaf_type</code></em>
|
|
2134
2134
|
<hr>
|
2135
2135
|
<div class="refsect2">
|
2136
2136
|
<a name="g-type-is-a"></a><h3>g_type_is_a ()</h3>
|
2137
|
-
<pre class="programlisting"><a href="../glib
|
2137
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2138
2138
|
g_type_is_a (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>,
|
2139
2139
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is_a_type</code></em>);</pre>
|
2140
2140
|
<p>If <em class="parameter"><code>is_a_type</code></em>
|
@@ -2146,7 +2146,7 @@ descendant of <em class="parameter"><code>is_a_type</code></em>
|
|
2146
2146
|
whether <em class="parameter"><code>type</code></em>
|
2147
2147
|
conforms to it.</p>
|
2148
2148
|
<div class="refsect3">
|
2149
|
-
<a name="
|
2149
|
+
<a name="g-type-is-a.parameters"></a><h4>Parameters</h4>
|
2150
2150
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2151
2151
|
<colgroup>
|
2152
2152
|
<col width="150px" class="parameters_name">
|
@@ -2170,8 +2170,8 @@ could conform to</p></td>
|
|
2170
2170
|
</table></div>
|
2171
2171
|
</div>
|
2172
2172
|
<div class="refsect3">
|
2173
|
-
<a name="
|
2174
|
-
<p> <a href="../glib
|
2173
|
+
<a name="g-type-is-a.returns"></a><h4>Returns</h4>
|
2174
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em>
|
2175
2175
|
is a <em class="parameter"><code>is_a_type</code></em>
|
2176
2176
|
</p>
|
2177
2177
|
</div>
|
@@ -2179,14 +2179,14 @@ is a <em class="parameter"><code>is_a_type</code></em>
|
|
2179
2179
|
<hr>
|
2180
2180
|
<div class="refsect2">
|
2181
2181
|
<a name="g-type-class-ref"></a><h3>g_type_class_ref ()</h3>
|
2182
|
-
<pre class="programlisting"><a href="../glib
|
2182
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2183
2183
|
g_type_class_ref (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
2184
2184
|
<p>Increments the reference count of the class structure belonging to
|
2185
2185
|
<em class="parameter"><code>type</code></em>
|
2186
2186
|
. This function will demand-create the class if it doesn't
|
2187
2187
|
exist already.</p>
|
2188
2188
|
<div class="refsect3">
|
2189
|
-
<a name="
|
2189
|
+
<a name="g-type-class-ref.parameters"></a><h4>Parameters</h4>
|
2190
2190
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2191
2191
|
<colgroup>
|
2192
2192
|
<col width="150px" class="parameters_name">
|
@@ -2201,7 +2201,7 @@ exist already.</p>
|
|
2201
2201
|
</table></div>
|
2202
2202
|
</div>
|
2203
2203
|
<div class="refsect3">
|
2204
|
-
<a name="
|
2204
|
+
<a name="g-type-class-ref.returns"></a><h4>Returns</h4>
|
2205
2205
|
<p> the <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a>
|
2206
2206
|
structure for the given type ID. </p>
|
2207
2207
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -2210,15 +2210,15 @@ structure for the given type ID. </p>
|
|
2210
2210
|
<hr>
|
2211
2211
|
<div class="refsect2">
|
2212
2212
|
<a name="g-type-class-peek"></a><h3>g_type_class_peek ()</h3>
|
2213
|
-
<pre class="programlisting"><a href="../glib
|
2213
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2214
2214
|
g_type_class_peek (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
2215
2215
|
<p>This function is essentially the same as <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a>,
|
2216
2216
|
except that the classes reference count isn't incremented.
|
2217
|
-
As a consequence, this function may return <a href="../glib
|
2217
|
+
As a consequence, this function may return <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class
|
2218
2218
|
of the type passed in does not currently exist (hasn't been
|
2219
2219
|
referenced before).</p>
|
2220
2220
|
<div class="refsect3">
|
2221
|
-
<a name="
|
2221
|
+
<a name="g-type-class-peek.parameters"></a><h4>Parameters</h4>
|
2222
2222
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2223
2223
|
<colgroup>
|
2224
2224
|
<col width="150px" class="parameters_name">
|
@@ -2233,9 +2233,9 @@ referenced before).</p>
|
|
2233
2233
|
</table></div>
|
2234
2234
|
</div>
|
2235
2235
|
<div class="refsect3">
|
2236
|
-
<a name="
|
2236
|
+
<a name="g-type-class-peek.returns"></a><h4>Returns</h4>
|
2237
2237
|
<p> the <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a>
|
2238
|
-
structure for the given type ID or <a href="../glib
|
2238
|
+
structure for the given type ID or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class does not
|
2239
2239
|
currently exist. </p>
|
2240
2240
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2241
2241
|
</div>
|
@@ -2243,12 +2243,12 @@ currently exist. </p>
|
|
2243
2243
|
<hr>
|
2244
2244
|
<div class="refsect2">
|
2245
2245
|
<a name="g-type-class-peek-static"></a><h3>g_type_class_peek_static ()</h3>
|
2246
|
-
<pre class="programlisting"><a href="../glib
|
2246
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2247
2247
|
g_type_class_peek_static (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre>
|
2248
2248
|
<p>A more efficient version of <a class="link" href="gobject-Type-Information.html#g-type-class-peek" title="g_type_class_peek ()"><code class="function">g_type_class_peek()</code></a> which works only for
|
2249
2249
|
static types.</p>
|
2250
2250
|
<div class="refsect3">
|
2251
|
-
<a name="
|
2251
|
+
<a name="g-type-class-peek-static.parameters"></a><h4>Parameters</h4>
|
2252
2252
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2253
2253
|
<colgroup>
|
2254
2254
|
<col width="150px" class="parameters_name">
|
@@ -2263,9 +2263,9 @@ static types.</p>
|
|
2263
2263
|
</table></div>
|
2264
2264
|
</div>
|
2265
2265
|
<div class="refsect3">
|
2266
|
-
<a name="
|
2266
|
+
<a name="g-type-class-peek-static.returns"></a><h4>Returns</h4>
|
2267
2267
|
<p> the <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a>
|
2268
|
-
structure for the given type ID or <a href="../glib
|
2268
|
+
structure for the given type ID or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class does not
|
2269
2269
|
currently exist or is dynamically loaded. </p>
|
2270
2270
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2271
2271
|
</div>
|
@@ -2275,13 +2275,13 @@ currently exist or is dynamically loaded. </p>
|
|
2275
2275
|
<div class="refsect2">
|
2276
2276
|
<a name="g-type-class-unref"></a><h3>g_type_class_unref ()</h3>
|
2277
2277
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2278
|
-
g_type_class_unref (<em class="parameter"><code><a href="../glib
|
2278
|
+
g_type_class_unref (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
2279
2279
|
<p>Decrements the reference count of the class structure being passed in.
|
2280
2280
|
Once the last reference count of a class has been released, classes
|
2281
2281
|
may be finalized by the type system, so further dereferencing of a
|
2282
2282
|
class pointer after <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> are invalid.</p>
|
2283
2283
|
<div class="refsect3">
|
2284
|
-
<a name="
|
2284
|
+
<a name="g-type-class-unref.parameters"></a><h4>Parameters</h4>
|
2285
2285
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2286
2286
|
<colgroup>
|
2287
2287
|
<col width="150px" class="parameters_name">
|
@@ -2299,8 +2299,8 @@ class pointer after <a class="link" href="gobject-Type-Information.html#g-type-c
|
|
2299
2299
|
<hr>
|
2300
2300
|
<div class="refsect2">
|
2301
2301
|
<a name="g-type-class-peek-parent"></a><h3>g_type_class_peek_parent ()</h3>
|
2302
|
-
<pre class="programlisting"><a href="../glib
|
2303
|
-
g_type_class_peek_parent (<em class="parameter"><code><a href="../glib
|
2302
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2303
|
+
g_type_class_peek_parent (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
2304
2304
|
<p>This is a convenience function often needed in class initializers.
|
2305
2305
|
It returns the class structure of the immediate parent type of the
|
2306
2306
|
class passed in. Since derived classes hold a reference count on
|
@@ -2309,7 +2309,7 @@ class will always exist.</p>
|
|
2309
2309
|
<p>This function is essentially equivalent to:
|
2310
2310
|
g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class)))</p>
|
2311
2311
|
<div class="refsect3">
|
2312
|
-
<a name="
|
2312
|
+
<a name="g-type-class-peek-parent.parameters"></a><h4>Parameters</h4>
|
2313
2313
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2314
2314
|
<colgroup>
|
2315
2315
|
<col width="150px" class="parameters_name">
|
@@ -2325,7 +2325,7 @@ retrieve the parent class for. </p></td>
|
|
2325
2325
|
</table></div>
|
2326
2326
|
</div>
|
2327
2327
|
<div class="refsect3">
|
2328
|
-
<a name="
|
2328
|
+
<a name="g-type-class-peek-parent.returns"></a><h4>Returns</h4>
|
2329
2329
|
<p> the parent class
|
2330
2330
|
of <em class="parameter"><code>g_class</code></em>
|
2331
2331
|
. </p>
|
@@ -2336,8 +2336,8 @@ of <em class="parameter"><code>g_class</code></em>
|
|
2336
2336
|
<div class="refsect2">
|
2337
2337
|
<a name="g-type-class-add-private"></a><h3>g_type_class_add_private ()</h3>
|
2338
2338
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2339
|
-
g_type_class_add_private (<em class="parameter"><code><a href="../glib
|
2340
|
-
<em class="parameter"><code><a href="../glib
|
2339
|
+
g_type_class_add_private (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>,
|
2340
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>);</pre>
|
2341
2341
|
<p>Registers a private structure for an instantiatable type.</p>
|
2342
2342
|
<p>When an object is allocated, the private structures for
|
2343
2343
|
the type and all of its parent types are allocated
|
@@ -2429,7 +2429,7 @@ of repeatedly calling <code class="function">MY_OBJECT_GET_PRIVATE()</code>.</p>
|
|
2429
2429
|
<span class="gtkdoc opt">{</span>
|
2430
2430
|
MyObjectPrivate <span class="gtkdoc opt">*</span>priv<span class="gtkdoc opt">;</span>
|
2431
2431
|
|
2432
|
-
<span class="function"><a href="../glib
|
2432
|
+
<span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function">MY_IS_OBJECT</span> <span class="gtkdoc opt">(</span>my_object<span class="gtkdoc opt">),</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
2433
2433
|
|
2434
2434
|
priv <span class="gtkdoc opt">=</span> my_object<span class="gtkdoc opt">-></span>priv<span class="gtkdoc opt">;</span>
|
2435
2435
|
|
@@ -2442,7 +2442,7 @@ of repeatedly calling <code class="function">MY_OBJECT_GET_PRIVATE()</code>.</p>
|
|
2442
2442
|
|
2443
2443
|
<p></p>
|
2444
2444
|
<div class="refsect3">
|
2445
|
-
<a name="
|
2445
|
+
<a name="g-type-class-add-private.parameters"></a><h4>Parameters</h4>
|
2446
2446
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2447
2447
|
<colgroup>
|
2448
2448
|
<col width="150px" class="parameters_name">
|
@@ -2471,7 +2471,7 @@ type. </p></td>
|
|
2471
2471
|
<a name="g-type-add-class-private"></a><h3>g_type_add_class_private ()</h3>
|
2472
2472
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2473
2473
|
g_type_add_class_private (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> class_type</code></em>,
|
2474
|
-
<em class="parameter"><code><a href="../glib
|
2474
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>);</pre>
|
2475
2475
|
<p>Registers a private class structure for a classed type;
|
2476
2476
|
when the class is allocated, the private structures for
|
2477
2477
|
the class and all of its parent types are allocated
|
@@ -2482,7 +2482,7 @@ type's <code class="function">get_type()</code> function after the type is regis
|
|
2482
2482
|
The private structure can be retrieved using the
|
2483
2483
|
<a class="link" href="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" title="G_TYPE_CLASS_GET_PRIVATE()"><code class="function">G_TYPE_CLASS_GET_PRIVATE()</code></a> macro.</p>
|
2484
2484
|
<div class="refsect3">
|
2485
|
-
<a name="
|
2485
|
+
<a name="g-type-add-class-private.parameters"></a><h4>Parameters</h4>
|
2486
2486
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2487
2487
|
<colgroup>
|
2488
2488
|
<col width="150px" class="parameters_name">
|
@@ -2508,13 +2508,13 @@ The private structure can be retrieved using the
|
|
2508
2508
|
<hr>
|
2509
2509
|
<div class="refsect2">
|
2510
2510
|
<a name="g-type-interface-peek"></a><h3>g_type_interface_peek ()</h3>
|
2511
|
-
<pre class="programlisting"><a href="../glib
|
2512
|
-
g_type_interface_peek (<em class="parameter"><code><a href="../glib
|
2511
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2512
|
+
g_type_interface_peek (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance_class</code></em>,
|
2513
2513
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> iface_type</code></em>);</pre>
|
2514
2514
|
<p>Returns the <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of an interface to which the
|
2515
2515
|
passed in class conforms.</p>
|
2516
2516
|
<div class="refsect3">
|
2517
|
-
<a name="
|
2517
|
+
<a name="g-type-interface-peek.parameters"></a><h4>Parameters</h4>
|
2518
2518
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2519
2519
|
<colgroup>
|
2520
2520
|
<col width="150px" class="parameters_name">
|
@@ -2536,11 +2536,11 @@ passed in class conforms.</p>
|
|
2536
2536
|
</table></div>
|
2537
2537
|
</div>
|
2538
2538
|
<div class="refsect3">
|
2539
|
-
<a name="
|
2539
|
+
<a name="g-type-interface-peek.returns"></a><h4>Returns</h4>
|
2540
2540
|
<p> the <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a>
|
2541
2541
|
structure of <em class="parameter"><code>iface_type</code></em>
|
2542
2542
|
if implemented by <em class="parameter"><code>instance_class</code></em>
|
2543
|
-
, <a href="../glib
|
2543
|
+
, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2544
2544
|
otherwise. </p>
|
2545
2545
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeInterface][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2546
2546
|
</div>
|
@@ -2548,15 +2548,15 @@ otherwise. </p>
|
|
2548
2548
|
<hr>
|
2549
2549
|
<div class="refsect2">
|
2550
2550
|
<a name="g-type-interface-peek-parent"></a><h3>g_type_interface_peek_parent ()</h3>
|
2551
|
-
<pre class="programlisting"><a href="../glib
|
2552
|
-
g_type_interface_peek_parent (<em class="parameter"><code><a href="../glib
|
2551
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2552
|
+
g_type_interface_peek_parent (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre>
|
2553
2553
|
<p>Returns the corresponding <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of the parent type
|
2554
2554
|
of the instance type to which <em class="parameter"><code>g_iface</code></em>
|
2555
2555
|
belongs. This is useful when
|
2556
2556
|
deriving the implementation of an interface from the parent type and
|
2557
2557
|
then possibly overriding some methods.</p>
|
2558
2558
|
<div class="refsect3">
|
2559
|
-
<a name="
|
2559
|
+
<a name="g-type-interface-peek-parent.parameters"></a><h4>Parameters</h4>
|
2560
2560
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2561
2561
|
<colgroup>
|
2562
2562
|
<col width="150px" class="parameters_name">
|
@@ -2571,11 +2571,11 @@ then possibly overriding some methods.</p>
|
|
2571
2571
|
</table></div>
|
2572
2572
|
</div>
|
2573
2573
|
<div class="refsect3">
|
2574
|
-
<a name="
|
2574
|
+
<a name="g-type-interface-peek-parent.returns"></a><h4>Returns</h4>
|
2575
2575
|
<p> the
|
2576
2576
|
corresponding <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of the parent type of the
|
2577
2577
|
instance type to which <em class="parameter"><code>g_iface</code></em>
|
2578
|
-
belongs, or <a href="../glib
|
2578
|
+
belongs, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the parent
|
2579
2579
|
type doesn't conform to the interface. </p>
|
2580
2580
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeInterface]</span></p>
|
2581
2581
|
</div>
|
@@ -2583,7 +2583,7 @@ type doesn't conform to the interface. </p>
|
|
2583
2583
|
<hr>
|
2584
2584
|
<div class="refsect2">
|
2585
2585
|
<a name="g-type-default-interface-ref"></a><h3>g_type_default_interface_ref ()</h3>
|
2586
|
-
<pre class="programlisting"><a href="../glib
|
2586
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2587
2587
|
g_type_default_interface_ref (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>);</pre>
|
2588
2588
|
<p>Increments the reference count for the interface type <em class="parameter"><code>g_type</code></em>
|
2589
2589
|
,
|
@@ -2598,7 +2598,7 @@ Calling <a class="link" href="gobject-Type-Information.html#g-type-default-inter
|
|
2598
2598
|
want to make sure that signals and properties for an interface
|
2599
2599
|
have been installed.</p>
|
2600
2600
|
<div class="refsect3">
|
2601
|
-
<a name="
|
2601
|
+
<a name="g-type-default-interface-ref.parameters"></a><h4>Parameters</h4>
|
2602
2602
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2603
2603
|
<colgroup>
|
2604
2604
|
<col width="150px" class="parameters_name">
|
@@ -2613,7 +2613,7 @@ have been installed.</p>
|
|
2613
2613
|
</table></div>
|
2614
2614
|
</div>
|
2615
2615
|
<div class="refsect3">
|
2616
|
-
<a name="
|
2616
|
+
<a name="g-type-default-interface-ref.returns"></a><h4>Returns</h4>
|
2617
2617
|
<p> the default
|
2618
2618
|
vtable for the interface; call <a class="link" href="gobject-Type-Information.html#g-type-default-interface-unref" title="g_type_default_interface_unref ()"><code class="function">g_type_default_interface_unref()</code></a>
|
2619
2619
|
when you are done using the interface. </p>
|
@@ -2624,13 +2624,13 @@ when you are done using the interface. </p>
|
|
2624
2624
|
<hr>
|
2625
2625
|
<div class="refsect2">
|
2626
2626
|
<a name="g-type-default-interface-peek"></a><h3>g_type_default_interface_peek ()</h3>
|
2627
|
-
<pre class="programlisting"><a href="../glib
|
2627
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2628
2628
|
g_type_default_interface_peek (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>);</pre>
|
2629
2629
|
<p>If the interface type <em class="parameter"><code>g_type</code></em>
|
2630
2630
|
is currently in use, returns its
|
2631
2631
|
default interface vtable.</p>
|
2632
2632
|
<div class="refsect3">
|
2633
|
-
<a name="
|
2633
|
+
<a name="g-type-default-interface-peek.parameters"></a><h4>Parameters</h4>
|
2634
2634
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2635
2635
|
<colgroup>
|
2636
2636
|
<col width="150px" class="parameters_name">
|
@@ -2645,9 +2645,9 @@ default interface vtable.</p>
|
|
2645
2645
|
</table></div>
|
2646
2646
|
</div>
|
2647
2647
|
<div class="refsect3">
|
2648
|
-
<a name="
|
2648
|
+
<a name="g-type-default-interface-peek.returns"></a><h4>Returns</h4>
|
2649
2649
|
<p> the default
|
2650
|
-
vtable for the interface, or <a href="../glib
|
2650
|
+
vtable for the interface, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the type is not currently
|
2651
2651
|
in use. </p>
|
2652
2652
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.TypeInterface][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2653
2653
|
</div>
|
@@ -2657,7 +2657,7 @@ in use. </p>
|
|
2657
2657
|
<div class="refsect2">
|
2658
2658
|
<a name="g-type-default-interface-unref"></a><h3>g_type_default_interface_unref ()</h3>
|
2659
2659
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2660
|
-
g_type_default_interface_unref (<em class="parameter"><code><a href="../glib
|
2660
|
+
g_type_default_interface_unref (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre>
|
2661
2661
|
<p>Decrements the reference count for the type corresponding to the
|
2662
2662
|
interface default vtable <em class="parameter"><code>g_iface</code></em>
|
2663
2663
|
. If the type is dynamic, then
|
@@ -2666,7 +2666,7 @@ been released, the finalize function for the interface's default
|
|
2666
2666
|
vtable (the <em class="parameter"><code>class_finalize</code></em>
|
2667
2667
|
member of <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>) will be called.</p>
|
2668
2668
|
<div class="refsect3">
|
2669
|
-
<a name="
|
2669
|
+
<a name="g-type-default-interface-unref.parameters"></a><h4>Parameters</h4>
|
2670
2670
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2671
2671
|
<colgroup>
|
2672
2672
|
<col width="150px" class="parameters_name">
|
@@ -2688,12 +2688,12 @@ structure for a interface, as returned by <a class="link" href="gobject-Type-Inf
|
|
2688
2688
|
<a name="g-type-children"></a><h3>g_type_children ()</h3>
|
2689
2689
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> *
|
2690
2690
|
g_type_children (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>,
|
2691
|
-
<em class="parameter"><code><a href="../glib
|
2691
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_children</code></em>);</pre>
|
2692
2692
|
<p>Return a newly allocated and 0-terminated array of type IDs, listing
|
2693
2693
|
the child types of <em class="parameter"><code>type</code></em>
|
2694
2694
|
.</p>
|
2695
2695
|
<div class="refsect3">
|
2696
|
-
<a name="
|
2696
|
+
<a name="g-type-children.parameters"></a><h4>Parameters</h4>
|
2697
2697
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2698
2698
|
<colgroup>
|
2699
2699
|
<col width="150px" class="parameters_name">
|
@@ -2709,16 +2709,16 @@ the child types of <em class="parameter"><code>type</code></em>
|
|
2709
2709
|
<tr>
|
2710
2710
|
<td class="parameter_name"><p>n_children</p></td>
|
2711
2711
|
<td class="parameter_description"><p> location to store the length of
|
2712
|
-
the returned array, or <a href="../glib
|
2712
|
+
the returned array, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2713
2713
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2714
2714
|
</tr>
|
2715
2715
|
</tbody>
|
2716
2716
|
</table></div>
|
2717
2717
|
</div>
|
2718
2718
|
<div class="refsect3">
|
2719
|
-
<a name="
|
2719
|
+
<a name="g-type-children.returns"></a><h4>Returns</h4>
|
2720
2720
|
<p> Newly allocated
|
2721
|
-
and 0-terminated array of child types, free with <a href="../glib
|
2721
|
+
and 0-terminated array of child types, free with <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
2722
2722
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_children][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2723
2723
|
</div>
|
2724
2724
|
</div>
|
@@ -2727,12 +2727,12 @@ and 0-terminated array of child types, free with <a href="../glib/glib-Memory-Al
|
|
2727
2727
|
<a name="g-type-interfaces"></a><h3>g_type_interfaces ()</h3>
|
2728
2728
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> *
|
2729
2729
|
g_type_interfaces (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>,
|
2730
|
-
<em class="parameter"><code><a href="../glib
|
2730
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_interfaces</code></em>);</pre>
|
2731
2731
|
<p>Return a newly allocated and 0-terminated array of type IDs, listing
|
2732
2732
|
the interface types that <em class="parameter"><code>type</code></em>
|
2733
2733
|
conforms to.</p>
|
2734
2734
|
<div class="refsect3">
|
2735
|
-
<a name="
|
2735
|
+
<a name="g-type-interfaces.parameters"></a><h4>Parameters</h4>
|
2736
2736
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2737
2737
|
<colgroup>
|
2738
2738
|
<col width="150px" class="parameters_name">
|
@@ -2748,16 +2748,16 @@ the interface types that <em class="parameter"><code>type</code></em>
|
|
2748
2748
|
<tr>
|
2749
2749
|
<td class="parameter_name"><p>n_interfaces</p></td>
|
2750
2750
|
<td class="parameter_description"><p> location to store the length of
|
2751
|
-
the returned array, or <a href="../glib
|
2751
|
+
the returned array, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2752
2752
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2753
2753
|
</tr>
|
2754
2754
|
</tbody>
|
2755
2755
|
</table></div>
|
2756
2756
|
</div>
|
2757
2757
|
<div class="refsect3">
|
2758
|
-
<a name="
|
2758
|
+
<a name="g-type-interfaces.returns"></a><h4>Returns</h4>
|
2759
2759
|
<p> Newly allocated
|
2760
|
-
and 0-terminated array of interface types, free with <a href="../glib
|
2760
|
+
and 0-terminated array of interface types, free with <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
2761
2761
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_interfaces][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2762
2762
|
</div>
|
2763
2763
|
</div>
|
@@ -2766,10 +2766,10 @@ and 0-terminated array of interface types, free with <a href="../glib/glib-Memor
|
|
2766
2766
|
<a name="g-type-interface-prerequisites"></a><h3>g_type_interface_prerequisites ()</h3>
|
2767
2767
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> *
|
2768
2768
|
g_type_interface_prerequisites (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>,
|
2769
|
-
<em class="parameter"><code><a href="../glib
|
2769
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_prerequisites</code></em>);</pre>
|
2770
2770
|
<p>Returns the prerequisites of an interfaces type.</p>
|
2771
2771
|
<div class="refsect3">
|
2772
|
-
<a name="
|
2772
|
+
<a name="g-type-interface-prerequisites.parameters"></a><h4>Parameters</h4>
|
2773
2773
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2774
2774
|
<colgroup>
|
2775
2775
|
<col width="150px" class="parameters_name">
|
@@ -2785,14 +2785,14 @@ g_type_interface_prerequisites (<em class="parameter"><code><a class="link" href
|
|
2785
2785
|
<tr>
|
2786
2786
|
<td class="parameter_name"><p>n_prerequisites</p></td>
|
2787
2787
|
<td class="parameter_description"><p> location to return the number
|
2788
|
-
of prerequisites, or <a href="../glib
|
2788
|
+
of prerequisites, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2789
2789
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2790
2790
|
</tr>
|
2791
2791
|
</tbody>
|
2792
2792
|
</table></div>
|
2793
2793
|
</div>
|
2794
2794
|
<div class="refsect3">
|
2795
|
-
<a name="
|
2795
|
+
<a name="g-type-interface-prerequisites.returns"></a><h4>Returns</h4>
|
2796
2796
|
<p> a
|
2797
2797
|
newly-allocated zero-terminated array of <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> containing
|
2798
2798
|
the prerequisites of <em class="parameter"><code>interface_type</code></em>
|
@@ -2806,11 +2806,11 @@ the prerequisites of <em class="parameter"><code>interface_type</code></em>
|
|
2806
2806
|
<a name="g-type-set-qdata"></a><h3>g_type_set_qdata ()</h3>
|
2807
2807
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2808
2808
|
g_type_set_qdata (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>,
|
2809
|
-
<em class="parameter"><code><a href="../glib
|
2810
|
-
<em class="parameter"><code><a href="../glib
|
2809
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
2810
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2811
2811
|
<p>Attaches arbitrary data to a type.</p>
|
2812
2812
|
<div class="refsect3">
|
2813
|
-
<a name="
|
2813
|
+
<a name="g-type-set-qdata.parameters"></a><h4>Parameters</h4>
|
2814
2814
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2815
2815
|
<colgroup>
|
2816
2816
|
<col width="150px" class="parameters_name">
|
@@ -2825,7 +2825,7 @@ g_type_set_qdata (<em class="parameter"><code><a class="link" href="gobject-Type
|
|
2825
2825
|
</tr>
|
2826
2826
|
<tr>
|
2827
2827
|
<td class="parameter_name"><p>quark</p></td>
|
2828
|
-
<td class="parameter_description"><p>a <a href="../glib
|
2828
|
+
<td class="parameter_description"><p>a <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> id to identify the data</p></td>
|
2829
2829
|
<td class="parameter_annotations"> </td>
|
2830
2830
|
</tr>
|
2831
2831
|
<tr>
|
@@ -2840,9 +2840,9 @@ g_type_set_qdata (<em class="parameter"><code><a class="link" href="gobject-Type
|
|
2840
2840
|
<hr>
|
2841
2841
|
<div class="refsect2">
|
2842
2842
|
<a name="g-type-get-qdata"></a><h3>g_type_get_qdata ()</h3>
|
2843
|
-
<pre class="programlisting"><a href="../glib
|
2843
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2844
2844
|
g_type_get_qdata (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>,
|
2845
|
-
<em class="parameter"><code><a href="../glib
|
2845
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
2846
2846
|
<p>Obtains data which has previously been attached to <em class="parameter"><code>type</code></em>
|
2847
2847
|
|
2848
2848
|
with <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()"><code class="function">g_type_set_qdata()</code></a>.</p>
|
@@ -2850,7 +2850,7 @@ with <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title
|
|
2850
2850
|
attached to one type with <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()"><code class="function">g_type_set_qdata()</code></a> cannot
|
2851
2851
|
be retrieved from a subtype using <a class="link" href="gobject-Type-Information.html#g-type-get-qdata" title="g_type_get_qdata ()"><code class="function">g_type_get_qdata()</code></a>.</p>
|
2852
2852
|
<div class="refsect3">
|
2853
|
-
<a name="
|
2853
|
+
<a name="g-type-get-qdata.parameters"></a><h4>Parameters</h4>
|
2854
2854
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2855
2855
|
<colgroup>
|
2856
2856
|
<col width="150px" class="parameters_name">
|
@@ -2865,15 +2865,15 @@ be retrieved from a subtype using <a class="link" href="gobject-Type-Information
|
|
2865
2865
|
</tr>
|
2866
2866
|
<tr>
|
2867
2867
|
<td class="parameter_name"><p>quark</p></td>
|
2868
|
-
<td class="parameter_description"><p>a <a href="../glib
|
2868
|
+
<td class="parameter_description"><p>a <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> id to identify the data</p></td>
|
2869
2869
|
<td class="parameter_annotations"> </td>
|
2870
2870
|
</tr>
|
2871
2871
|
</tbody>
|
2872
2872
|
</table></div>
|
2873
2873
|
</div>
|
2874
2874
|
<div class="refsect3">
|
2875
|
-
<a name="
|
2876
|
-
<p> the data, or <a href="../glib
|
2875
|
+
<a name="g-type-get-qdata.returns"></a><h4>Returns</h4>
|
2876
|
+
<p> the data, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no data was found. </p>
|
2877
2877
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2878
2878
|
</div>
|
2879
2879
|
</div>
|
@@ -2891,7 +2891,7 @@ type-specific information. If an invalid <a class="link" href="gobject-Type-Info
|
|
2891
2891
|
<a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery"><span class="type">GTypeQuery</span></a> structure should be considered constant and have to be
|
2892
2892
|
left untouched.</p>
|
2893
2893
|
<div class="refsect3">
|
2894
|
-
<a name="
|
2894
|
+
<a name="g-type-query.parameters"></a><h4>Parameters</h4>
|
2895
2895
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2896
2896
|
<colgroup>
|
2897
2897
|
<col width="150px" class="parameters_name">
|
@@ -2918,7 +2918,7 @@ filled in with constant values upon success. </p></td>
|
|
2918
2918
|
<div class="refsect2">
|
2919
2919
|
<a name="GBaseInitFunc"></a><h3>GBaseInitFunc ()</h3>
|
2920
2920
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2921
|
-
<span class="c_punctuation">(</span>*GBaseInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
2921
|
+
<span class="c_punctuation">(</span>*GBaseInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
2922
2922
|
<p>A callback function used by the type system to do base initialization
|
2923
2923
|
of the class structures of derived types. It is called as part of the
|
2924
2924
|
initialization process of all derived classes and should reallocate
|
@@ -2928,7 +2928,7 @@ handled by a plain memory copy of the parent class into the derived class
|
|
2928
2928
|
have to be altered. See <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> for a discussion of the class
|
2929
2929
|
initialization process.</p>
|
2930
2930
|
<div class="refsect3">
|
2931
|
-
<a name="
|
2931
|
+
<a name="GBaseInitFunc.parameters"></a><h4>Parameters</h4>
|
2932
2932
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2933
2933
|
<colgroup>
|
2934
2934
|
<col width="150px" class="parameters_name">
|
@@ -2947,14 +2947,14 @@ initialization process.</p>
|
|
2947
2947
|
<div class="refsect2">
|
2948
2948
|
<a name="GBaseFinalizeFunc"></a><h3>GBaseFinalizeFunc ()</h3>
|
2949
2949
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2950
|
-
<span class="c_punctuation">(</span>*GBaseFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
2950
|
+
<span class="c_punctuation">(</span>*GBaseFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
2951
2951
|
<p>A callback function used by the type system to finalize those portions
|
2952
2952
|
of a derived types class structure that were setup from the corresponding
|
2953
2953
|
<a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> function. Class finalization basically works the inverse
|
2954
2954
|
way in which class initialization is performed.
|
2955
2955
|
See <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> for a discussion of the class initialization process.</p>
|
2956
2956
|
<div class="refsect3">
|
2957
|
-
<a name="
|
2957
|
+
<a name="GBaseFinalizeFunc.parameters"></a><h4>Parameters</h4>
|
2958
2958
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2959
2959
|
<colgroup>
|
2960
2960
|
<col width="150px" class="parameters_name">
|
@@ -2973,8 +2973,8 @@ See <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="G
|
|
2973
2973
|
<div class="refsect2">
|
2974
2974
|
<a name="GClassInitFunc"></a><h3>GClassInitFunc ()</h3>
|
2975
2975
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2976
|
-
<span class="c_punctuation">(</span>*GClassInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
2977
|
-
<em class="parameter"><code><a href="../glib
|
2976
|
+
<span class="c_punctuation">(</span>*GClassInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>,
|
2977
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>);</pre>
|
2978
2978
|
<p>A callback function used by the type system to initialize the class
|
2979
2979
|
of a specific type. This function should initialize all static class
|
2980
2980
|
members.</p>
|
@@ -3053,12 +3053,12 @@ initializers:</p>
|
|
3053
3053
|
<span class="gtkdoc kwb">static void</span>
|
3054
3054
|
<span class="function">type_a_base_class_init</span> <span class="gtkdoc opt">(</span>TypeAClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
3055
3055
|
<span class="gtkdoc opt">{</span>
|
3056
|
-
<span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_string <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
3056
|
+
<span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_string <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span><span class="string">"some string"</span><span class="gtkdoc opt">);</span>
|
3057
3057
|
<span class="gtkdoc opt">}</span>
|
3058
3058
|
<span class="gtkdoc kwb">static void</span>
|
3059
3059
|
<span class="function">type_a_base_class_finalize</span> <span class="gtkdoc opt">(</span>TypeAClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
3060
3060
|
<span class="gtkdoc opt">{</span>
|
3061
|
-
<span class="function"><a href="../glib
|
3061
|
+
<span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_string<span class="gtkdoc opt">);</span>
|
3062
3062
|
<span class="gtkdoc opt">}</span>
|
3063
3063
|
<span class="gtkdoc kwb">static void</span>
|
3064
3064
|
<span class="function">type_a_class_init</span> <span class="gtkdoc opt">(</span>TypeAClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
@@ -3074,12 +3074,12 @@ initializers:</p>
|
|
3074
3074
|
<span class="gtkdoc kwb">static void</span>
|
3075
3075
|
<span class="function">type_b_base_class_init</span> <span class="gtkdoc opt">(</span>TypeBClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
3076
3076
|
<span class="gtkdoc opt">{</span>
|
3077
|
-
<span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_gstring <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
3077
|
+
<span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_gstring <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Strings.html#g-string-new">g_string_new</a></span> <span class="gtkdoc opt">(</span><span class="string">"some other string"</span><span class="gtkdoc opt">);</span>
|
3078
3078
|
<span class="gtkdoc opt">}</span>
|
3079
3079
|
<span class="gtkdoc kwb">static void</span>
|
3080
3080
|
<span class="function">type_b_base_class_finalize</span> <span class="gtkdoc opt">(</span>TypeBClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
3081
3081
|
<span class="gtkdoc opt">{</span>
|
3082
|
-
<span class="function"><a href="../glib
|
3082
|
+
<span class="function"><a href="../glib-Strings.html#g-string-free">g_string_free</a></span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">-></span>dynamic_gstring<span class="gtkdoc opt">);</span>
|
3083
3083
|
<span class="gtkdoc opt">}</span>
|
3084
3084
|
<span class="gtkdoc kwb">static void</span>
|
3085
3085
|
<span class="function">type_b_class_init</span> <span class="gtkdoc opt">(</span>TypeBClass <span class="gtkdoc opt">*</span><span class="gtkdoc kwc">class</span><span class="gtkdoc opt">)</span>
|
@@ -3114,7 +3114,7 @@ is called to complete the initialization process with the static members
|
|
3114
3114
|
have to be provided to release allocated resources at class finalization
|
3115
3115
|
time.</p>
|
3116
3116
|
<div class="refsect3">
|
3117
|
-
<a name="
|
3117
|
+
<a name="GClassInitFunc.parameters"></a><h4>Parameters</h4>
|
3118
3118
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3119
3119
|
<colgroup>
|
3120
3120
|
<col width="150px" class="parameters_name">
|
@@ -3141,8 +3141,8 @@ member supplied via the <a class="link" href="gobject-Type-Information.html#GTyp
|
|
3141
3141
|
<div class="refsect2">
|
3142
3142
|
<a name="GClassFinalizeFunc"></a><h3>GClassFinalizeFunc ()</h3>
|
3143
3143
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3144
|
-
<span class="c_punctuation">(</span>*GClassFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
3145
|
-
<em class="parameter"><code><a href="../glib
|
3144
|
+
<span class="c_punctuation">(</span>*GClassFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>,
|
3145
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>);</pre>
|
3146
3146
|
<p>A callback function used by the type system to finalize a class.
|
3147
3147
|
This function is rarely needed, as dynamically allocated class resources
|
3148
3148
|
should be handled by <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> and <a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><code class="function">GBaseFinalizeFunc()</code></a>.
|
@@ -3151,7 +3151,7 @@ structure of a static type is invalid, because classes of static types
|
|
3151
3151
|
will never be finalized (they are artificially kept alive when their
|
3152
3152
|
reference count drops to zero).</p>
|
3153
3153
|
<div class="refsect3">
|
3154
|
-
<a name="
|
3154
|
+
<a name="GClassFinalizeFunc.parameters"></a><h4>Parameters</h4>
|
3155
3155
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3156
3156
|
<colgroup>
|
3157
3157
|
<col width="150px" class="parameters_name">
|
@@ -3179,7 +3179,7 @@ member supplied via the <a class="link" href="gobject-Type-Information.html#GTyp
|
|
3179
3179
|
<a name="GInstanceInitFunc"></a><h3>GInstanceInitFunc ()</h3>
|
3180
3180
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3181
3181
|
<span class="c_punctuation">(</span>*GInstanceInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> *instance</code></em>,
|
3182
|
-
<em class="parameter"><code><a href="../glib
|
3182
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
3183
3183
|
<p>A callback function used by the type system to initialize a new
|
3184
3184
|
instance of a type. This function initializes all instance members and
|
3185
3185
|
allocates any resources required by it.</p>
|
@@ -3191,7 +3191,7 @@ belongs to the type the current initializer was introduced for.</p>
|
|
3191
3191
|
are guaranteed to have been filled with
|
3192
3192
|
zeros before this function is called.</p>
|
3193
3193
|
<div class="refsect3">
|
3194
|
-
<a name="
|
3194
|
+
<a name="GInstanceInitFunc.parameters"></a><h4>Parameters</h4>
|
3195
3195
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3196
3196
|
<colgroup>
|
3197
3197
|
<col width="150px" class="parameters_name">
|
@@ -3218,8 +3218,8 @@ created for. </p></td>
|
|
3218
3218
|
<div class="refsect2">
|
3219
3219
|
<a name="GInterfaceInitFunc"></a><h3>GInterfaceInitFunc ()</h3>
|
3220
3220
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3221
|
-
<span class="c_punctuation">(</span>*GInterfaceInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
3222
|
-
<em class="parameter"><code><a href="../glib
|
3221
|
+
<span class="c_punctuation">(</span>*GInterfaceInitFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
3222
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);</pre>
|
3223
3223
|
<p>A callback function used by the type system to initialize a new
|
3224
3224
|
interface. This function should initialize all internal data and
|
3225
3225
|
allocate any resources required by the interface.</p>
|
@@ -3227,7 +3227,7 @@ allocate any resources required by the interface.</p>
|
|
3227
3227
|
are guaranteed to have been filled with
|
3228
3228
|
zeros before this function is called.</p>
|
3229
3229
|
<div class="refsect3">
|
3230
|
-
<a name="
|
3230
|
+
<a name="GInterfaceInitFunc.parameters"></a><h4>Parameters</h4>
|
3231
3231
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3232
3232
|
<colgroup>
|
3233
3233
|
<col width="150px" class="parameters_name">
|
@@ -3254,13 +3254,13 @@ supplied via the <a class="link" href="gobject-Type-Information.html#GInterfaceI
|
|
3254
3254
|
<div class="refsect2">
|
3255
3255
|
<a name="GInterfaceFinalizeFunc"></a><h3>GInterfaceFinalizeFunc ()</h3>
|
3256
3256
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3257
|
-
<span class="c_punctuation">(</span>*GInterfaceFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
3258
|
-
<em class="parameter"><code><a href="../glib
|
3257
|
+
<span class="c_punctuation">(</span>*GInterfaceFinalizeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
3258
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);</pre>
|
3259
3259
|
<p>A callback function used by the type system to finalize an interface.
|
3260
3260
|
This function should destroy any internal data and release any resources
|
3261
3261
|
allocated by the corresponding <a class="link" href="gobject-Type-Information.html#GInterfaceInitFunc" title="GInterfaceInitFunc ()"><code class="function">GInterfaceInitFunc()</code></a> function.</p>
|
3262
3262
|
<div class="refsect3">
|
3263
|
-
<a name="
|
3263
|
+
<a name="GInterfaceFinalizeFunc.parameters"></a><h4>Parameters</h4>
|
3264
3264
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3265
3265
|
<colgroup>
|
3266
3266
|
<col width="150px" class="parameters_name">
|
@@ -3286,8 +3286,8 @@ supplied via the <a class="link" href="gobject-Type-Information.html#GInterfaceI
|
|
3286
3286
|
<hr>
|
3287
3287
|
<div class="refsect2">
|
3288
3288
|
<a name="GTypeClassCacheFunc"></a><h3>GTypeClassCacheFunc ()</h3>
|
3289
|
-
<pre class="programlisting"><a href="../glib
|
3290
|
-
<span class="c_punctuation">(</span>*GTypeClassCacheFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
3289
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3290
|
+
<span class="c_punctuation">(</span>*GTypeClassCacheFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>,
|
3291
3291
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> *g_class</code></em>);</pre>
|
3292
3292
|
<p>A callback function which is called when the reference count of a class
|
3293
3293
|
drops to zero. It may use <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a> to prevent the class from
|
@@ -3298,7 +3298,7 @@ being freed. You should not call <a class="link" href="gobject-Type-Information.
|
|
3298
3298
|
whether they actually want to cache the class of this type, since all
|
3299
3299
|
classes are routed through the same <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> chain.</p>
|
3300
3300
|
<div class="refsect3">
|
3301
|
-
<a name="
|
3301
|
+
<a name="GTypeClassCacheFunc.parameters"></a><h4>Parameters</h4>
|
3302
3302
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3303
3303
|
<colgroup>
|
3304
3304
|
<col width="150px" class="parameters_name">
|
@@ -3321,9 +3321,9 @@ unreferenced. </p></td>
|
|
3321
3321
|
</table></div>
|
3322
3322
|
</div>
|
3323
3323
|
<div class="refsect3">
|
3324
|
-
<a name="
|
3325
|
-
<p> <a href="../glib
|
3326
|
-
called, <a href="../glib
|
3324
|
+
<a name="GTypeClassCacheFunc.returns"></a><h4>Returns</h4>
|
3325
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop further <a href="gobject-Type-Information.html#GTypeClassCacheFunc"><span class="type">GTypeClassCacheFuncs</span></a> from being
|
3326
|
+
called, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue</p>
|
3327
3327
|
</div>
|
3328
3328
|
</div>
|
3329
3329
|
<hr>
|
@@ -3331,7 +3331,7 @@ called, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="lite
|
|
3331
3331
|
<a name="g-type-register-static"></a><h3>g_type_register_static ()</h3>
|
3332
3332
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a>
|
3333
3333
|
g_type_register_static (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>,
|
3334
|
-
<em class="parameter"><code>const <a href="../glib
|
3334
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>,
|
3335
3335
|
<em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>,
|
3336
3336
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre>
|
3337
3337
|
<p>Registers <em class="parameter"><code>type_name</code></em>
|
@@ -3344,7 +3344,7 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</cod
|
|
3344
3344
|
determines the nature
|
3345
3345
|
(e.g. abstract or not) of the type.</p>
|
3346
3346
|
<div class="refsect3">
|
3347
|
-
<a name="
|
3347
|
+
<a name="g-type-register-static.parameters"></a><h4>Parameters</h4>
|
3348
3348
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3349
3349
|
<colgroup>
|
3350
3350
|
<col width="150px" class="parameters_name">
|
@@ -3376,7 +3376,7 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</cod
|
|
3376
3376
|
</table></div>
|
3377
3377
|
</div>
|
3378
3378
|
<div class="refsect3">
|
3379
|
-
<a name="
|
3379
|
+
<a name="g-type-register-static.returns"></a><h4>Returns</h4>
|
3380
3380
|
<p> the new type identifier</p>
|
3381
3381
|
</div>
|
3382
3382
|
</div>
|
@@ -3385,10 +3385,10 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</cod
|
|
3385
3385
|
<a name="g-type-register-static-simple"></a><h3>g_type_register_static_simple ()</h3>
|
3386
3386
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a>
|
3387
3387
|
g_type_register_static_simple (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>,
|
3388
|
-
<em class="parameter"><code>const <a href="../glib
|
3389
|
-
<em class="parameter"><code><a href="../glib
|
3388
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>,
|
3389
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_size</code></em>,
|
3390
3390
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><span class="type">GClassInitFunc</span></a> class_init</code></em>,
|
3391
|
-
<em class="parameter"><code><a href="../glib
|
3391
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> instance_size</code></em>,
|
3392
3392
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><span class="type">GInstanceInitFunc</span></a> instance_init</code></em>,
|
3393
3393
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre>
|
3394
3394
|
<p>Registers <em class="parameter"><code>type_name</code></em>
|
@@ -3400,7 +3400,7 @@ abstract or not) of the type. It works by filling a <a class="link" href="gobjec
|
|
3400
3400
|
struct and calling <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a>.</p>
|
3401
3401
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3402
3402
|
<div class="refsect3">
|
3403
|
-
<a name="
|
3403
|
+
<a name="g-type-register-static-simple.parameters"></a><h4>Parameters</h4>
|
3404
3404
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3405
3405
|
<colgroup>
|
3406
3406
|
<col width="150px" class="parameters_name">
|
@@ -3447,7 +3447,7 @@ struct and calling <a class="link" href="gobject-Type-Information.html#g-type-re
|
|
3447
3447
|
</table></div>
|
3448
3448
|
</div>
|
3449
3449
|
<div class="refsect3">
|
3450
|
-
<a name="
|
3450
|
+
<a name="g-type-register-static-simple.returns"></a><h4>Returns</h4>
|
3451
3451
|
<p> the new type identifier</p>
|
3452
3452
|
</div>
|
3453
3453
|
<p class="since">Since: <a class="link" href="api-index-2-12.html#api-index-2.12">2.12</a></p>
|
@@ -3457,7 +3457,7 @@ struct and calling <a class="link" href="gobject-Type-Information.html#g-type-re
|
|
3457
3457
|
<a name="g-type-register-dynamic"></a><h3>g_type_register_dynamic ()</h3>
|
3458
3458
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a>
|
3459
3459
|
g_type_register_dynamic (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>,
|
3460
|
-
<em class="parameter"><code>const <a href="../glib
|
3460
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>,
|
3461
3461
|
<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>,
|
3462
3462
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre>
|
3463
3463
|
<p>Registers <em class="parameter"><code>type_name</code></em>
|
@@ -3470,7 +3470,7 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</co
|
|
3470
3470
|
determines the nature
|
3471
3471
|
(e.g. abstract or not) of the type.</p>
|
3472
3472
|
<div class="refsect3">
|
3473
|
-
<a name="
|
3473
|
+
<a name="g-type-register-dynamic.parameters"></a><h4>Parameters</h4>
|
3474
3474
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3475
3475
|
<colgroup>
|
3476
3476
|
<col width="150px" class="parameters_name">
|
@@ -3502,7 +3502,7 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</co
|
|
3502
3502
|
</table></div>
|
3503
3503
|
</div>
|
3504
3504
|
<div class="refsect3">
|
3505
|
-
<a name="
|
3505
|
+
<a name="g-type-register-dynamic.returns"></a><h4>Returns</h4>
|
3506
3506
|
<p> the new type identifier or <a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID"><span class="type">G_TYPE_INVALID</span></a> if registration failed</p>
|
3507
3507
|
</div>
|
3508
3508
|
</div>
|
@@ -3511,7 +3511,7 @@ instances (if not abstract). The value of <em class="parameter"><code>flags</co
|
|
3511
3511
|
<a name="g-type-register-fundamental"></a><h3>g_type_register_fundamental ()</h3>
|
3512
3512
|
<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a>
|
3513
3513
|
g_type_register_fundamental (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type_id</code></em>,
|
3514
|
-
<em class="parameter"><code>const <a href="../glib
|
3514
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>,
|
3515
3515
|
<em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>,
|
3516
3516
|
<em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> *finfo</code></em>,
|
3517
3517
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre>
|
@@ -3530,7 +3530,7 @@ pointed to by <em class="parameter"><code>info</code></em>
|
|
3530
3530
|
determines
|
3531
3531
|
additional characteristics of the fundamental type.</p>
|
3532
3532
|
<div class="refsect3">
|
3533
|
-
<a name="
|
3533
|
+
<a name="g-type-register-fundamental.parameters"></a><h4>Parameters</h4>
|
3534
3534
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3535
3535
|
<colgroup>
|
3536
3536
|
<col width="150px" class="parameters_name">
|
@@ -3567,7 +3567,7 @@ additional characteristics of the fundamental type.</p>
|
|
3567
3567
|
</table></div>
|
3568
3568
|
</div>
|
3569
3569
|
<div class="refsect3">
|
3570
|
-
<a name="
|
3570
|
+
<a name="g-type-register-fundamental.returns"></a><h4>Returns</h4>
|
3571
3571
|
<p> the predefined type identifier</p>
|
3572
3572
|
</div>
|
3573
3573
|
</div>
|
@@ -3585,7 +3585,7 @@ The information contained in the <a class="link" href="gobject-Type-Information.
|
|
3585
3585
|
pointed to by <em class="parameter"><code>info</code></em>
|
3586
3586
|
is used to manage the relationship.</p>
|
3587
3587
|
<div class="refsect3">
|
3588
|
-
<a name="
|
3588
|
+
<a name="g-type-add-interface-static.parameters"></a><h4>Parameters</h4>
|
3589
3589
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3590
3590
|
<colgroup>
|
3591
3591
|
<col width="150px" class="parameters_name">
|
@@ -3629,7 +3629,7 @@ contained in the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><sp
|
|
3629
3629
|
|
3630
3630
|
is used to manage the relationship.</p>
|
3631
3631
|
<div class="refsect3">
|
3632
|
-
<a name="
|
3632
|
+
<a name="g-type-add-interface-dynamic.parameters"></a><h4>Parameters</h4>
|
3633
3633
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3634
3634
|
<colgroup>
|
3635
3635
|
<col width="150px" class="parameters_name">
|
@@ -3672,7 +3672,7 @@ This means that any type implementing <em class="parameter"><code>interface_type
|
|
3672
3672
|
interface derivation (which GType doesn't support). An interface can have
|
3673
3673
|
at most one instantiatable prerequisite type.</p>
|
3674
3674
|
<div class="refsect3">
|
3675
|
-
<a name="
|
3675
|
+
<a name="g-type-interface-add-prerequisite.parameters"></a><h4>Parameters</h4>
|
3676
3676
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3677
3677
|
<colgroup>
|
3678
3678
|
<col width="150px" class="parameters_name">
|
@@ -3702,7 +3702,7 @@ g_type_get_plugin (<em class="parameter"><code><a class="link" href="gobject-Typ
|
|
3702
3702
|
<p>Returns the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure for <em class="parameter"><code>type</code></em>
|
3703
3703
|
.</p>
|
3704
3704
|
<div class="refsect3">
|
3705
|
-
<a name="
|
3705
|
+
<a name="g-type-get-plugin.parameters"></a><h4>Parameters</h4>
|
3706
3706
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3707
3707
|
<colgroup>
|
3708
3708
|
<col width="150px" class="parameters_name">
|
@@ -3717,10 +3717,10 @@ g_type_get_plugin (<em class="parameter"><code><a class="link" href="gobject-Typ
|
|
3717
3717
|
</table></div>
|
3718
3718
|
</div>
|
3719
3719
|
<div class="refsect3">
|
3720
|
-
<a name="
|
3720
|
+
<a name="g-type-get-plugin.returns"></a><h4>Returns</h4>
|
3721
3721
|
<p> the corresponding plugin
|
3722
3722
|
if <em class="parameter"><code>type</code></em>
|
3723
|
-
is a dynamic type, <a href="../glib
|
3723
|
+
is a dynamic type, <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. </p>
|
3724
3724
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3725
3725
|
</div>
|
3726
3726
|
</div>
|
@@ -3733,13 +3733,13 @@ g_type_interface_get_plugin (<em class="parameter"><code><a class="link" href="g
|
|
3733
3733
|
<p>Returns the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure for the dynamic interface
|
3734
3734
|
<em class="parameter"><code>interface_type</code></em>
|
3735
3735
|
which has been added to <em class="parameter"><code>instance_type</code></em>
|
3736
|
-
, or <a href="../glib
|
3736
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
3737
3737
|
if <em class="parameter"><code>interface_type</code></em>
|
3738
3738
|
has not been added to <em class="parameter"><code>instance_type</code></em>
|
3739
3739
|
or does
|
3740
3740
|
not have a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure. See <a class="link" href="gobject-Type-Information.html#g-type-add-interface-dynamic" title="g_type_add_interface_dynamic ()"><code class="function">g_type_add_interface_dynamic()</code></a>.</p>
|
3741
3741
|
<div class="refsect3">
|
3742
|
-
<a name="
|
3742
|
+
<a name="g-type-interface-get-plugin.parameters"></a><h4>Parameters</h4>
|
3743
3743
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3744
3744
|
<colgroup>
|
3745
3745
|
<col width="150px" class="parameters_name">
|
@@ -3761,7 +3761,7 @@ not have a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span cla
|
|
3761
3761
|
</table></div>
|
3762
3762
|
</div>
|
3763
3763
|
<div class="refsect3">
|
3764
|
-
<a name="
|
3764
|
+
<a name="g-type-interface-get-plugin.returns"></a><h4>Returns</h4>
|
3765
3765
|
<p> the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> for the dynamic
|
3766
3766
|
interface <em class="parameter"><code>interface_type</code></em>
|
3767
3767
|
of <em class="parameter"><code>instance_type</code></em>
|
@@ -3779,7 +3779,7 @@ register a new fundamental type with <a class="link" href="gobject-Type-Informat
|
|
3779
3779
|
The returned type ID represents the highest currently registered
|
3780
3780
|
fundamental type identifier.</p>
|
3781
3781
|
<div class="refsect3">
|
3782
|
-
<a name="
|
3782
|
+
<a name="g-type-fundamental-next.returns"></a><h4>Returns</h4>
|
3783
3783
|
<p> the next available fundamental type ID to be registered,
|
3784
3784
|
or 0 if the type system ran out of fundamental type IDs</p>
|
3785
3785
|
</div>
|
@@ -3792,7 +3792,7 @@ g_type_fundamental (<em class="parameter"><code><a class="link" href="gobject-Ty
|
|
3792
3792
|
<p>Internal function, used to extract the fundamental type ID portion.
|
3793
3793
|
Use <a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS" title="G_TYPE_FUNDAMENTAL()"><code class="function">G_TYPE_FUNDAMENTAL()</code></a> instead.</p>
|
3794
3794
|
<div class="refsect3">
|
3795
|
-
<a name="
|
3795
|
+
<a name="g-type-fundamental.parameters"></a><h4>Parameters</h4>
|
3796
3796
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3797
3797
|
<colgroup>
|
3798
3798
|
<col width="150px" class="parameters_name">
|
@@ -3807,7 +3807,7 @@ Use <a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS"
|
|
3807
3807
|
</table></div>
|
3808
3808
|
</div>
|
3809
3809
|
<div class="refsect3">
|
3810
|
-
<a name="
|
3810
|
+
<a name="g-type-fundamental.returns"></a><h4>Returns</h4>
|
3811
3811
|
<p> fundamental type ID</p>
|
3812
3812
|
</div>
|
3813
3813
|
</div>
|
@@ -3834,7 +3834,7 @@ fundamental type. Also language bindings should not use this
|
|
3834
3834
|
function, but <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> instead.</p>
|
3835
3835
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3836
3836
|
<div class="refsect3">
|
3837
|
-
<a name="
|
3837
|
+
<a name="g-type-create-instance.parameters"></a><h4>Parameters</h4>
|
3838
3838
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3839
3839
|
<colgroup>
|
3840
3840
|
<col width="150px" class="parameters_name">
|
@@ -3849,7 +3849,7 @@ function, but <a class="link" href="gobject-The-Base-Object-Type.html#g-object-n
|
|
3849
3849
|
</table></div>
|
3850
3850
|
</div>
|
3851
3851
|
<div class="refsect3">
|
3852
|
-
<a name="
|
3852
|
+
<a name="g-type-create-instance.returns"></a><h4>Returns</h4>
|
3853
3853
|
<p> an allocated and initialized instance, subject to further
|
3854
3854
|
treatment by the fundamental type implementation</p>
|
3855
3855
|
</div>
|
@@ -3864,7 +3864,7 @@ the type, if there is one.</p>
|
|
3864
3864
|
<p>Like <a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()"><code class="function">g_type_create_instance()</code></a>, this function is reserved for
|
3865
3865
|
implementors of fundamental types.</p>
|
3866
3866
|
<div class="refsect3">
|
3867
|
-
<a name="
|
3867
|
+
<a name="g-type-free-instance.parameters"></a><h4>Parameters</h4>
|
3868
3868
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3869
3869
|
<colgroup>
|
3870
3870
|
<col width="150px" class="parameters_name">
|
@@ -3883,18 +3883,18 @@ implementors of fundamental types.</p>
|
|
3883
3883
|
<div class="refsect2">
|
3884
3884
|
<a name="g-type-add-class-cache-func"></a><h3>g_type_add_class_cache_func ()</h3>
|
3885
3885
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3886
|
-
g_type_add_class_cache_func (<em class="parameter"><code><a href="../glib
|
3886
|
+
g_type_add_class_cache_func (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>,
|
3887
3887
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>);</pre>
|
3888
3888
|
<p>Adds a <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> to be called before the reference count of a
|
3889
3889
|
class goes from one to zero. This can be used to prevent premature class
|
3890
3890
|
destruction. All installed <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> functions will be chained
|
3891
|
-
until one of them returns <a href="../glib
|
3891
|
+
until one of them returns <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. The functions have to check the class id
|
3892
3892
|
passed in to figure whether they actually want to cache the class of this
|
3893
3893
|
type, since all classes are routed through the same <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>
|
3894
3894
|
chain.</p>
|
3895
3895
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3896
3896
|
<div class="refsect3">
|
3897
|
-
<a name="
|
3897
|
+
<a name="g-type-add-class-cache-func.parameters"></a><h4>Parameters</h4>
|
3898
3898
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3899
3899
|
<colgroup>
|
3900
3900
|
<col width="150px" class="parameters_name">
|
@@ -3921,7 +3921,7 @@ chain.</p>
|
|
3921
3921
|
<div class="refsect2">
|
3922
3922
|
<a name="g-type-remove-class-cache-func"></a><h3>g_type_remove_class_cache_func ()</h3>
|
3923
3923
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3924
|
-
g_type_remove_class_cache_func (<em class="parameter"><code><a href="../glib
|
3924
|
+
g_type_remove_class_cache_func (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>,
|
3925
3925
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>);</pre>
|
3926
3926
|
<p>Removes a previously installed <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>. The cache
|
3927
3927
|
maintained by <em class="parameter"><code>cache_func</code></em>
|
@@ -3929,7 +3929,7 @@ maintained by <em class="parameter"><code>cache_func</code></em>
|
|
3929
3929
|
<a class="link" href="gobject-Type-Information.html#g-type-remove-class-cache-func" title="g_type_remove_class_cache_func ()"><code class="function">g_type_remove_class_cache_func()</code></a> to avoid leaks.</p>
|
3930
3930
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3931
3931
|
<div class="refsect3">
|
3932
|
-
<a name="
|
3932
|
+
<a name="g-type-remove-class-cache-func.parameters"></a><h4>Parameters</h4>
|
3933
3933
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3934
3934
|
<colgroup>
|
3935
3935
|
<col width="150px" class="parameters_name">
|
@@ -3956,14 +3956,14 @@ maintained by <em class="parameter"><code>cache_func</code></em>
|
|
3956
3956
|
<div class="refsect2">
|
3957
3957
|
<a name="g-type-class-unref-uncached"></a><h3>g_type_class_unref_uncached ()</h3>
|
3958
3958
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3959
|
-
g_type_class_unref_uncached (<em class="parameter"><code><a href="../glib
|
3959
|
+
g_type_class_unref_uncached (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre>
|
3960
3960
|
<p>A variant of <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> for use in <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>
|
3961
3961
|
implementations. It unreferences a class without consulting the chain
|
3962
3962
|
of <a href="gobject-Type-Information.html#GTypeClassCacheFunc"><span class="type">GTypeClassCacheFuncs</span></a>, avoiding the recursion which would occur
|
3963
3963
|
otherwise.</p>
|
3964
3964
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3965
3965
|
<div class="refsect3">
|
3966
|
-
<a name="
|
3966
|
+
<a name="g-type-class-unref-uncached.parameters"></a><h4>Parameters</h4>
|
3967
3967
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3968
3968
|
<colgroup>
|
3969
3969
|
<col width="150px" class="parameters_name">
|
@@ -3982,7 +3982,7 @@ otherwise.</p>
|
|
3982
3982
|
<div class="refsect2">
|
3983
3983
|
<a name="g-type-add-interface-check"></a><h3>g_type_add_interface_check ()</h3>
|
3984
3984
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3985
|
-
g_type_add_interface_check (<em class="parameter"><code><a href="../glib
|
3985
|
+
g_type_add_interface_check (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>,
|
3986
3986
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>);</pre>
|
3987
3987
|
<p>Adds a function to be called after an interface vtable is
|
3988
3988
|
initialized for any class (i.e. after the <em class="parameter"><code>interface_init</code></em>
|
@@ -3995,7 +3995,7 @@ object implements all of the properties that are defined on its
|
|
3995
3995
|
interfaces.</p>
|
3996
3996
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3997
3997
|
<div class="refsect3">
|
3998
|
-
<a name="
|
3998
|
+
<a name="g-type-add-interface-check.parameters"></a><h4>Parameters</h4>
|
3999
3999
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4000
4000
|
<colgroup>
|
4001
4001
|
<col width="150px" class="parameters_name">
|
@@ -4024,13 +4024,13 @@ is initialized</p></td>
|
|
4024
4024
|
<div class="refsect2">
|
4025
4025
|
<a name="g-type-remove-interface-check"></a><h3>g_type_remove_interface_check ()</h3>
|
4026
4026
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4027
|
-
g_type_remove_interface_check (<em class="parameter"><code><a href="../glib
|
4027
|
+
g_type_remove_interface_check (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>,
|
4028
4028
|
<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>);</pre>
|
4029
4029
|
<p>Removes an interface check function added with
|
4030
4030
|
<a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a>.</p>
|
4031
4031
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
4032
4032
|
<div class="refsect3">
|
4033
|
-
<a name="
|
4033
|
+
<a name="g-type-remove-interface-check.parameters"></a><h4>Parameters</h4>
|
4034
4034
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4035
4035
|
<colgroup>
|
4036
4036
|
<col width="150px" class="parameters_name">
|
@@ -4057,12 +4057,12 @@ g_type_remove_interface_check (<em class="parameter"><code><a href="../glib/glib
|
|
4057
4057
|
<div class="refsect2">
|
4058
4058
|
<a name="GTypeInterfaceCheckFunc"></a><h3>GTypeInterfaceCheckFunc ()</h3>
|
4059
4059
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4060
|
-
<span class="c_punctuation">(</span>*GTypeInterfaceCheckFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
4061
|
-
<em class="parameter"><code><a href="../glib
|
4060
|
+
<span class="c_punctuation">(</span>*GTypeInterfaceCheckFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>,
|
4061
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre>
|
4062
4062
|
<p>A callback called after an interface vtable is initialized.
|
4063
4063
|
See <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a>.</p>
|
4064
4064
|
<div class="refsect3">
|
4065
|
-
<a name="
|
4065
|
+
<a name="GTypeInterfaceCheckFunc.parameters"></a><h4>Parameters</h4>
|
4066
4066
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4067
4067
|
<colgroup>
|
4068
4068
|
<col width="150px" class="parameters_name">
|
@@ -4099,7 +4099,7 @@ that implements or has internal knowledge of the implementation of
|
|
4099
4099
|
.</p>
|
4100
4100
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
4101
4101
|
<div class="refsect3">
|
4102
|
-
<a name="
|
4102
|
+
<a name="g-type-value-table-peek.parameters"></a><h4>Parameters</h4>
|
4103
4103
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4104
4104
|
<colgroup>
|
4105
4105
|
<col width="150px" class="parameters_name">
|
@@ -4114,10 +4114,10 @@ that implements or has internal knowledge of the implementation of
|
|
4114
4114
|
</table></div>
|
4115
4115
|
</div>
|
4116
4116
|
<div class="refsect3">
|
4117
|
-
<a name="
|
4117
|
+
<a name="g-type-value-table-peek.returns"></a><h4>Returns</h4>
|
4118
4118
|
<p> location of the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with <em class="parameter"><code>type</code></em>
|
4119
4119
|
or
|
4120
|
-
<a href="../glib
|
4120
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with <em class="parameter"><code>type</code></em>
|
4121
4121
|
</p>
|
4122
4122
|
</div>
|
4123
4123
|
</div>
|
@@ -4131,15 +4131,15 @@ g_type_ensure (<em class="parameter"><code><a class="link" href="gobject-Type-In
|
|
4131
4131
|
type system, and its <code class="function">_class_init()</code> method has been run.</p>
|
4132
4132
|
<p>In theory, simply calling the type's <code class="function">_get_type()</code> method (or using
|
4133
4133
|
the corresponding macro) is supposed take care of this. However,
|
4134
|
-
<code class="function">_get_type()</code> methods are often marked <a href="../glib
|
4134
|
+
<code class="function">_get_type()</code> methods are often marked <a href="../glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> for performance
|
4135
4135
|
reasons, even though this is technically incorrect (since
|
4136
|
-
<a href="../glib
|
4136
|
+
<a href="../glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> requires that the function not have side effects,
|
4137
4137
|
which <code class="function">_get_type()</code> methods do on the first call). As a result, if
|
4138
4138
|
you write a bare call to a <code class="function">_get_type()</code> macro, it may get optimized
|
4139
4139
|
out by the compiler. Using <a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()"><code class="function">g_type_ensure()</code></a> guarantees that the
|
4140
4140
|
type's <code class="function">_get_type()</code> method is called.</p>
|
4141
4141
|
<div class="refsect3">
|
4142
|
-
<a name="
|
4142
|
+
<a name="g-type-ensure.parameters"></a><h4>Parameters</h4>
|
4143
4143
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4144
4144
|
<colgroup>
|
4145
4145
|
<col width="150px" class="parameters_name">
|
@@ -4158,7 +4158,7 @@ type's <code class="function">_get_type()</code> method is called.</p>
|
|
4158
4158
|
<hr>
|
4159
4159
|
<div class="refsect2">
|
4160
4160
|
<a name="g-type-get-type-registration-serial"></a><h3>g_type_get_type_registration_serial ()</h3>
|
4161
|
-
<pre class="programlisting"><a href="../glib
|
4161
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
4162
4162
|
g_type_get_type_registration_serial (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
4163
4163
|
<p>Returns an opaque serial number that represents the state of the set
|
4164
4164
|
of registered types. Any time a type is registered this serial changes,
|
@@ -4166,7 +4166,7 @@ which means you can cache information based on type lookups (such as
|
|
4166
4166
|
<a class="link" href="gobject-Type-Information.html#g-type-from-name" title="g_type_from_name ()"><code class="function">g_type_from_name()</code></a>) and know if the cache is still valid at a later
|
4167
4167
|
time by comparing the current serial with the one at the type lookup.</p>
|
4168
4168
|
<div class="refsect3">
|
4169
|
-
<a name="
|
4169
|
+
<a name="g-type-get-type-registration-serial.returns"></a><h4>Returns</h4>
|
4170
4170
|
<p> An unsigned int, representing the state of type registrations</p>
|
4171
4171
|
</div>
|
4172
4172
|
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
@@ -4181,7 +4181,7 @@ this is only available if GLib is built with debugging support and
|
|
4181
4181
|
the instance_count debug flag is set (by setting the GOBJECT_DEBUG
|
4182
4182
|
variable to include instance-count).</p>
|
4183
4183
|
<div class="refsect3">
|
4184
|
-
<a name="
|
4184
|
+
<a name="g-type-get-instance-count.parameters"></a><h4>Parameters</h4>
|
4185
4185
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4186
4186
|
<colgroup>
|
4187
4187
|
<col width="150px" class="parameters_name">
|
@@ -4196,7 +4196,7 @@ variable to include instance-count).</p>
|
|
4196
4196
|
</table></div>
|
4197
4197
|
</div>
|
4198
4198
|
<div class="refsect3">
|
4199
|
-
<a name="
|
4199
|
+
<a name="g-type-get-instance-count.returns"></a><h4>Returns</h4>
|
4200
4200
|
<p> the number of instances allocated of the given type;
|
4201
4201
|
if instance counts are not available, returns 0.</p>
|
4202
4202
|
</div>
|
@@ -4259,7 +4259,7 @@ and therefore the fact that the size of the class structure is exposed is not a
|
|
4259
4259
|
freely changed at any point in the future.</p></li>
|
4260
4260
|
<li class="listitem"><p>g_autoptr() support being added for your type, based on the type of your parent class</p></li>
|
4261
4261
|
</ul></div>
|
4262
|
-
<p>You can only use this function if your parent type also supports <a href="../glib
|
4262
|
+
<p>You can only use this function if your parent type also supports <a href="../glib-Miscellaneous-Macros.html#g-autoptr"><code class="function">g_autoptr()</code></a>.</p>
|
4263
4263
|
<p>Because the type macro (MY_APP_TYPE_WINDOW in the above example) is not a callable, you must continue to
|
4264
4264
|
manually define this as a macro for yourself.</p>
|
4265
4265
|
<p>The declaration of the <code class="function">_get_type()</code> function is the first thing emitted by the macro. This allows this macro
|
@@ -4271,7 +4271,7 @@ should therefore use <a class="link" href="gobject-Type-Information.html#G-DECLA
|
|
4271
4271
|
subclassed. Once a class structure has been exposed it is not possible to change its size or remove or
|
4272
4272
|
reorder items without breaking the API and/or ABI.</p>
|
4273
4273
|
<div class="refsect3">
|
4274
|
-
<a name="
|
4274
|
+
<a name="G-DECLARE-FINAL-TYPE.parameters"></a><h4>Parameters</h4>
|
4275
4275
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4276
4276
|
<colgroup>
|
4277
4277
|
<col width="150px" class="parameters_name">
|
@@ -4383,7 +4383,7 @@ the <code class="function">GTK_IS_FROBBER()</code> and <code class="function">GT
|
|
4383
4383
|
function.</p></li>
|
4384
4384
|
<li class="listitem"><p>g_autoptr() support being added for your type, based on the type of your parent class</p></li>
|
4385
4385
|
</ul></div>
|
4386
|
-
<p>You can only use this function if your parent type also supports <a href="../glib
|
4386
|
+
<p>You can only use this function if your parent type also supports <a href="../glib-Miscellaneous-Macros.html#g-autoptr"><code class="function">g_autoptr()</code></a>.</p>
|
4387
4387
|
<p>Because the type macro (GTK_TYPE_FROBBER in the above example) is not a callable, you must continue to
|
4388
4388
|
manually define this as a macro for yourself.</p>
|
4389
4389
|
<p>The declaration of the <code class="function">_get_type()</code> function is the first thing emitted by the macro. This allows this macro
|
@@ -4398,7 +4398,7 @@ structures, use <a class="link" href="gobject-Type-Information.html#G-DECLARE-FI
|
|
4398
4398
|
<p>If you must use <a class="link" href="gobject-Type-Information.html#G-DECLARE-DERIVABLE-TYPE:CAPS" title="G_DECLARE_DERIVABLE_TYPE()"><code class="function">G_DECLARE_DERIVABLE_TYPE()</code></a> you should be sure to include some padding at the bottom of your
|
4399
4399
|
class structure to leave space for the addition of future virtual functions.</p>
|
4400
4400
|
<div class="refsect3">
|
4401
|
-
<a name="
|
4401
|
+
<a name="G-DECLARE-DERIVABLE-TYPE.parameters"></a><h4>Parameters</h4>
|
4402
4402
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4403
4403
|
<colgroup>
|
4404
4404
|
<col width="150px" class="parameters_name">
|
@@ -4477,7 +4477,7 @@ GDK_AVAILABLE_IN_3_12
|
|
4477
4477
|
<span class="gtkdoc opt">{</span>
|
4478
4478
|
GTypeInterface g_iface<span class="gtkdoc opt">;</span>
|
4479
4479
|
|
4480
|
-
<span class="function"><a href="../glib
|
4480
|
+
<span class="function"><a href="../glib-Basic-Types.html#gpointer">gpointer</a></span> <span class="gtkdoc opt">(*</span> get_item<span class="gtkdoc opt">) (</span>MyModel <span class="gtkdoc opt">*</span>model<span class="gtkdoc opt">);</span>
|
4481
4481
|
<span class="gtkdoc opt">};</span>
|
4482
4482
|
|
4483
4483
|
gpointer <span class="function">my_model_get_item</span> <span class="gtkdoc opt">(</span>MyModel <span class="gtkdoc opt">*</span>model<span class="gtkdoc opt">);</span>
|
@@ -4501,13 +4501,13 @@ you use the macro.</p></li>
|
|
4501
4501
|
the <code class="function">MY_IS_MODEL()</code> type checking function and <code class="function">MY_MODEL_GET_IFACE()</code> function.</p></li>
|
4502
4502
|
<li class="listitem"><p>g_autoptr() support being added for your type, based on your prerequisite type.</p></li>
|
4503
4503
|
</ul></div>
|
4504
|
-
<p>You can only use this function if your prerequisite type also supports <a href="../glib
|
4504
|
+
<p>You can only use this function if your prerequisite type also supports <a href="../glib-Miscellaneous-Macros.html#g-autoptr"><code class="function">g_autoptr()</code></a>.</p>
|
4505
4505
|
<p>Because the type macro (MY_TYPE_MODEL in the above example) is not a callable, you must continue to
|
4506
4506
|
manually define this as a macro for yourself.</p>
|
4507
4507
|
<p>The declaration of the <code class="function">_get_type()</code> function is the first thing emitted by the macro. This allows this macro
|
4508
4508
|
to be used in the usual way with export control and API versioning macros.</p>
|
4509
4509
|
<div class="refsect3">
|
4510
|
-
<a name="
|
4510
|
+
<a name="G-DECLARE-INTERFACE.parameters"></a><h4>Parameters</h4>
|
4511
4511
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4512
4512
|
<colgroup>
|
4513
4513
|
<col width="150px" class="parameters_name">
|
@@ -4557,7 +4557,7 @@ for information about these) and a static variable named <code class="literal">t
|
|
4557
4557
|
pointing to the parent class. Furthermore, it defines a *_get_type() function.
|
4558
4558
|
See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example.</p>
|
4559
4559
|
<div class="refsect3">
|
4560
|
-
<a name="
|
4560
|
+
<a name="G-DEFINE-TYPE.parameters"></a><h4>Parameters</h4>
|
4561
4561
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4562
4562
|
<colgroup>
|
4563
4563
|
<col width="150px" class="parameters_name">
|
@@ -4601,7 +4601,7 @@ for an example.</p>
|
|
4601
4601
|
name of the form <em class="parameter"><code>TN</code></em>
|
4602
4602
|
Private.</p>
|
4603
4603
|
<div class="refsect3">
|
4604
|
-
<a name="
|
4604
|
+
<a name="G-DEFINE-TYPE-WITH-PRIVATE.parameters"></a><h4>Parameters</h4>
|
4605
4605
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4606
4606
|
<colgroup>
|
4607
4607
|
<col width="150px" class="parameters_name">
|
@@ -4640,7 +4640,7 @@ Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAP
|
|
4640
4640
|
*_get_type() function, e.g. interface implementations via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>.
|
4641
4641
|
See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example.</p>
|
4642
4642
|
<div class="refsect3">
|
4643
|
-
<a name="
|
4643
|
+
<a name="G-DEFINE-TYPE-WITH-CODE.parameters"></a><h4>Parameters</h4>
|
4644
4644
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4645
4645
|
<colgroup>
|
4646
4646
|
<col width="150px" class="parameters_name">
|
@@ -4682,7 +4682,7 @@ See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:C
|
|
4682
4682
|
Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()"><code class="function">G_DEFINE_TYPE()</code></a>, but defines an abstract type.
|
4683
4683
|
See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example.</p>
|
4684
4684
|
<div class="refsect3">
|
4685
|
-
<a name="
|
4685
|
+
<a name="G-DEFINE-ABSTRACT-TYPE.parameters"></a><h4>Parameters</h4>
|
4686
4686
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4687
4687
|
<colgroup>
|
4688
4688
|
<col width="150px" class="parameters_name">
|
@@ -4719,7 +4719,7 @@ separated by '_'.</p></td>
|
|
4719
4719
|
<p>Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-PRIVATE:CAPS" title="G_DEFINE_TYPE_WITH_PRIVATE()"><code class="function">G_DEFINE_TYPE_WITH_PRIVATE()</code></a>, but defines an abstract type.
|
4720
4720
|
See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example.</p>
|
4721
4721
|
<div class="refsect3">
|
4722
|
-
<a name="
|
4722
|
+
<a name="G-DEFINE-ABSTRACT-TYPE-WITH-PRIVATE.parameters"></a><h4>Parameters</h4>
|
4723
4723
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4724
4724
|
<colgroup>
|
4725
4725
|
<col width="150px" class="parameters_name">
|
@@ -4759,7 +4759,7 @@ allows you to insert custom code into the *_get_type() function, e.g.
|
|
4759
4759
|
interface implementations via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>.
|
4760
4760
|
See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example.</p>
|
4761
4761
|
<div class="refsect3">
|
4762
|
-
<a name="
|
4762
|
+
<a name="G-DEFINE-ABSTRACT-TYPE-WITH-CODE.parameters"></a><h4>Parameters</h4>
|
4763
4763
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4764
4764
|
<colgroup>
|
4765
4765
|
<col width="150px" class="parameters_name">
|
@@ -4868,7 +4868,7 @@ retrieve the private data from an instance of the type; for instance:</p>
|
|
4868
4868
|
<span class="gtkdoc opt">{</span>
|
4869
4869
|
MyObjectPrivate <span class="gtkdoc opt">*</span>priv <span class="gtkdoc opt">=</span> <span class="function">my_object_get_instance_private</span> <span class="gtkdoc opt">(</span>obj<span class="gtkdoc opt">);</span>
|
4870
4870
|
|
4871
|
-
<span class="function"><a href="../glib
|
4871
|
+
<span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-val-if-fail">g_return_val_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function">MY_IS_OBJECT</span> <span class="gtkdoc opt">(</span>obj<span class="gtkdoc opt">),</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
|
4872
4872
|
|
4873
4873
|
<span class="keyword">return</span> priv<span class="gtkdoc opt">-></span>foo<span class="gtkdoc opt">;</span>
|
4874
4874
|
<span class="gtkdoc opt">}</span>
|
@@ -4879,7 +4879,7 @@ retrieve the private data from an instance of the type; for instance:</p>
|
|
4879
4879
|
<span class="gtkdoc opt">{</span>
|
4880
4880
|
MyObjectPrivate <span class="gtkdoc opt">*</span>priv <span class="gtkdoc opt">=</span> <span class="function">my_object_get_instance_private</span> <span class="gtkdoc opt">(</span>obj<span class="gtkdoc opt">);</span>
|
4881
4881
|
|
4882
|
-
<span class="function"><a href="../glib
|
4882
|
+
<span class="function"><a href="../glib-Warnings-and-Assertions.html#g-return-if-fail">g_return_if_fail</a></span> <span class="gtkdoc opt">(</span><span class="function">MY_IS_OBJECT</span> <span class="gtkdoc opt">(</span>obj<span class="gtkdoc opt">));</span>
|
4883
4883
|
|
4884
4884
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>priv<span class="gtkdoc opt">-></span>bar <span class="gtkdoc opt">!=</span> bar<span class="gtkdoc opt">)</span>
|
4885
4885
|
priv<span class="gtkdoc opt">-></span>bar <span class="gtkdoc opt">=</span> bar<span class="gtkdoc opt">;</span>
|
@@ -4894,11 +4894,11 @@ retrieve the private data from an instance of the type; for instance:</p>
|
|
4894
4894
|
macros, since it depends on variable names from those macros.</p>
|
4895
4895
|
<p>Also note that private structs added with these macros must have a struct
|
4896
4896
|
name of the form <code class="literal">TypeNamePrivate</code>.</p>
|
4897
|
-
<p>It is safe to call _get_instance_private on <a href="../glib
|
4897
|
+
<p>It is safe to call _get_instance_private on <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> or invalid object since
|
4898
4898
|
it's only adding an offset to the instance pointer. In that case the returned
|
4899
4899
|
pointer must not be dereferenced.</p>
|
4900
4900
|
<div class="refsect3">
|
4901
|
-
<a name="
|
4901
|
+
<a name="G-ADD-PRIVATE.parameters"></a><h4>Parameters</h4>
|
4902
4902
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4903
4903
|
<colgroup>
|
4904
4904
|
<col width="150px" class="parameters_name">
|
@@ -4926,7 +4926,7 @@ structure for <em class="parameter"><code>TypeName</code></em>
|
|
4926
4926
|
and <a class="link" href="gobject-Type-Information.html#G-ADD-PRIVATE:CAPS" title="G_ADD_PRIVATE()"><code class="function">G_ADD_PRIVATE()</code></a> macros, since it depends on variable names from
|
4927
4927
|
those macros.</p>
|
4928
4928
|
<div class="refsect3">
|
4929
|
-
<a name="
|
4929
|
+
<a name="G-PRIVATE-OFFSET.parameters"></a><h4>Parameters</h4>
|
4930
4930
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4931
4931
|
<colgroup>
|
4932
4932
|
<col width="150px" class="parameters_name">
|
@@ -4962,7 +4962,7 @@ structure for <em class="parameter"><code>TypeName</code></em>
|
|
4962
4962
|
and <a class="link" href="gobject-Type-Information.html#G-ADD-PRIVATE:CAPS" title="G_ADD_PRIVATE()"><code class="function">G_ADD_PRIVATE()</code></a> macros, since it depends on variable names from
|
4963
4963
|
those macros.</p>
|
4964
4964
|
<div class="refsect3">
|
4965
|
-
<a name="
|
4965
|
+
<a name="G-PRIVATE-FIELD.parameters"></a><h4>Parameters</h4>
|
4966
4966
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4967
4967
|
<colgroup>
|
4968
4968
|
<col width="150px" class="parameters_name">
|
@@ -5009,7 +5009,7 @@ structure for <em class="parameter"><code>TypeName</code></em>
|
|
5009
5009
|
and <a class="link" href="gobject-Type-Information.html#G-ADD-PRIVATE:CAPS" title="G_ADD_PRIVATE()"><code class="function">G_ADD_PRIVATE()</code></a> macros, since it depends on variable names from
|
5010
5010
|
those macros.</p>
|
5011
5011
|
<div class="refsect3">
|
5012
|
-
<a name="
|
5012
|
+
<a name="G-PRIVATE-FIELD-P.parameters"></a><h4>Parameters</h4>
|
5013
5013
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5014
5014
|
<colgroup>
|
5015
5015
|
<col width="150px" class="parameters_name">
|
@@ -5050,7 +5050,7 @@ function.</p>
|
|
5050
5050
|
name <code class="literal">t_n ## _default_init</code>, and the interface structure to have the
|
5051
5051
|
name <code class="literal">TN ## Interface</code>.</p>
|
5052
5052
|
<div class="refsect3">
|
5053
|
-
<a name="
|
5053
|
+
<a name="G-DEFINE-INTERFACE.parameters"></a><h4>Parameters</h4>
|
5054
5054
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5055
5055
|
<colgroup>
|
5056
5056
|
<col width="150px" class="parameters_name">
|
@@ -5091,7 +5091,7 @@ via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CA
|
|
5091
5091
|
<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for a similar example using
|
5092
5092
|
<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()"><code class="function">G_DEFINE_TYPE_WITH_CODE()</code></a>.</p>
|
5093
5093
|
<div class="refsect3">
|
5094
|
-
<a name="
|
5094
|
+
<a name="G-DEFINE-INTERFACE-WITH-CODE.parameters"></a><h4>Parameters</h4>
|
5095
5095
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5096
5096
|
<colgroup>
|
5097
5097
|
<col width="150px" class="parameters_name">
|
@@ -5135,7 +5135,7 @@ See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:C
|
|
5135
5135
|
<p>Note that this macro can only be used together with the G_DEFINE_TYPE_*
|
5136
5136
|
macros, since it depends on variable names from those macros.</p>
|
5137
5137
|
<div class="refsect3">
|
5138
|
-
<a name="
|
5138
|
+
<a name="G-IMPLEMENT-INTERFACE.parameters"></a><h4>Parameters</h4>
|
5139
5139
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5140
5140
|
<colgroup>
|
5141
5141
|
<col width="150px" class="parameters_name">
|
@@ -5238,11 +5238,11 @@ GType
|
|
5238
5238
|
<span class="function">gtk_gadget_get_type</span> <span class="gtkdoc opt">(</span><span class="gtkdoc kwb">void</span><span class="gtkdoc opt">)</span>
|
5239
5239
|
<span class="gtkdoc opt">{</span>
|
5240
5240
|
<span class="gtkdoc kwb">static</span> <span class="gtkdoc kwc">volatile</span> gsize g_define_type_id__volatile <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span>
|
5241
|
-
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="../glib
|
5241
|
+
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="../glib-Threads.html#g-once-init-enter">g_once_init_enter</a></span> <span class="gtkdoc opt">(&</span>g_define_type_id__volatile<span class="gtkdoc opt">))</span>
|
5242
5242
|
<span class="gtkdoc opt">{</span>
|
5243
5243
|
GType g_define_type_id <span class="gtkdoc opt">=</span>
|
5244
5244
|
<span class="function"><a href="gobject-Type-Information.html#g-type-register-static-simple">g_type_register_static_simple</a></span> <span class="gtkdoc opt">(</span>GTK_TYPE_WIDGET<span class="gtkdoc opt">,</span>
|
5245
|
-
<span class="function"><a href="../glib
|
5245
|
+
<span class="function"><a href="../glib-Quarks.html#g-intern-static-string">g_intern_static_string</a></span> <span class="gtkdoc opt">(</span><span class="string">"GtkGadget"</span><span class="gtkdoc opt">),</span>
|
5246
5246
|
<span class="keyword">sizeof</span> <span class="gtkdoc opt">(</span>GtkGadgetClass<span class="gtkdoc opt">),</span>
|
5247
5247
|
<span class="gtkdoc opt">(</span>GClassInitFunc<span class="gtkdoc opt">)</span> gtk_gadget_class_intern_init<span class="gtkdoc opt">,</span>
|
5248
5248
|
<span class="keyword">sizeof</span> <span class="gtkdoc opt">(</span>GtkGadget<span class="gtkdoc opt">),</span>
|
@@ -5254,7 +5254,7 @@ GType
|
|
5254
5254
|
<span class="gtkdoc opt">};</span>
|
5255
5255
|
<span class="function"><a href="gobject-Type-Information.html#g-type-add-interface-static">g_type_add_interface_static</a></span> <span class="gtkdoc opt">(</span>g_define_type_id<span class="gtkdoc opt">,</span> TYPE_GIZMO<span class="gtkdoc opt">, &</span>g_implement_interface_info<span class="gtkdoc opt">);</span>
|
5256
5256
|
<span class="gtkdoc opt">}</span>
|
5257
|
-
<span class="function"><a href="../glib
|
5257
|
+
<span class="function"><a href="../glib-Threads.html#g-once-init-leave">g_once_init_leave</a></span> <span class="gtkdoc opt">(&</span>g_define_type_id__volatile<span class="gtkdoc opt">,</span> g_define_type_id<span class="gtkdoc opt">);</span>
|
5258
5258
|
<span class="gtkdoc opt">}</span>
|
5259
5259
|
<span class="keyword">return</span> g_define_type_id__volatile<span class="gtkdoc opt">;</span>
|
5260
5260
|
<span class="gtkdoc opt">}</span></pre></td>
|
@@ -5268,7 +5268,7 @@ The only pieces which have to be manually provided are the definitions of
|
|
5268
5268
|
the instance and class structure and the definitions of the instance and
|
5269
5269
|
class init functions.</p>
|
5270
5270
|
<div class="refsect3">
|
5271
|
-
<a name="
|
5271
|
+
<a name="G-DEFINE-TYPE-EXTENDED.parameters"></a><h4>Parameters</h4>
|
5272
5272
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5273
5273
|
<colgroup>
|
5274
5274
|
<col width="150px" class="parameters_name">
|
@@ -5315,7 +5315,7 @@ separated by '_'.</p></td>
|
|
5315
5315
|
<p>A convenience macro for boxed type implementations, which defines a
|
5316
5316
|
<code class="function">type_name_get_type()</code> function registering the boxed type.</p>
|
5317
5317
|
<div class="refsect3">
|
5318
|
-
<a name="
|
5318
|
+
<a name="G-DEFINE-BOXED-TYPE.parameters"></a><h4>Parameters</h4>
|
5319
5319
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5320
5320
|
<colgroup>
|
5321
5321
|
<col width="150px" class="parameters_name">
|
@@ -5379,7 +5379,7 @@ Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TY
|
|
5379
5379
|
<p>Similarly to the <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()"><code class="literal">G_DEFINE_TYPE</code></a> family of macros, the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the newly
|
5380
5380
|
defined boxed type is exposed in the <code class="literal">g_define_type_id</code> variable.</p>
|
5381
5381
|
<div class="refsect3">
|
5382
|
-
<a name="
|
5382
|
+
<a name="G-DEFINE-BOXED-TYPE-WITH-CODE.parameters"></a><h4>Parameters</h4>
|
5383
5383
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5384
5384
|
<colgroup>
|
5385
5385
|
<col width="150px" class="parameters_name">
|
@@ -5426,7 +5426,7 @@ separated by '_'</p></td>
|
|
5426
5426
|
<p>A convenience macro for pointer type implementations, which defines a
|
5427
5427
|
<code class="function">type_name_get_type()</code> function registering the pointer type.</p>
|
5428
5428
|
<div class="refsect3">
|
5429
|
-
<a name="
|
5429
|
+
<a name="G-DEFINE-POINTER-TYPE.parameters"></a><h4>Parameters</h4>
|
5430
5430
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5431
5431
|
<colgroup>
|
5432
5432
|
<col width="150px" class="parameters_name">
|
@@ -5459,7 +5459,7 @@ separated by '_'</p></td>
|
|
5459
5459
|
Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" title="G_DEFINE_POINTER_TYPE()"><code class="function">G_DEFINE_POINTER_TYPE()</code></a>, but allows to insert
|
5460
5460
|
custom code into the <code class="function">type_name_get_type()</code> function.</p>
|
5461
5461
|
<div class="refsect3">
|
5462
|
-
<a name="
|
5462
|
+
<a name="G-DEFINE-POINTER-TYPE-WITH-CODE.parameters"></a><h4>Parameters</h4>
|
5463
5463
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5464
5464
|
<colgroup>
|
5465
5465
|
<col width="150px" class="parameters_name">
|
@@ -5488,14 +5488,6 @@ separated by '_'</p></td>
|
|
5488
5488
|
</div>
|
5489
5489
|
<p class="since">Since: <a class="link" href="api-index-2-26.html#api-index-2.26">2.26</a></p>
|
5490
5490
|
</div>
|
5491
|
-
<hr>
|
5492
|
-
<div class="refsect2">
|
5493
|
-
<a name="G-TYPE-CHECKSUM:CAPS"></a><h3>G_TYPE_CHECKSUM</h3>
|
5494
|
-
<pre class="programlisting">#define G_TYPE_CHECKSUM (g_checksum_get_type ())
|
5495
|
-
</pre>
|
5496
|
-
<p>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="../glib/glib-Data-Checksums.html#GChecksum"><span class="type">GChecksum</span></a>.</p>
|
5497
|
-
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
5498
|
-
</div>
|
5499
5491
|
</div>
|
5500
5492
|
<div class="refsect1">
|
5501
5493
|
<a name="gobject-Type-Information.other_details"></a><h2>Types and Values</h2>
|
@@ -5569,7 +5561,7 @@ its instances.</p>
|
|
5569
5561
|
copy of this structure, so its memory does not need to be persistent
|
5570
5562
|
across invocation of <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a>.</p>
|
5571
5563
|
<div class="refsect3">
|
5572
|
-
<a name="
|
5564
|
+
<a name="GTypeInfo.members"></a><h4>Members</h4>
|
5573
5565
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5574
5566
|
<colgroup>
|
5575
5567
|
<col width="300px" class="struct_members_name">
|
@@ -5578,7 +5570,7 @@ across invocation of <a class="link" href="gobject-Type-Information.html#g-type-
|
|
5578
5570
|
</colgroup>
|
5579
5571
|
<tbody>
|
5580
5572
|
<tr>
|
5581
|
-
<td class="struct_member_name"><p><a href="../glib
|
5573
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.class-size"></a>class_size</code></em>;</p></td>
|
5582
5574
|
<td class="struct_member_description"><p>Size of the class structure (required for interface, classed and instantiatable types)</p></td>
|
5583
5575
|
<td class="struct_member_annotations"> </td>
|
5584
5576
|
</tr>
|
@@ -5610,18 +5602,18 @@ finalization function for interface types. (optional)</p></td>
|
|
5610
5602
|
<td class="struct_member_annotations"> </td>
|
5611
5603
|
</tr>
|
5612
5604
|
<tr>
|
5613
|
-
<td class="struct_member_name"><p><a href="../glib
|
5605
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> <em class="structfield"><code><a name="GTypeInfo.class-data"></a>class_data</code></em>;</p></td>
|
5614
5606
|
<td class="struct_member_description"><p>User-supplied data passed to the class init/finalize functions</p></td>
|
5615
5607
|
<td class="struct_member_annotations"> </td>
|
5616
5608
|
</tr>
|
5617
5609
|
<tr>
|
5618
|
-
<td class="struct_member_name"><p><a href="../glib
|
5610
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.instance-size"></a>instance_size</code></em>;</p></td>
|
5619
5611
|
<td class="struct_member_description"><p>Size of the instance (object) structure (required for instantiatable types only)</p></td>
|
5620
5612
|
<td class="struct_member_annotations"> </td>
|
5621
5613
|
</tr>
|
5622
5614
|
<tr>
|
5623
|
-
<td class="struct_member_name"><p><a href="../glib
|
5624
|
-
<td class="struct_member_description"><p>Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the
|
5615
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.n-preallocs"></a>n_preallocs</code></em>;</p></td>
|
5616
|
+
<td class="struct_member_description"><p>Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the slice allocator now.</p></td>
|
5625
5617
|
<td class="struct_member_annotations"> </td>
|
5626
5618
|
</tr>
|
5627
5619
|
<tr>
|
@@ -5649,7 +5641,7 @@ of this type (usually only useful for fundamental types)</p></td>
|
|
5649
5641
|
<p>A structure that provides information to the type system which is
|
5650
5642
|
used specifically for managing fundamental types.</p>
|
5651
5643
|
<div class="refsect3">
|
5652
|
-
<a name="
|
5644
|
+
<a name="GTypeFundamentalInfo.members"></a><h4>Members</h4>
|
5653
5645
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5654
5646
|
<colgroup>
|
5655
5647
|
<col width="300px" class="struct_members_name">
|
@@ -5676,7 +5668,7 @@ used specifically for managing fundamental types.</p>
|
|
5676
5668
|
<p>A structure that provides information to the type system which is
|
5677
5669
|
used specifically for managing interface types.</p>
|
5678
5670
|
<div class="refsect3">
|
5679
|
-
<a name="
|
5671
|
+
<a name="GInterfaceInfo.members"></a><h4>Members</h4>
|
5680
5672
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5681
5673
|
<colgroup>
|
5682
5674
|
<col width="300px" class="struct_members_name">
|
@@ -5695,7 +5687,7 @@ used specifically for managing interface types.</p>
|
|
5695
5687
|
<td class="struct_member_annotations"> </td>
|
5696
5688
|
</tr>
|
5697
5689
|
<tr>
|
5698
|
-
<td class="struct_member_name"><p><a href="../glib
|
5690
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GInterfaceInfo.interface-data"></a>interface_data</code></em>;</p></td>
|
5699
5691
|
<td class="struct_member_description"><p>user-supplied data passed to the interface init/finalize functions</p></td>
|
5700
5692
|
<td class="struct_member_annotations"> </td>
|
5701
5693
|
</tr>
|
@@ -5728,7 +5720,7 @@ used specifically for managing interface types.</p>
|
|
5728
5720
|
<p>The <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> provides the functions required by the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>
|
5729
5721
|
implementation, to serve as a container for values of a type.</p>
|
5730
5722
|
<div class="refsect3">
|
5731
|
-
<a name="
|
5723
|
+
<a name="GTypeValueTable.members"></a><h4>Members</h4>
|
5732
5724
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
5733
5725
|
<colgroup>
|
5734
5726
|
<col width="300px" class="struct_members_name">
|
@@ -5745,14 +5737,14 @@ directly into the value->data array. The data array of
|
|
5745
5737
|
the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> passed into this function was zero-filled
|
5746
5738
|
with <code class="literal"><code class="function">memset()</code></code>, so no care has to be taken to free any
|
5747
5739
|
old contents. E.g. for the implementation of a string
|
5748
|
-
value that may never be <a href="../glib
|
5740
|
+
value that may never be <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the implementation might
|
5749
5741
|
look like:</p>
|
5750
5742
|
<div class="informalexample">
|
5751
5743
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
5752
5744
|
<tbody>
|
5753
5745
|
<tr>
|
5754
5746
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
5755
|
-
<td class="listing_code"><pre class="programlisting">value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
5747
|
+
<td class="listing_code"><pre class="programlisting">value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span><span class="string">""</span><span class="gtkdoc opt">);</span></pre></td>
|
5756
5748
|
</tr>
|
5757
5749
|
</tbody>
|
5758
5750
|
</table>
|
@@ -5779,7 +5771,7 @@ this function returns. E.g. for our above string type:</p>
|
|
5779
5771
|
3</pre></td>
|
5780
5772
|
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc slc">// only free strings without a specific flag for static storage</span>
|
5781
5773
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!(</span>value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">1</span><span class="gtkdoc opt">].</span>v_uint <span class="gtkdoc opt">&</span> G_VALUE_NOCOPY_CONTENTS<span class="gtkdoc opt">))</span>
|
5782
|
-
<span class="function"><a href="../glib
|
5774
|
+
<span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">);</span></pre></td>
|
5783
5775
|
</tr>
|
5784
5776
|
</tbody>
|
5785
5777
|
</table>
|
@@ -5809,7 +5801,7 @@ remain valid. String type example:</p>
|
|
5809
5801
|
<tbody>
|
5810
5802
|
<tr>
|
5811
5803
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
5812
|
-
<td class="listing_code"><pre class="programlisting">dest_value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
5804
|
+
<td class="listing_code"><pre class="programlisting">dest_value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>src_value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">);</span></pre></td>
|
5813
5805
|
</tr>
|
5814
5806
|
</tbody>
|
5815
5807
|
</table>
|
@@ -5841,7 +5833,7 @@ the current contents. To extend on our above string example:</p>
|
|
5841
5833
|
<td class="struct_member_annotations"> </td>
|
5842
5834
|
</tr>
|
5843
5835
|
<tr>
|
5844
|
-
<td class="struct_member_name"><p>const <a href="../glib
|
5836
|
+
<td class="struct_member_name"><p>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeValueTable.collect-format"></a>collect_format</code></em>;</p></td>
|
5845
5837
|
<td class="struct_member_description">
|
5846
5838
|
<p>A string format describing how to collect the contents of
|
5847
5839
|
this value bit-by-bit. Each character in the format represents
|
@@ -5868,7 +5860,7 @@ values collected from a variable argument list into contents
|
|
5868
5860
|
suitable for storage in a GValue. This function should setup
|
5869
5861
|
<em class="parameter"><code>value</code></em>
|
5870
5862
|
similar to <code class="function">value_init()</code>; e.g. for a string value that
|
5871
|
-
does not allow <a href="../glib
|
5863
|
+
does not allow <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointers, it needs to either spew an error,
|
5872
5864
|
or do an implicit conversion by storing an empty string.
|
5873
5865
|
The <em class="parameter"><code>value</code></em>
|
5874
5866
|
passed in to this function has a zero-filled data
|
@@ -5910,7 +5902,7 @@ For our above string example, we continue with:</p>
|
|
5910
5902
|
10
|
5911
5903
|
11</pre></td>
|
5912
5904
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span> <span class="gtkdoc opt">(!</span>collect_values<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">)</span>
|
5913
|
-
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
5905
|
+
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span><span class="string">""</span><span class="gtkdoc opt">);</span>
|
5914
5906
|
<span class="keyword">else if</span> <span class="gtkdoc opt">(</span>collect_flags <span class="gtkdoc opt">&</span> G_VALUE_NOCOPY_CONTENTS<span class="gtkdoc opt">)</span>
|
5915
5907
|
<span class="gtkdoc opt">{</span>
|
5916
5908
|
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> collect_values<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">;</span>
|
@@ -5918,7 +5910,7 @@ value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><
|
|
5918
5910
|
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">1</span><span class="gtkdoc opt">].</span>v_uint <span class="gtkdoc opt">=</span> G_VALUE_NOCOPY_CONTENTS<span class="gtkdoc opt">;</span>
|
5919
5911
|
<span class="gtkdoc opt">}</span>
|
5920
5912
|
<span class="keyword">else</span>
|
5921
|
-
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
5913
|
+
value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>collect_values<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">);</span>
|
5922
5914
|
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span></pre></td>
|
5923
5915
|
</tr>
|
5924
5916
|
</tbody>
|
@@ -5956,7 +5948,7 @@ value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><
|
|
5956
5948
|
<span class="keyword">return</span> NULL<span class="gtkdoc opt">;</span>
|
5957
5949
|
<span class="gtkdoc opt">}</span>
|
5958
5950
|
<span class="keyword">else</span>
|
5959
|
-
<span class="keyword">return</span> <span class="function"><a href="../glib
|
5951
|
+
<span class="keyword">return</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span> <span class="gtkdoc opt">(</span><span class="string">"Object passed as invalid NULL pointer"</span><span class="gtkdoc opt">);</span>
|
5960
5952
|
<span class="gtkdoc opt">}</span></pre></td>
|
5961
5953
|
</tr>
|
5962
5954
|
</tbody>
|
@@ -5969,9 +5961,9 @@ regardless of <em class="parameter"><code>collect_flags</code></em>
|
|
5969
5961
|
. For invalid objects, the example
|
5970
5962
|
returns a newly allocated string without altering <em class="parameter"><code>value</code></em>
|
5971
5963
|
.
|
5972
|
-
Upon success, <code class="function">collect_value()</code> needs to return <a href="../glib
|
5964
|
+
Upon success, <code class="function">collect_value()</code> needs to return <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If, however,
|
5973
5965
|
an error condition occurred, <code class="function">collect_value()</code> may spew an
|
5974
|
-
error by returning a newly allocated non-<a href="../glib
|
5966
|
+
error by returning a newly allocated non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> string, giving
|
5975
5967
|
a suitable description of the error condition.
|
5976
5968
|
The calling code makes no assumptions about the <em class="parameter"><code>value</code></em>
|
5977
5969
|
contents being valid upon error returns, <em class="parameter"><code>value</code></em>
|
@@ -5980,13 +5972,13 @@ a good idea to not allocate <a class="link" href="gobject-Generic-values.html#GV
|
|
5980
5972
|
an error, however, <code class="function">collect_values()</code> is not obliged to return
|
5981
5973
|
a correctly setup <em class="parameter"><code>value</code></em>
|
5982
5974
|
for error returns, simply because
|
5983
|
-
any non-<a href="../glib
|
5975
|
+
any non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return is considered a fatal condition so further
|
5984
5976
|
program behaviour is undefined.</p>
|
5985
5977
|
</td>
|
5986
5978
|
<td class="struct_member_annotations"> </td>
|
5987
5979
|
</tr>
|
5988
5980
|
<tr>
|
5989
|
-
<td class="struct_member_name"><p>const <a href="../glib
|
5981
|
+
<td class="struct_member_name"><p>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeValueTable.lcopy-format"></a>lcopy_format</code></em>;</p></td>
|
5990
5982
|
<td class="struct_member_description"><p>Format description of the arguments to collect for <em class="parameter"><code>lcopy_value</code></em>
|
5991
5983
|
,
|
5992
5984
|
analogous to <em class="parameter"><code>collect_format</code></em>
|
@@ -6027,11 +6019,11 @@ To complete the string example:</p>
|
|
6027
6019
|
7</pre></td>
|
6028
6020
|
<td class="listing_code"><pre class="programlisting">gchar <span class="gtkdoc opt">**</span>string_p <span class="gtkdoc opt">=</span> collect_values<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">;</span>
|
6029
6021
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span>string_p<span class="gtkdoc opt">)</span>
|
6030
|
-
<span class="keyword">return</span> <span class="function"><a href="../glib
|
6022
|
+
<span class="keyword">return</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span> <span class="gtkdoc opt">(</span><span class="string">"string location passed as NULL"</span><span class="gtkdoc opt">);</span>
|
6031
6023
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span>collect_flags <span class="gtkdoc opt">&</span> G_VALUE_NOCOPY_CONTENTS<span class="gtkdoc opt">)</span>
|
6032
6024
|
<span class="gtkdoc opt">*</span>string_p <span class="gtkdoc opt">=</span> value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">;</span>
|
6033
6025
|
<span class="keyword">else</span>
|
6034
|
-
<span class="gtkdoc opt">*</span>string_p <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
6026
|
+
<span class="gtkdoc opt">*</span>string_p <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup">g_strdup</a></span> <span class="gtkdoc opt">(</span>value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">);</span></pre></td>
|
6035
6027
|
</tr>
|
6036
6028
|
</tbody>
|
6037
6029
|
</table>
|
@@ -6056,7 +6048,7 @@ reference-counted types:</p>
|
|
6056
6048
|
10</pre></td>
|
6057
6049
|
<td class="listing_code"><pre class="programlisting">GObject <span class="gtkdoc opt">**</span>object_p <span class="gtkdoc opt">=</span> collect_values<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">;</span>
|
6058
6050
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span>object_p<span class="gtkdoc opt">)</span>
|
6059
|
-
<span class="keyword">return</span> <span class="function"><a href="../glib
|
6051
|
+
<span class="keyword">return</span> <span class="function"><a href="../glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span> <span class="gtkdoc opt">(</span><span class="string">"object location passed as NULL"</span><span class="gtkdoc opt">);</span>
|
6060
6052
|
<span class="keyword">if</span> <span class="gtkdoc opt">(!</span>value<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">[</span><span class="number">0</span><span class="gtkdoc opt">].</span>v_pointer<span class="gtkdoc opt">)</span>
|
6061
6053
|
<span class="gtkdoc opt">*</span>object_p <span class="gtkdoc opt">=</span> NULL<span class="gtkdoc opt">;</span>
|
6062
6054
|
<span class="keyword">else if</span> <span class="gtkdoc opt">(</span>collect_flags <span class="gtkdoc opt">&</span> G_VALUE_NOCOPY_CONTENTS<span class="gtkdoc opt">)</span> <span class="gtkdoc slc">// always honour</span>
|
@@ -6096,7 +6088,7 @@ is now deprecated.</p>
|
|
6096
6088
|
<p>If you need to enable debugging features, use the GOBJECT_DEBUG
|
6097
6089
|
environment variable.</p>
|
6098
6090
|
<div class="refsect3">
|
6099
|
-
<a name="
|
6091
|
+
<a name="GTypeDebugFlags.members"></a><h4>Members</h4>
|
6100
6092
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6101
6093
|
<colgroup>
|
6102
6094
|
<col width="300px" class="enum_members_name">
|
@@ -6156,7 +6148,7 @@ environment variable.</p>
|
|
6156
6148
|
<p>A structure holding information for a specific type.
|
6157
6149
|
It is filled in by the <a class="link" href="gobject-Type-Information.html#g-type-query" title="g_type_query ()"><code class="function">g_type_query()</code></a> function.</p>
|
6158
6150
|
<div class="refsect3">
|
6159
|
-
<a name="
|
6151
|
+
<a name="GTypeQuery.members"></a><h4>Members</h4>
|
6160
6152
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6161
6153
|
<colgroup>
|
6162
6154
|
<col width="300px" class="struct_members_name">
|
@@ -6170,17 +6162,17 @@ It is filled in by the <a class="link" href="gobject-Type-Information.html#g-typ
|
|
6170
6162
|
<td class="struct_member_annotations"> </td>
|
6171
6163
|
</tr>
|
6172
6164
|
<tr>
|
6173
|
-
<td class="struct_member_name"><p>const <a href="../glib
|
6165
|
+
<td class="struct_member_name"><p>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeQuery.type-name"></a>type_name</code></em>;</p></td>
|
6174
6166
|
<td class="struct_member_description"><p>the name of the type</p></td>
|
6175
6167
|
<td class="struct_member_annotations"> </td>
|
6176
6168
|
</tr>
|
6177
6169
|
<tr>
|
6178
|
-
<td class="struct_member_name"><p><a href="../glib
|
6170
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GTypeQuery.class-size"></a>class_size</code></em>;</p></td>
|
6179
6171
|
<td class="struct_member_description"><p>the size of the class structure</p></td>
|
6180
6172
|
<td class="struct_member_annotations"> </td>
|
6181
6173
|
</tr>
|
6182
6174
|
<tr>
|
6183
|
-
<td class="struct_member_name"><p><a href="../glib
|
6175
|
+
<td class="struct_member_name"><p><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GTypeQuery.instance-size"></a>instance_size</code></em>;</p></td>
|
6184
6176
|
<td class="struct_member_description"><p>the size of the instance structure</p></td>
|
6185
6177
|
<td class="struct_member_annotations"> </td>
|
6186
6178
|
</tr>
|
@@ -6193,7 +6185,7 @@ It is filled in by the <a class="link" href="gobject-Type-Information.html#g-typ
|
|
6193
6185
|
<a name="GTypeFlags"></a><h3>enum GTypeFlags</h3>
|
6194
6186
|
<p>Bit masks used to check or determine characteristics of a type.</p>
|
6195
6187
|
<div class="refsect3">
|
6196
|
-
<a name="
|
6188
|
+
<a name="GTypeFlags.members"></a><h4>Members</h4>
|
6197
6189
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6198
6190
|
<colgroup>
|
6199
6191
|
<col width="300px" class="enum_members_name">
|
@@ -6228,7 +6220,7 @@ It is filled in by the <a class="link" href="gobject-Type-Information.html#g-typ
|
|
6228
6220
|
<p>Bit masks used to check or determine specific characteristics of a
|
6229
6221
|
fundamental type.</p>
|
6230
6222
|
<div class="refsect3">
|
6231
|
-
<a name="
|
6223
|
+
<a name="GTypeFundamentalFlags.members"></a><h4>Members</h4>
|
6232
6224
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
6233
6225
|
<colgroup>
|
6234
6226
|
<col width="300px" class="enum_members_name">
|
@@ -6296,7 +6288,7 @@ void return type.</p>
|
|
6296
6288
|
<a name="G-TYPE-CHAR:CAPS"></a><h3>G_TYPE_CHAR</h3>
|
6297
6289
|
<pre class="programlisting">#define G_TYPE_CHAR G_TYPE_MAKE_FUNDAMENTAL (3)
|
6298
6290
|
</pre>
|
6299
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6291
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>.
|
6300
6292
|
The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed integer.
|
6301
6293
|
This may or may not be the same type a the C type "gchar".</p>
|
6302
6294
|
</div>
|
@@ -6305,56 +6297,56 @@ This may or may not be the same type a the C type "gchar".</p>
|
|
6305
6297
|
<a name="G-TYPE-UCHAR:CAPS"></a><h3>G_TYPE_UCHAR</h3>
|
6306
6298
|
<pre class="programlisting">#define G_TYPE_UCHAR G_TYPE_MAKE_FUNDAMENTAL (4)
|
6307
6299
|
</pre>
|
6308
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6300
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>.</p>
|
6309
6301
|
</div>
|
6310
6302
|
<hr>
|
6311
6303
|
<div class="refsect2">
|
6312
6304
|
<a name="G-TYPE-BOOLEAN:CAPS"></a><h3>G_TYPE_BOOLEAN</h3>
|
6313
6305
|
<pre class="programlisting">#define G_TYPE_BOOLEAN G_TYPE_MAKE_FUNDAMENTAL (5)
|
6314
6306
|
</pre>
|
6315
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6307
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>.</p>
|
6316
6308
|
</div>
|
6317
6309
|
<hr>
|
6318
6310
|
<div class="refsect2">
|
6319
6311
|
<a name="G-TYPE-INT:CAPS"></a><h3>G_TYPE_INT</h3>
|
6320
6312
|
<pre class="programlisting">#define G_TYPE_INT G_TYPE_MAKE_FUNDAMENTAL (6)
|
6321
6313
|
</pre>
|
6322
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6314
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a>.</p>
|
6323
6315
|
</div>
|
6324
6316
|
<hr>
|
6325
6317
|
<div class="refsect2">
|
6326
6318
|
<a name="G-TYPE-UINT:CAPS"></a><h3>G_TYPE_UINT</h3>
|
6327
6319
|
<pre class="programlisting">#define G_TYPE_UINT G_TYPE_MAKE_FUNDAMENTAL (7)
|
6328
6320
|
</pre>
|
6329
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6321
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a>.</p>
|
6330
6322
|
</div>
|
6331
6323
|
<hr>
|
6332
6324
|
<div class="refsect2">
|
6333
6325
|
<a name="G-TYPE-LONG:CAPS"></a><h3>G_TYPE_LONG</h3>
|
6334
6326
|
<pre class="programlisting">#define G_TYPE_LONG G_TYPE_MAKE_FUNDAMENTAL (8)
|
6335
6327
|
</pre>
|
6336
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6328
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#glong"><span class="type">glong</span></a>.</p>
|
6337
6329
|
</div>
|
6338
6330
|
<hr>
|
6339
6331
|
<div class="refsect2">
|
6340
6332
|
<a name="G-TYPE-ULONG:CAPS"></a><h3>G_TYPE_ULONG</h3>
|
6341
6333
|
<pre class="programlisting">#define G_TYPE_ULONG G_TYPE_MAKE_FUNDAMENTAL (9)
|
6342
6334
|
</pre>
|
6343
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6335
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gulong"><span class="type">gulong</span></a>.</p>
|
6344
6336
|
</div>
|
6345
6337
|
<hr>
|
6346
6338
|
<div class="refsect2">
|
6347
6339
|
<a name="G-TYPE-INT64:CAPS"></a><h3>G_TYPE_INT64</h3>
|
6348
6340
|
<pre class="programlisting">#define G_TYPE_INT64 G_TYPE_MAKE_FUNDAMENTAL (10)
|
6349
6341
|
</pre>
|
6350
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6342
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>.</p>
|
6351
6343
|
</div>
|
6352
6344
|
<hr>
|
6353
6345
|
<div class="refsect2">
|
6354
6346
|
<a name="G-TYPE-UINT64:CAPS"></a><h3>G_TYPE_UINT64</h3>
|
6355
6347
|
<pre class="programlisting">#define G_TYPE_UINT64 G_TYPE_MAKE_FUNDAMENTAL (11)
|
6356
6348
|
</pre>
|
6357
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6349
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>.</p>
|
6358
6350
|
</div>
|
6359
6351
|
<hr>
|
6360
6352
|
<div class="refsect2">
|
@@ -6375,14 +6367,14 @@ This may or may not be the same type a the C type "gchar".</p>
|
|
6375
6367
|
<a name="G-TYPE-FLOAT:CAPS"></a><h3>G_TYPE_FLOAT</h3>
|
6376
6368
|
<pre class="programlisting">#define G_TYPE_FLOAT G_TYPE_MAKE_FUNDAMENTAL (14)
|
6377
6369
|
</pre>
|
6378
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6370
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>.</p>
|
6379
6371
|
</div>
|
6380
6372
|
<hr>
|
6381
6373
|
<div class="refsect2">
|
6382
6374
|
<a name="G-TYPE-DOUBLE:CAPS"></a><h3>G_TYPE_DOUBLE</h3>
|
6383
6375
|
<pre class="programlisting">#define G_TYPE_DOUBLE G_TYPE_MAKE_FUNDAMENTAL (15)
|
6384
6376
|
</pre>
|
6385
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6377
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>.</p>
|
6386
6378
|
</div>
|
6387
6379
|
<hr>
|
6388
6380
|
<div class="refsect2">
|
@@ -6396,7 +6388,7 @@ This may or may not be the same type a the C type "gchar".</p>
|
|
6396
6388
|
<a name="G-TYPE-POINTER:CAPS"></a><h3>G_TYPE_POINTER</h3>
|
6397
6389
|
<pre class="programlisting">#define G_TYPE_POINTER G_TYPE_MAKE_FUNDAMENTAL (17)
|
6398
6390
|
</pre>
|
6399
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6391
|
+
<p>The fundamental type corresponding to <a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>.</p>
|
6400
6392
|
</div>
|
6401
6393
|
<hr>
|
6402
6394
|
<div class="refsect2">
|
@@ -6431,8 +6423,8 @@ This may or may not be the same type a the C type "gchar".</p>
|
|
6431
6423
|
<a name="G-TYPE-VARIANT:CAPS"></a><h3>G_TYPE_VARIANT</h3>
|
6432
6424
|
<pre class="programlisting">#define G_TYPE_VARIANT G_TYPE_MAKE_FUNDAMENTAL (21)
|
6433
6425
|
</pre>
|
6434
|
-
<p>The fundamental type corresponding to <a href="../glib
|
6435
|
-
<p>All floating <a href="../glib
|
6426
|
+
<p>The fundamental type corresponding to <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>.</p>
|
6427
|
+
<p>All floating <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> instances passed through the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> system are
|
6436
6428
|
consumed.</p>
|
6437
6429
|
<p>Note that callbacks in closures, and signal handlers
|
6438
6430
|
for signals of return type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a>, must never return floating
|
@@ -6443,6 +6435,14 @@ with this fundamental type in 2.26.</p>
|
|
6443
6435
|
</div>
|
6444
6436
|
<hr>
|
6445
6437
|
<div class="refsect2">
|
6438
|
+
<a name="G-TYPE-CHECKSUM:CAPS"></a><h3>G_TYPE_CHECKSUM</h3>
|
6439
|
+
<pre class="programlisting">#define G_TYPE_CHECKSUM (g_checksum_get_type ())
|
6440
|
+
</pre>
|
6441
|
+
<p>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="../glib-Data-Checksums.html#GChecksum"><span class="type">GChecksum</span></a>.</p>
|
6442
|
+
<p class="since">Since: <a class="link" href="api-index-2-36.html#api-index-2.36">2.36</a></p>
|
6443
|
+
</div>
|
6444
|
+
<hr>
|
6445
|
+
<div class="refsect2">
|
6446
6446
|
<a name="G-TYPE-RESERVED-GLIB-FIRST:CAPS"></a><h3>G_TYPE_RESERVED_GLIB_FIRST</h3>
|
6447
6447
|
<pre class="programlisting">#define G_TYPE_RESERVED_GLIB_FIRST (22)
|
6448
6448
|
</pre>
|
@@ -6482,6 +6482,6 @@ type id with <a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUN
|
|
6482
6482
|
</div>
|
6483
6483
|
</div>
|
6484
6484
|
<div class="footer">
|
6485
|
-
<hr>Generated by GTK-Doc V1.
|
6485
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
6486
6486
|
</body>
|
6487
6487
|
</html>
|