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="GTypeModule.html" title="GTypeModule">
|
10
10
|
<link rel="next" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">
|
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">
|
@@ -191,7 +191,7 @@
|
|
191
191
|
</tr>
|
192
192
|
<tr>
|
193
193
|
<td class="function_type">
|
194
|
-
<a href="../glib
|
194
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
195
195
|
</td>
|
196
196
|
<td class="function_name">
|
197
197
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a> <span class="c_punctuation">()</span>
|
@@ -199,7 +199,7 @@
|
|
199
199
|
</tr>
|
200
200
|
<tr>
|
201
201
|
<td class="function_type">
|
202
|
-
<a href="../glib
|
202
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
203
203
|
</td>
|
204
204
|
<td class="function_name">
|
205
205
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()">g_object_newv</a> <span class="c_punctuation">()</span>
|
@@ -207,7 +207,7 @@
|
|
207
207
|
</tr>
|
208
208
|
<tr>
|
209
209
|
<td class="function_type">
|
210
|
-
<a href="../glib
|
210
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
211
211
|
</td>
|
212
212
|
<td class="function_name">
|
213
213
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a> <span class="c_punctuation">()</span>
|
@@ -223,7 +223,7 @@
|
|
223
223
|
</tr>
|
224
224
|
<tr>
|
225
225
|
<td class="function_type">
|
226
|
-
<a href="../glib
|
226
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
227
227
|
</td>
|
228
228
|
<td class="function_name">
|
229
229
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()">g_object_ref_sink</a> <span class="c_punctuation">()</span>
|
@@ -245,7 +245,7 @@
|
|
245
245
|
</tr>
|
246
246
|
<tr>
|
247
247
|
<td class="function_type">
|
248
|
-
<a href="../glib
|
248
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
249
249
|
</td>
|
250
250
|
<td class="function_name">
|
251
251
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-is-floating" title="g_object_is_floating ()">g_object_is_floating</a> <span class="c_punctuation">()</span>
|
@@ -325,7 +325,7 @@
|
|
325
325
|
</tr>
|
326
326
|
<tr>
|
327
327
|
<td class="function_type">
|
328
|
-
<a href="../glib
|
328
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
329
329
|
</td>
|
330
330
|
<td class="function_name">
|
331
331
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-connect" title="g_object_connect ()">g_object_connect</a> <span class="c_punctuation">()</span>
|
@@ -389,7 +389,7 @@
|
|
389
389
|
</tr>
|
390
390
|
<tr>
|
391
391
|
<td class="function_type">
|
392
|
-
<a href="../glib
|
392
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
393
393
|
</td>
|
394
394
|
<td class="function_name">
|
395
395
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-data" title="g_object_get_data ()">g_object_get_data</a> <span class="c_punctuation">()</span>
|
@@ -413,7 +413,7 @@
|
|
413
413
|
</tr>
|
414
414
|
<tr>
|
415
415
|
<td class="function_type">
|
416
|
-
<a href="../glib
|
416
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
417
417
|
</td>
|
418
418
|
<td class="function_name">
|
419
419
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-data" title="g_object_steal_data ()">g_object_steal_data</a> <span class="c_punctuation">()</span>
|
@@ -421,7 +421,7 @@
|
|
421
421
|
</tr>
|
422
422
|
<tr>
|
423
423
|
<td class="function_type">
|
424
|
-
<a href="../glib
|
424
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
425
425
|
</td>
|
426
426
|
<td class="function_name">
|
427
427
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-dup-data" title="g_object_dup_data ()">g_object_dup_data</a> <span class="c_punctuation">()</span>
|
@@ -429,7 +429,7 @@
|
|
429
429
|
</tr>
|
430
430
|
<tr>
|
431
431
|
<td class="function_type">
|
432
|
-
<a href="../glib
|
432
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
433
433
|
</td>
|
434
434
|
<td class="function_name">
|
435
435
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-replace-data" title="g_object_replace_data ()">g_object_replace_data</a> <span class="c_punctuation">()</span>
|
@@ -437,7 +437,7 @@
|
|
437
437
|
</tr>
|
438
438
|
<tr>
|
439
439
|
<td class="function_type">
|
440
|
-
<a href="../glib
|
440
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
441
441
|
</td>
|
442
442
|
<td class="function_name">
|
443
443
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()">g_object_get_qdata</a> <span class="c_punctuation">()</span>
|
@@ -461,7 +461,7 @@
|
|
461
461
|
</tr>
|
462
462
|
<tr>
|
463
463
|
<td class="function_type">
|
464
|
-
<a href="../glib
|
464
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
465
465
|
</td>
|
466
466
|
<td class="function_name">
|
467
467
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-qdata" title="g_object_steal_qdata ()">g_object_steal_qdata</a> <span class="c_punctuation">()</span>
|
@@ -469,7 +469,7 @@
|
|
469
469
|
</tr>
|
470
470
|
<tr>
|
471
471
|
<td class="function_type">
|
472
|
-
<a href="../glib
|
472
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
473
473
|
</td>
|
474
474
|
<td class="function_name">
|
475
475
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-dup-qdata" title="g_object_dup_qdata ()">g_object_dup_qdata</a> <span class="c_punctuation">()</span>
|
@@ -477,7 +477,7 @@
|
|
477
477
|
</tr>
|
478
478
|
<tr>
|
479
479
|
<td class="function_type">
|
480
|
-
<a href="../glib
|
480
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
481
481
|
</td>
|
482
482
|
<td class="function_name">
|
483
483
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-replace-qdata" title="g_object_replace_qdata ()">g_object_replace_qdata</a> <span class="c_punctuation">()</span>
|
@@ -563,7 +563,7 @@
|
|
563
563
|
</tr>
|
564
564
|
<tr>
|
565
565
|
<td class="function_type">
|
566
|
-
<a href="../glib
|
566
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
567
567
|
</td>
|
568
568
|
<td class="function_name">
|
569
569
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-get" title="g_weak_ref_get ()">g_weak_ref_get</a> <span class="c_punctuation">()</span>
|
@@ -718,7 +718,7 @@ language bindings that provide automated reference and memory ownership
|
|
718
718
|
maintenance (such as smart pointers or garbage collection) should not
|
719
719
|
expose floating references in their API.</p>
|
720
720
|
<p>Some object implementations may need to save an objects floating state
|
721
|
-
across certain code portions (an example is <
|
721
|
+
across certain code portions (an example is <span class="type">GtkMenu</span>), to achieve this,
|
722
722
|
the following sequence can be used:</p>
|
723
723
|
<div class="informalexample">
|
724
724
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -762,13 +762,13 @@ gboolean was_floating <span class="gtkdoc opt">=</span> <span class="function"><
|
|
762
762
|
<a name="GObjectGetPropertyFunc"></a><h3>GObjectGetPropertyFunc ()</h3>
|
763
763
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
764
764
|
<span class="c_punctuation">(</span>*GObjectGetPropertyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
765
|
-
<em class="parameter"><code><a href="../glib
|
765
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
766
766
|
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>,
|
767
767
|
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
768
768
|
<p>The type of the <em class="parameter"><code>get_property</code></em>
|
769
769
|
function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.</p>
|
770
770
|
<div class="refsect3">
|
771
|
-
<a name="
|
771
|
+
<a name="GObjectGetPropertyFunc.parameters"></a><h4>Parameters</h4>
|
772
772
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
773
773
|
<colgroup>
|
774
774
|
<col width="150px" class="parameters_name">
|
@@ -806,13 +806,13 @@ gboolean was_floating <span class="gtkdoc opt">=</span> <span class="function"><
|
|
806
806
|
<a name="GObjectSetPropertyFunc"></a><h3>GObjectSetPropertyFunc ()</h3>
|
807
807
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
808
808
|
<span class="c_punctuation">(</span>*GObjectSetPropertyFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
809
|
-
<em class="parameter"><code><a href="../glib
|
809
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
810
810
|
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>,
|
811
811
|
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
812
812
|
<p>The type of the <em class="parameter"><code>set_property</code></em>
|
813
813
|
function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.</p>
|
814
814
|
<div class="refsect3">
|
815
|
-
<a name="
|
815
|
+
<a name="GObjectSetPropertyFunc.parameters"></a><h4>Parameters</h4>
|
816
816
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
817
817
|
<colgroup>
|
818
818
|
<col width="150px" class="parameters_name">
|
@@ -853,7 +853,7 @@ gboolean was_floating <span class="gtkdoc opt">=</span> <span class="function"><
|
|
853
853
|
<p>The type of the <em class="parameter"><code>finalize</code></em>
|
854
854
|
function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.</p>
|
855
855
|
<div class="refsect3">
|
856
|
-
<a name="
|
856
|
+
<a name="GObjectFinalizeFunc.parameters"></a><h4>Parameters</h4>
|
857
857
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
858
858
|
<colgroup>
|
859
859
|
<col width="150px" class="parameters_name">
|
@@ -875,7 +875,7 @@ gboolean was_floating <span class="gtkdoc opt">=</span> <span class="function"><
|
|
875
875
|
</pre>
|
876
876
|
<p>Check if the passed in type id is a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> or derived from it.</p>
|
877
877
|
<div class="refsect3">
|
878
|
-
<a name="
|
878
|
+
<a name="G-TYPE-IS-OBJECT.parameters"></a><h4>Parameters</h4>
|
879
879
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
880
880
|
<colgroup>
|
881
881
|
<col width="150px" class="parameters_name">
|
@@ -890,8 +890,8 @@ gboolean was_floating <span class="gtkdoc opt">=</span> <span class="function"><
|
|
890
890
|
</table></div>
|
891
891
|
</div>
|
892
892
|
<div class="refsect3">
|
893
|
-
<a name="
|
894
|
-
<p> <a href="../glib
|
893
|
+
<a name="G-TYPE-IS-OBJECT.returns"></a><h4>Returns</h4>
|
894
|
+
<p> <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> or <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, indicating whether <em class="parameter"><code>type</code></em>
|
895
895
|
is a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>.</p>
|
896
896
|
</div>
|
897
897
|
</div>
|
@@ -904,7 +904,7 @@ is a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" tit
|
|
904
904
|
Depending on the current debugging level, this function may invoke
|
905
905
|
certain runtime checks to identify invalid casts.</p>
|
906
906
|
<div class="refsect3">
|
907
|
-
<a name="
|
907
|
+
<a name="G-OBJECT.parameters"></a><h4>Parameters</h4>
|
908
908
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
909
909
|
<colgroup>
|
910
910
|
<col width="150px" class="parameters_name">
|
@@ -926,7 +926,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
926
926
|
</pre>
|
927
927
|
<p>Checks whether a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> pointer is of type <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>.</p>
|
928
928
|
<div class="refsect3">
|
929
|
-
<a name="
|
929
|
+
<a name="G-IS-OBJECT.parameters"></a><h4>Parameters</h4>
|
930
930
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
931
931
|
<colgroup>
|
932
932
|
<col width="150px" class="parameters_name">
|
@@ -948,7 +948,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
948
948
|
</pre>
|
949
949
|
<p>Casts a derived <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure into a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure.</p>
|
950
950
|
<div class="refsect3">
|
951
|
-
<a name="
|
951
|
+
<a name="G-OBJECT-CLASS.parameters"></a><h4>Parameters</h4>
|
952
952
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
953
953
|
<colgroup>
|
954
954
|
<col width="150px" class="parameters_name">
|
@@ -972,7 +972,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
972
972
|
"is a" valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure of type
|
973
973
|
<a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> or derived.</p>
|
974
974
|
<div class="refsect3">
|
975
|
-
<a name="
|
975
|
+
<a name="G-IS-OBJECT-CLASS.parameters"></a><h4>Parameters</h4>
|
976
976
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
977
977
|
<colgroup>
|
978
978
|
<col width="150px" class="parameters_name">
|
@@ -994,7 +994,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
994
994
|
</pre>
|
995
995
|
<p>Get the class structure associated to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance.</p>
|
996
996
|
<div class="refsect3">
|
997
|
-
<a name="
|
997
|
+
<a name="G-OBJECT-GET-CLASS.parameters"></a><h4>Parameters</h4>
|
998
998
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
999
999
|
<colgroup>
|
1000
1000
|
<col width="150px" class="parameters_name">
|
@@ -1009,7 +1009,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
1009
1009
|
</table></div>
|
1010
1010
|
</div>
|
1011
1011
|
<div class="refsect3">
|
1012
|
-
<a name="
|
1012
|
+
<a name="G-OBJECT-GET-CLASS.returns"></a><h4>Returns</h4>
|
1013
1013
|
<p> pointer to object class structure.</p>
|
1014
1014
|
</div>
|
1015
1015
|
</div>
|
@@ -1020,7 +1020,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
1020
1020
|
</pre>
|
1021
1021
|
<p>Get the type id of an object.</p>
|
1022
1022
|
<div class="refsect3">
|
1023
|
-
<a name="
|
1023
|
+
<a name="G-OBJECT-TYPE.parameters"></a><h4>Parameters</h4>
|
1024
1024
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1025
1025
|
<colgroup>
|
1026
1026
|
<col width="150px" class="parameters_name">
|
@@ -1035,7 +1035,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
1035
1035
|
</table></div>
|
1036
1036
|
</div>
|
1037
1037
|
<div class="refsect3">
|
1038
|
-
<a name="
|
1038
|
+
<a name="G-OBJECT-TYPE.returns"></a><h4>Returns</h4>
|
1039
1039
|
<p> Type id of <em class="parameter"><code>object</code></em>
|
1040
1040
|
.</p>
|
1041
1041
|
</div>
|
@@ -1047,7 +1047,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
1047
1047
|
</pre>
|
1048
1048
|
<p>Get the name of an object's type.</p>
|
1049
1049
|
<div class="refsect3">
|
1050
|
-
<a name="
|
1050
|
+
<a name="G-OBJECT-TYPE-NAME.parameters"></a><h4>Parameters</h4>
|
1051
1051
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1052
1052
|
<colgroup>
|
1053
1053
|
<col width="150px" class="parameters_name">
|
@@ -1062,7 +1062,7 @@ certain runtime checks to identify invalid casts.</p>
|
|
1062
1062
|
</table></div>
|
1063
1063
|
</div>
|
1064
1064
|
<div class="refsect3">
|
1065
|
-
<a name="
|
1065
|
+
<a name="G-OBJECT-TYPE-NAME.returns"></a><h4>Returns</h4>
|
1066
1066
|
<p> Type name of <em class="parameter"><code>object</code></em>
|
1067
1067
|
. The string is owned by the type system and
|
1068
1068
|
should not be freed.</p>
|
@@ -1075,7 +1075,7 @@ should not be freed.</p>
|
|
1075
1075
|
</pre>
|
1076
1076
|
<p>Get the type id of a class structure.</p>
|
1077
1077
|
<div class="refsect3">
|
1078
|
-
<a name="
|
1078
|
+
<a name="G-OBJECT-CLASS-TYPE.parameters"></a><h4>Parameters</h4>
|
1079
1079
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1080
1080
|
<colgroup>
|
1081
1081
|
<col width="150px" class="parameters_name">
|
@@ -1090,7 +1090,7 @@ should not be freed.</p>
|
|
1090
1090
|
</table></div>
|
1091
1091
|
</div>
|
1092
1092
|
<div class="refsect3">
|
1093
|
-
<a name="
|
1093
|
+
<a name="G-OBJECT-CLASS-TYPE.returns"></a><h4>Returns</h4>
|
1094
1094
|
<p> Type id of <em class="parameter"><code>class</code></em>
|
1095
1095
|
.</p>
|
1096
1096
|
</div>
|
@@ -1102,7 +1102,7 @@ should not be freed.</p>
|
|
1102
1102
|
</pre>
|
1103
1103
|
<p>Return the name of a class structure's type.</p>
|
1104
1104
|
<div class="refsect3">
|
1105
|
-
<a name="
|
1105
|
+
<a name="G-OBJECT-CLASS-NAME.parameters"></a><h4>Parameters</h4>
|
1106
1106
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1107
1107
|
<colgroup>
|
1108
1108
|
<col width="150px" class="parameters_name">
|
@@ -1117,7 +1117,7 @@ should not be freed.</p>
|
|
1117
1117
|
</table></div>
|
1118
1118
|
</div>
|
1119
1119
|
<div class="refsect3">
|
1120
|
-
<a name="
|
1120
|
+
<a name="G-OBJECT-CLASS-NAME.returns"></a><h4>Returns</h4>
|
1121
1121
|
<p> Type name of <em class="parameter"><code>class</code></em>
|
1122
1122
|
. The string is owned by the type system and
|
1123
1123
|
should not be freed.</p>
|
@@ -1128,7 +1128,7 @@ should not be freed.</p>
|
|
1128
1128
|
<a name="g-object-class-install-property"></a><h3>g_object_class_install_property ()</h3>
|
1129
1129
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1130
1130
|
g_object_class_install_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1131
|
-
<em class="parameter"><code><a href="../glib
|
1131
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
1132
1132
|
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
1133
1133
|
<p>Installs a new property.</p>
|
1134
1134
|
<p>All properties should be installed during the class initializer. It
|
@@ -1139,7 +1139,7 @@ use of properties on the same type on other threads.</p>
|
|
1139
1139
|
by installing a property with the same name. This can be useful at times,
|
1140
1140
|
e.g. to change the range of allowed values or the default value.</p>
|
1141
1141
|
<div class="refsect3">
|
1142
|
-
<a name="
|
1142
|
+
<a name="g-object-class-install-property.parameters"></a><h4>Parameters</h4>
|
1143
1143
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1144
1144
|
<colgroup>
|
1145
1145
|
<col width="150px" class="parameters_name">
|
@@ -1171,7 +1171,7 @@ e.g. to change the range of allowed values or the default value.</p>
|
|
1171
1171
|
<a name="g-object-class-install-properties"></a><h3>g_object_class_install_properties ()</h3>
|
1172
1172
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1173
1173
|
g_object_class_install_properties (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1174
|
-
<em class="parameter"><code><a href="../glib
|
1174
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>,
|
1175
1175
|
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);</pre>
|
1176
1176
|
<p>Installs new properties from an array of <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpecs</span></a>.</p>
|
1177
1177
|
<p>All properties should be installed during the class initializer. It
|
@@ -1282,7 +1282,7 @@ class initialization:</p>
|
|
1282
1282
|
|
1283
1283
|
<p></p>
|
1284
1284
|
<div class="refsect3">
|
1285
|
-
<a name="
|
1285
|
+
<a name="g-object-class-install-properties.parameters"></a><h4>Parameters</h4>
|
1286
1286
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1287
1287
|
<colgroup>
|
1288
1288
|
<col width="150px" class="parameters_name">
|
@@ -1316,10 +1316,10 @@ defining the new properties. </p></td>
|
|
1316
1316
|
<a name="g-object-class-find-property"></a><h3>g_object_class_find_property ()</h3>
|
1317
1317
|
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
1318
1318
|
g_object_class_find_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1319
|
-
<em class="parameter"><code>const <a href="../glib
|
1319
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
1320
1320
|
<p>Looks up the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for a property of a class.</p>
|
1321
1321
|
<div class="refsect3">
|
1322
|
-
<a name="
|
1322
|
+
<a name="g-object-class-find-property.parameters"></a><h4>Parameters</h4>
|
1323
1323
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1324
1324
|
<colgroup>
|
1325
1325
|
<col width="150px" class="parameters_name">
|
@@ -1341,9 +1341,9 @@ g_object_class_find_property (<em class="parameter"><code><a class="link" href="
|
|
1341
1341
|
</table></div>
|
1342
1342
|
</div>
|
1343
1343
|
<div class="refsect3">
|
1344
|
-
<a name="
|
1344
|
+
<a name="g-object-class-find-property.returns"></a><h4>Returns</h4>
|
1345
1345
|
<p> the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property, or
|
1346
|
-
<a href="../glib
|
1346
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class doesn't have a property of that name. </p>
|
1347
1347
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1348
1348
|
</div>
|
1349
1349
|
</div>
|
@@ -1352,10 +1352,10 @@ g_object_class_find_property (<em class="parameter"><code><a class="link" href="
|
|
1352
1352
|
<a name="g-object-class-list-properties"></a><h3>g_object_class_list_properties ()</h3>
|
1353
1353
|
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
1354
1354
|
g_object_class_list_properties (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1355
|
-
<em class="parameter"><code><a href="../glib
|
1355
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>);</pre>
|
1356
1356
|
<p>Get an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* for all properties of a class.</p>
|
1357
1357
|
<div class="refsect3">
|
1358
|
-
<a name="
|
1358
|
+
<a name="g-object-class-list-properties.parameters"></a><h4>Parameters</h4>
|
1359
1359
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1360
1360
|
<colgroup>
|
1361
1361
|
<col width="150px" class="parameters_name">
|
@@ -1377,7 +1377,7 @@ g_object_class_list_properties (<em class="parameter"><code><a class="link" href
|
|
1377
1377
|
</table></div>
|
1378
1378
|
</div>
|
1379
1379
|
<div class="refsect3">
|
1380
|
-
<a name="
|
1380
|
+
<a name="g-object-class-list-properties.returns"></a><h4>Returns</h4>
|
1381
1381
|
<p> an array of
|
1382
1382
|
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* which should be freed after use. </p>
|
1383
1383
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
@@ -1388,8 +1388,8 @@ g_object_class_list_properties (<em class="parameter"><code><a class="link" href
|
|
1388
1388
|
<a name="g-object-class-override-property"></a><h3>g_object_class_override_property ()</h3>
|
1389
1389
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1390
1390
|
g_object_class_override_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1391
|
-
<em class="parameter"><code><a href="../glib
|
1392
|
-
<em class="parameter"><code>const <a href="../glib
|
1391
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
1392
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
1393
1393
|
<p>Registers <em class="parameter"><code>property_id</code></em>
|
1394
1394
|
as referring to a property with the name
|
1395
1395
|
<em class="parameter"><code>name</code></em>
|
@@ -1412,7 +1412,7 @@ correct. For virtually all uses, this makes no difference. If you
|
|
1412
1412
|
need to get the overridden property, you can call
|
1413
1413
|
<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()"><code class="function">g_param_spec_get_redirect_target()</code></a>.</p>
|
1414
1414
|
<div class="refsect3">
|
1415
|
-
<a name="
|
1415
|
+
<a name="g-object-class-override-property.parameters"></a><h4>Parameters</h4>
|
1416
1416
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1417
1417
|
<colgroup>
|
1418
1418
|
<col width="150px" class="parameters_name">
|
@@ -1445,7 +1445,7 @@ in an interface of this class.</p></td>
|
|
1445
1445
|
<div class="refsect2">
|
1446
1446
|
<a name="g-object-interface-install-property"></a><h3>g_object_interface_install_property ()</h3>
|
1447
1447
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1448
|
-
g_object_interface_install_property (<em class="parameter"><code><a href="../glib
|
1448
|
+
g_object_interface_install_property (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1449
1449
|
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
1450
1450
|
<p>Add a property to an interface; this is only useful for interfaces
|
1451
1451
|
that are added to GObject-derived types. Adding a property to an
|
@@ -1463,7 +1463,7 @@ vtable initialization function (the <em class="parameter"><code>class_init</code
|
|
1463
1463
|
has
|
1464
1464
|
been called for any object types implementing this interface.</p>
|
1465
1465
|
<div class="refsect3">
|
1466
|
-
<a name="
|
1466
|
+
<a name="g-object-interface-install-property.parameters"></a><h4>Parameters</h4>
|
1467
1467
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1468
1468
|
<colgroup>
|
1469
1469
|
<col width="150px" class="parameters_name">
|
@@ -1492,8 +1492,8 @@ vtable for the interface. </p></td>
|
|
1492
1492
|
<div class="refsect2">
|
1493
1493
|
<a name="g-object-interface-find-property"></a><h3>g_object_interface_find_property ()</h3>
|
1494
1494
|
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
1495
|
-
g_object_interface_find_property (<em class="parameter"><code><a href="../glib
|
1496
|
-
<em class="parameter"><code>const <a href="../glib
|
1495
|
+
g_object_interface_find_property (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1496
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
1497
1497
|
<p>Find the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> with the given name for an
|
1498
1498
|
interface. Generally, the interface vtable passed in as <em class="parameter"><code>g_iface</code></em>
|
1499
1499
|
|
@@ -1501,7 +1501,7 @@ will be the default vtable from <a class="link" href="gobject-Type-Information.h
|
|
1501
1501
|
if you know the interface has already been loaded,
|
1502
1502
|
<a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()"><code class="function">g_type_default_interface_peek()</code></a>.</p>
|
1503
1503
|
<div class="refsect3">
|
1504
|
-
<a name="
|
1504
|
+
<a name="g-object-interface-find-property.parameters"></a><h4>Parameters</h4>
|
1505
1505
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1506
1506
|
<colgroup>
|
1507
1507
|
<col width="150px" class="parameters_name">
|
@@ -1524,10 +1524,10 @@ interface, or the default vtable for the interface. </p></td>
|
|
1524
1524
|
</table></div>
|
1525
1525
|
</div>
|
1526
1526
|
<div class="refsect3">
|
1527
|
-
<a name="
|
1527
|
+
<a name="g-object-interface-find-property.returns"></a><h4>Returns</h4>
|
1528
1528
|
<p> the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property of the
|
1529
1529
|
interface with the name <em class="parameter"><code>property_name</code></em>
|
1530
|
-
, or <a href="../glib
|
1530
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
1531
1531
|
such property exists. </p>
|
1532
1532
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1533
1533
|
</div>
|
@@ -1537,15 +1537,15 @@ such property exists. </p>
|
|
1537
1537
|
<div class="refsect2">
|
1538
1538
|
<a name="g-object-interface-list-properties"></a><h3>g_object_interface_list_properties ()</h3>
|
1539
1539
|
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
1540
|
-
g_object_interface_list_properties (<em class="parameter"><code><a href="../glib
|
1541
|
-
<em class="parameter"><code><a href="../glib
|
1540
|
+
g_object_interface_list_properties (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1541
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties_p</code></em>);</pre>
|
1542
1542
|
<p>Lists the properties of an interface.Generally, the interface
|
1543
1543
|
vtable passed in as <em class="parameter"><code>g_iface</code></em>
|
1544
1544
|
will be the default vtable from
|
1545
1545
|
<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()"><code class="function">g_type_default_interface_ref()</code></a>, or, if you know the interface has
|
1546
1546
|
already been loaded, <a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()"><code class="function">g_type_default_interface_peek()</code></a>.</p>
|
1547
1547
|
<div class="refsect3">
|
1548
|
-
<a name="
|
1548
|
+
<a name="g-object-interface-list-properties.parameters"></a><h4>Parameters</h4>
|
1549
1549
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1550
1550
|
<colgroup>
|
1551
1551
|
<col width="150px" class="parameters_name">
|
@@ -1568,11 +1568,11 @@ interface, or the default vtable for the interface. </p></td>
|
|
1568
1568
|
</table></div>
|
1569
1569
|
</div>
|
1570
1570
|
<div class="refsect3">
|
1571
|
-
<a name="
|
1571
|
+
<a name="g-object-interface-list-properties.returns"></a><h4>Returns</h4>
|
1572
1572
|
<p> a
|
1573
1573
|
pointer to an array of pointers to <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>
|
1574
1574
|
structures. The paramspecs are owned by GLib, but the
|
1575
|
-
array should be freed with <a href="../glib
|
1575
|
+
array should be freed with <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when you are done with
|
1576
1576
|
it. </p>
|
1577
1577
|
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties_p][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
1578
1578
|
</div>
|
@@ -1581,16 +1581,16 @@ it. </p>
|
|
1581
1581
|
<hr>
|
1582
1582
|
<div class="refsect2">
|
1583
1583
|
<a name="g-object-new"></a><h3>g_object_new ()</h3>
|
1584
|
-
<pre class="programlisting"><a href="../glib
|
1584
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1585
1585
|
g_object_new (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>,
|
1586
|
-
<em class="parameter"><code>const <a href="../glib
|
1586
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
1587
1587
|
<em class="parameter"><code>...</code></em>);</pre>
|
1588
1588
|
<p>Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties.</p>
|
1589
1589
|
<p>Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>)
|
1590
1590
|
which are not explicitly specified are set to their default values.</p>
|
1591
1591
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1592
1592
|
<div class="refsect3">
|
1593
|
-
<a name="
|
1593
|
+
<a name="g-object-new.parameters"></a><h4>Parameters</h4>
|
1594
1594
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1595
1595
|
<colgroup>
|
1596
1596
|
<col width="150px" class="parameters_name">
|
@@ -1611,14 +1611,14 @@ which are not explicitly specified are set to their default values.</p>
|
|
1611
1611
|
<tr>
|
1612
1612
|
<td class="parameter_name"><p>...</p></td>
|
1613
1613
|
<td class="parameter_description"><p>the value of the first property, followed optionally by more
|
1614
|
-
name/value pairs, followed by <a href="../glib
|
1614
|
+
name/value pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1615
1615
|
<td class="parameter_annotations"> </td>
|
1616
1616
|
</tr>
|
1617
1617
|
</tbody>
|
1618
1618
|
</table></div>
|
1619
1619
|
</div>
|
1620
1620
|
<div class="refsect3">
|
1621
|
-
<a name="
|
1621
|
+
<a name="g-object-new.returns"></a><h4>Returns</h4>
|
1622
1622
|
<p> (transfer full) (type GObject.Object) : a new instance of
|
1623
1623
|
<em class="parameter"><code>object_type</code></em>
|
1624
1624
|
</p>
|
@@ -1627,16 +1627,16 @@ name/value pairs, followed by <a href="../glib/glib-Standard-Macros.html#NULL:CA
|
|
1627
1627
|
<hr>
|
1628
1628
|
<div class="refsect2">
|
1629
1629
|
<a name="g-object-newv"></a><h3>g_object_newv ()</h3>
|
1630
|
-
<pre class="programlisting"><a href="../glib
|
1630
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1631
1631
|
g_object_newv (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>,
|
1632
|
-
<em class="parameter"><code><a href="../glib
|
1632
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
|
1633
1633
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);</pre>
|
1634
1634
|
<p>Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties.</p>
|
1635
1635
|
<p>Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>)
|
1636
1636
|
which are not explicitly specified are set to their default values.</p>
|
1637
1637
|
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> g_object_new]</span></p>
|
1638
1638
|
<div class="refsect3">
|
1639
|
-
<a name="
|
1639
|
+
<a name="g-object-newv.parameters"></a><h4>Parameters</h4>
|
1640
1640
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1641
1641
|
<colgroup>
|
1642
1642
|
<col width="150px" class="parameters_name">
|
@@ -1664,7 +1664,7 @@ array</p></td>
|
|
1664
1664
|
</table></div>
|
1665
1665
|
</div>
|
1666
1666
|
<div class="refsect3">
|
1667
|
-
<a name="
|
1667
|
+
<a name="g-object-newv.returns"></a><h4>Returns</h4>
|
1668
1668
|
<p> a new instance of
|
1669
1669
|
<em class="parameter"><code>object_type</code></em>
|
1670
1670
|
. </p>
|
@@ -1674,12 +1674,12 @@ array</p></td>
|
|
1674
1674
|
<hr>
|
1675
1675
|
<div class="refsect2">
|
1676
1676
|
<a name="g-object-ref"></a><h3>g_object_ref ()</h3>
|
1677
|
-
<pre class="programlisting"><a href="../glib
|
1678
|
-
g_object_ref (<em class="parameter"><code><a href="../glib
|
1677
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1678
|
+
g_object_ref (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1679
1679
|
<p>Increases the reference count of <em class="parameter"><code>object</code></em>
|
1680
1680
|
.</p>
|
1681
1681
|
<div class="refsect3">
|
1682
|
-
<a name="
|
1682
|
+
<a name="g-object-ref.parameters"></a><h4>Parameters</h4>
|
1683
1683
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1684
1684
|
<colgroup>
|
1685
1685
|
<col width="150px" class="parameters_name">
|
@@ -1694,7 +1694,7 @@ g_object_ref (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html
|
|
1694
1694
|
</table></div>
|
1695
1695
|
</div>
|
1696
1696
|
<div class="refsect3">
|
1697
|
-
<a name="
|
1697
|
+
<a name="g-object-ref.returns"></a><h4>Returns</h4>
|
1698
1698
|
<p> the same <em class="parameter"><code>object</code></em>
|
1699
1699
|
. </p>
|
1700
1700
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -1704,16 +1704,16 @@ g_object_ref (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html
|
|
1704
1704
|
<div class="refsect2">
|
1705
1705
|
<a name="g-object-unref"></a><h3>g_object_unref ()</h3>
|
1706
1706
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1707
|
-
g_object_unref (<em class="parameter"><code><a href="../glib
|
1707
|
+
g_object_unref (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1708
1708
|
<p>Decreases the reference count of <em class="parameter"><code>object</code></em>
|
1709
1709
|
. When its reference count
|
1710
1710
|
drops to 0, the object is finalized (i.e. its memory is freed).</p>
|
1711
1711
|
<p>If the pointer to the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> may be reused in future (for example, if it is
|
1712
1712
|
an instance variable of another object), it is recommended to clear the
|
1713
|
-
pointer to <a href="../glib
|
1713
|
+
pointer to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> rather than retain a dangling pointer to a potentially
|
1714
1714
|
invalid <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance. Use <a class="link" href="gobject-The-Base-Object-Type.html#g-clear-object" title="g_clear_object ()"><code class="function">g_clear_object()</code></a> for this.</p>
|
1715
1715
|
<div class="refsect3">
|
1716
|
-
<a name="
|
1716
|
+
<a name="g-object-unref.parameters"></a><h4>Parameters</h4>
|
1717
1717
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1718
1718
|
<colgroup>
|
1719
1719
|
<col width="150px" class="parameters_name">
|
@@ -1731,8 +1731,8 @@ invalid <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span c
|
|
1731
1731
|
<hr>
|
1732
1732
|
<div class="refsect2">
|
1733
1733
|
<a name="g-object-ref-sink"></a><h3>g_object_ref_sink ()</h3>
|
1734
|
-
<pre class="programlisting"><a href="../glib
|
1735
|
-
g_object_ref_sink (<em class="parameter"><code><a href="../glib
|
1734
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
1735
|
+
g_object_ref_sink (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1736
1736
|
<p>Increase the reference count of <em class="parameter"><code>object</code></em>
|
1737
1737
|
, and possibly remove the
|
1738
1738
|
<a class="link" href="gobject-The-Base-Object-Type.html#floating-ref" title="Floating references">floating</a> reference, if <em class="parameter"><code>object</code></em>
|
@@ -1743,7 +1743,7 @@ reference by clearing the floating flag while leaving the reference
|
|
1743
1743
|
count unchanged. If the object is not floating, then this call
|
1744
1744
|
adds a new normal reference increasing the reference count by one.</p>
|
1745
1745
|
<div class="refsect3">
|
1746
|
-
<a name="
|
1746
|
+
<a name="g-object-ref-sink.parameters"></a><h4>Parameters</h4>
|
1747
1747
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1748
1748
|
<colgroup>
|
1749
1749
|
<col width="150px" class="parameters_name">
|
@@ -1758,7 +1758,7 @@ adds a new normal reference increasing the reference count by one.</p>
|
|
1758
1758
|
</table></div>
|
1759
1759
|
</div>
|
1760
1760
|
<div class="refsect3">
|
1761
|
-
<a name="
|
1761
|
+
<a name="g-object-ref-sink.returns"></a><h4>Returns</h4>
|
1762
1762
|
<p> <em class="parameter"><code>object</code></em>
|
1763
1763
|
. </p>
|
1764
1764
|
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -1772,14 +1772,14 @@ adds a new normal reference increasing the reference count by one.</p>
|
|
1772
1772
|
<p>Updates a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to refer to <em class="parameter"><code>new_object</code></em>
|
1773
1773
|
. It increments the
|
1774
1774
|
reference count of <em class="parameter"><code>new_object</code></em>
|
1775
|
-
(if non-<a href="../glib
|
1775
|
+
(if non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), decrements the reference
|
1776
1776
|
count of the current value of <em class="parameter"><code>object_ptr</code></em>
|
1777
|
-
(if non-<a href="../glib
|
1777
|
+
(if non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), and assigns
|
1778
1778
|
<em class="parameter"><code>new_object</code></em>
|
1779
1779
|
to <em class="parameter"><code>object_ptr</code></em>
|
1780
1780
|
. The assignment is not atomic.</p>
|
1781
1781
|
<p><em class="parameter"><code>object_ptr</code></em>
|
1782
|
-
must not be <a href="../glib
|
1782
|
+
must not be <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1783
1783
|
<p>A macro is also included that allows this function to be used without
|
1784
1784
|
pointer casts. The function itself is static inline, so its address may vary
|
1785
1785
|
between compilation units.</p>
|
@@ -1802,8 +1802,8 @@ between compilation units.</p>
|
|
1802
1802
|
<span class="function">foo_set_bar</span> <span class="gtkdoc opt">(</span>Foo <span class="gtkdoc opt">*</span>foo<span class="gtkdoc opt">,</span>
|
1803
1803
|
Bar <span class="gtkdoc opt">*</span>new_bar<span class="gtkdoc opt">)</span>
|
1804
1804
|
<span class="gtkdoc opt">{</span>
|
1805
|
-
<span class="function"><a href="../glib
|
1806
|
-
<span class="function"><a href="../glib
|
1805
|
+
<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">IS_FOO</span> <span class="gtkdoc opt">(</span>foo<span class="gtkdoc opt">));</span>
|
1806
|
+
<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>new_bar <span class="gtkdoc opt">==</span> NULL <span class="gtkdoc opt">||</span> <span class="function">IS_BAR</span> <span class="gtkdoc opt">(</span>new_bar<span class="gtkdoc opt">));</span>
|
1807
1807
|
|
1808
1808
|
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="gobject-The-Base-Object-Type.html#g-set-object">g_set_object</a></span> <span class="gtkdoc opt">(&</span>foo<span class="gtkdoc opt">-></span>bar<span class="gtkdoc opt">,</span> new_bar<span class="gtkdoc opt">))</span>
|
1809
1809
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-notify">g_object_notify</a></span> <span class="gtkdoc opt">(</span>foo<span class="gtkdoc opt">,</span> <span class="string">"bar"</span><span class="gtkdoc opt">);</span>
|
@@ -1815,7 +1815,7 @@ between compilation units.</p>
|
|
1815
1815
|
|
1816
1816
|
<p></p>
|
1817
1817
|
<div class="refsect3">
|
1818
|
-
<a name="
|
1818
|
+
<a name="g-set-object.parameters"></a><h4>Parameters</h4>
|
1819
1819
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1820
1820
|
<colgroup>
|
1821
1821
|
<col width="150px" class="parameters_name">
|
@@ -1831,16 +1831,16 @@ between compilation units.</p>
|
|
1831
1831
|
<tr>
|
1832
1832
|
<td class="parameter_name"><p>new_object</p></td>
|
1833
1833
|
<td class="parameter_description"><p> a pointer to the new <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to
|
1834
|
-
assign to it, or <a href="../glib
|
1834
|
+
assign to it, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to clear the pointer. </p></td>
|
1835
1835
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
1836
1836
|
</tr>
|
1837
1837
|
</tbody>
|
1838
1838
|
</table></div>
|
1839
1839
|
</div>
|
1840
1840
|
<div class="refsect3">
|
1841
|
-
<a name="
|
1842
|
-
<p> <a href="../glib
|
1843
|
-
changed, <a href="../glib
|
1841
|
+
<a name="g-set-object.returns"></a><h4>Returns</h4>
|
1842
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the value of <em class="parameter"><code>object_ptr</code></em>
|
1843
|
+
changed, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1844
1844
|
</div>
|
1845
1845
|
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
1846
1846
|
</div>
|
@@ -1851,15 +1851,15 @@ changed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="lit
|
|
1851
1851
|
g_clear_object (<em class="parameter"><code>volatile <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> **object_ptr</code></em>);</pre>
|
1852
1852
|
<p>Clears a reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.</p>
|
1853
1853
|
<p><em class="parameter"><code>object_ptr</code></em>
|
1854
|
-
must not be <a href="../glib
|
1855
|
-
<p>If the reference is <a href="../glib
|
1854
|
+
must not be <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1855
|
+
<p>If the reference is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then this function does nothing.
|
1856
1856
|
Otherwise, the reference count of the object is decreased and the
|
1857
|
-
pointer is set to <a href="../glib
|
1857
|
+
pointer is set to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1858
1858
|
<p>A macro is also included that allows this function to be used without
|
1859
1859
|
pointer casts.</p>
|
1860
1860
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1861
1861
|
<div class="refsect3">
|
1862
|
-
<a name="
|
1862
|
+
<a name="g-clear-object.parameters"></a><h4>Parameters</h4>
|
1863
1863
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1864
1864
|
<colgroup>
|
1865
1865
|
<col width="150px" class="parameters_name">
|
@@ -1878,12 +1878,12 @@ pointer casts.</p>
|
|
1878
1878
|
<hr>
|
1879
1879
|
<div class="refsect2">
|
1880
1880
|
<a name="g-object-is-floating"></a><h3>g_object_is_floating ()</h3>
|
1881
|
-
<pre class="programlisting"><a href="../glib
|
1882
|
-
g_object_is_floating (<em class="parameter"><code><a href="../glib
|
1881
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1882
|
+
g_object_is_floating (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1883
1883
|
<p>Checks whether <em class="parameter"><code>object</code></em>
|
1884
1884
|
has a <a class="link" href="gobject-The-Base-Object-Type.html#floating-ref" title="Floating references">floating</a> reference.</p>
|
1885
1885
|
<div class="refsect3">
|
1886
|
-
<a name="
|
1886
|
+
<a name="g-object-is-floating.parameters"></a><h4>Parameters</h4>
|
1887
1887
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1888
1888
|
<colgroup>
|
1889
1889
|
<col width="150px" class="parameters_name">
|
@@ -1898,8 +1898,8 @@ g_object_is_floating (<em class="parameter"><code><a href="../glib/glib-Basic-Ty
|
|
1898
1898
|
</table></div>
|
1899
1899
|
</div>
|
1900
1900
|
<div class="refsect3">
|
1901
|
-
<a name="
|
1902
|
-
<p> <a href="../glib
|
1901
|
+
<a name="g-object-is-floating.returns"></a><h4>Returns</h4>
|
1902
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em>
|
1903
1903
|
has a floating reference</p>
|
1904
1904
|
</div>
|
1905
1905
|
<p class="since">Since: <a class="link" href="api-index-2-10.html#api-index-2.10">2.10</a></p>
|
@@ -1914,7 +1914,7 @@ a <a class="link" href="gobject-The-Base-Object-Type.html#floating-ref" title="F
|
|
1914
1914
|
required: all <a href="gobject-The-Base-Object-Type.html#GInitiallyUnowned"><span class="type">GInitiallyUnowneds</span></a> are created with a floating reference
|
1915
1915
|
which usually just needs to be sunken by calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()"><code class="function">g_object_ref_sink()</code></a>.</p>
|
1916
1916
|
<div class="refsect3">
|
1917
|
-
<a name="
|
1917
|
+
<a name="g-object-force-floating.parameters"></a><h4>Parameters</h4>
|
1918
1918
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1919
1919
|
<colgroup>
|
1920
1920
|
<col width="150px" class="parameters_name">
|
@@ -1934,14 +1934,14 @@ which usually just needs to be sunken by calling <a class="link" href="gobject-T
|
|
1934
1934
|
<div class="refsect2">
|
1935
1935
|
<a name="GWeakNotify"></a><h3>GWeakNotify ()</h3>
|
1936
1936
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1937
|
-
<span class="c_punctuation">(</span>*GWeakNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
1937
|
+
<span class="c_punctuation">(</span>*GWeakNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1938
1938
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *where_the_object_was</code></em>);</pre>
|
1939
1939
|
<p>A <a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> function can be added to an object as a callback that gets
|
1940
1940
|
triggered when the object is finalized. Since the object is already being
|
1941
1941
|
finalized when the <a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> is called, there's not much you could do
|
1942
1942
|
with the object, apart from e.g. using its address as hash-index or the like.</p>
|
1943
1943
|
<div class="refsect3">
|
1944
|
-
<a name="
|
1944
|
+
<a name="GWeakNotify.parameters"></a><h4>Parameters</h4>
|
1945
1945
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1946
1946
|
<colgroup>
|
1947
1947
|
<col width="150px" class="parameters_name">
|
@@ -1969,7 +1969,7 @@ with the object, apart from e.g. using its address as hash-index or the like.</p
|
|
1969
1969
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1970
1970
|
g_object_weak_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
1971
1971
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>,
|
1972
|
-
<em class="parameter"><code><a href="../glib
|
1972
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
1973
1973
|
<p>Adds a weak reference callback to an object. Weak references are
|
1974
1974
|
used for notification when an object is finalized. They are called
|
1975
1975
|
"weak references" because they allow you to safely hold a pointer
|
@@ -1981,7 +1981,7 @@ object's last <a class="link" href="gobject-The-Base-Object-Type.html#g-object-u
|
|
1981
1981
|
Use <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> if thread-safety is required.</p>
|
1982
1982
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
1983
1983
|
<div class="refsect3">
|
1984
|
-
<a name="
|
1984
|
+
<a name="g-object-weak-ref.parameters"></a><h4>Parameters</h4>
|
1985
1985
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1986
1986
|
<colgroup>
|
1987
1987
|
<col width="150px" class="parameters_name">
|
@@ -2014,11 +2014,11 @@ Use <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWe
|
|
2014
2014
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2015
2015
|
g_object_weak_unref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2016
2016
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>,
|
2017
|
-
<em class="parameter"><code><a href="../glib
|
2017
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2018
2018
|
<p>Removes a weak reference callback to an object.</p>
|
2019
2019
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2020
2020
|
<div class="refsect3">
|
2021
|
-
<a name="
|
2021
|
+
<a name="g-object-weak-unref.parameters"></a><h4>Parameters</h4>
|
2022
2022
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2023
2023
|
<colgroup>
|
2024
2024
|
<col width="150px" class="parameters_name">
|
@@ -2050,7 +2050,7 @@ g_object_weak_unref (<em class="parameter"><code><a class="link" href="gobject-T
|
|
2050
2050
|
<a name="g-object-add-weak-pointer"></a><h3>g_object_add_weak_pointer ()</h3>
|
2051
2051
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2052
2052
|
g_object_add_weak_pointer (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2053
|
-
<em class="parameter"><code><a href="../glib
|
2053
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre>
|
2054
2054
|
<p>Adds a weak reference from weak_pointer to <em class="parameter"><code>object</code></em>
|
2055
2055
|
to indicate that
|
2056
2056
|
the pointer located at <em class="parameter"><code>weak_pointer_location</code></em>
|
@@ -2059,14 +2059,14 @@ the lifetime of <em class="parameter"><code>object</code></em>
|
|
2059
2059
|
. When the <em class="parameter"><code>object</code></em>
|
2060
2060
|
is finalized,
|
2061
2061
|
<em class="parameter"><code>weak_pointer</code></em>
|
2062
|
-
will be set to <a href="../glib
|
2062
|
+
will be set to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
2063
2063
|
<p>Note that as with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()"><code class="function">g_object_weak_ref()</code></a>, the weak references created by
|
2064
2064
|
this method are not thread-safe: they cannot safely be used in one
|
2065
2065
|
thread if the object's last <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> might happen in another
|
2066
2066
|
thread. Use <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> if thread-safety is required.</p>
|
2067
2067
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2068
2068
|
<div class="refsect3">
|
2069
|
-
<a name="
|
2069
|
+
<a name="g-object-add-weak-pointer.parameters"></a><h4>Parameters</h4>
|
2070
2070
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2071
2071
|
<colgroup>
|
2072
2072
|
<col width="150px" class="parameters_name">
|
@@ -2094,7 +2094,7 @@ of a pointer. </p></td>
|
|
2094
2094
|
<a name="g-object-remove-weak-pointer"></a><h3>g_object_remove_weak_pointer ()</h3>
|
2095
2095
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2096
2096
|
g_object_remove_weak_pointer (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2097
|
-
<em class="parameter"><code><a href="../glib
|
2097
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre>
|
2098
2098
|
<p>Removes a weak reference from <em class="parameter"><code>object</code></em>
|
2099
2099
|
that was previously added
|
2100
2100
|
using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>. The <em class="parameter"><code>weak_pointer_location</code></em>
|
@@ -2102,7 +2102,7 @@ using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-
|
|
2102
2102
|
to match the one used with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>.</p>
|
2103
2103
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2104
2104
|
<div class="refsect3">
|
2105
|
-
<a name="
|
2105
|
+
<a name="g-object-remove-weak-pointer.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">
|
@@ -2129,13 +2129,13 @@ of a pointer. </p></td>
|
|
2129
2129
|
<div class="refsect2">
|
2130
2130
|
<a name="GToggleNotify"></a><h3>GToggleNotify ()</h3>
|
2131
2131
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2132
|
-
<span class="c_punctuation">(</span>*GToggleNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib
|
2132
|
+
<span class="c_punctuation">(</span>*GToggleNotify<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
2133
2133
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2134
|
-
<em class="parameter"><code><a href="../glib
|
2134
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_last_ref</code></em>);</pre>
|
2135
2135
|
<p>A callback function used for notification when the state
|
2136
2136
|
of a toggle reference changes. See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a>.</p>
|
2137
2137
|
<div class="refsect3">
|
2138
|
-
<a name="
|
2138
|
+
<a name="GToggleNotify.parameters"></a><h4>Parameters</h4>
|
2139
2139
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2140
2140
|
<colgroup>
|
2141
2141
|
<col width="150px" class="parameters_name">
|
@@ -2155,8 +2155,8 @@ of a toggle reference changes. See <a class="link" href="gobject-The-Base-Object
|
|
2155
2155
|
</tr>
|
2156
2156
|
<tr>
|
2157
2157
|
<td class="parameter_name"><p>is_last_ref</p></td>
|
2158
|
-
<td class="parameter_description"><p><a href="../glib
|
2159
|
-
last reference to the object. <a href="../glib
|
2158
|
+
<td class="parameter_description"><p><a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the toggle reference is now the
|
2159
|
+
last reference to the object. <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the toggle
|
2160
2160
|
reference was the last reference and there are now other
|
2161
2161
|
references.</p></td>
|
2162
2162
|
<td class="parameter_annotations"> </td>
|
@@ -2171,7 +2171,7 @@ references.</p></td>
|
|
2171
2171
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2172
2172
|
g_object_add_toggle_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2173
2173
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>,
|
2174
|
-
<em class="parameter"><code><a href="../glib
|
2174
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2175
2175
|
<p>Increases the reference count of the object by one and sets a
|
2176
2176
|
callback to be called when all other references to the object are
|
2177
2177
|
dropped, or when this is already the last reference to the object
|
@@ -2206,7 +2206,7 @@ this reason, you should only ever use a toggle reference if there
|
|
2206
2206
|
is important state in the proxy object.</p>
|
2207
2207
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2208
2208
|
<div class="refsect3">
|
2209
|
-
<a name="
|
2209
|
+
<a name="g-object-add-toggle-ref.parameters"></a><h4>Parameters</h4>
|
2210
2210
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2211
2211
|
<colgroup>
|
2212
2212
|
<col width="150px" class="parameters_name">
|
@@ -2243,12 +2243,12 @@ the last reference.</p></td>
|
|
2243
2243
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2244
2244
|
g_object_remove_toggle_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2245
2245
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>,
|
2246
|
-
<em class="parameter"><code><a href="../glib
|
2246
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2247
2247
|
<p>Removes a reference added with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a>. The
|
2248
2248
|
reference count of the object is decreased by one.</p>
|
2249
2249
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2250
2250
|
<div class="refsect3">
|
2251
|
-
<a name="
|
2251
|
+
<a name="g-object-remove-toggle-ref.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">
|
@@ -2282,9 +2282,9 @@ the last reference.</p></td>
|
|
2282
2282
|
<hr>
|
2283
2283
|
<div class="refsect2">
|
2284
2284
|
<a name="g-object-connect"></a><h3>g_object_connect ()</h3>
|
2285
|
-
<pre class="programlisting"><a href="../glib
|
2286
|
-
g_object_connect (<em class="parameter"><code><a href="../glib
|
2287
|
-
<em class="parameter"><code>const <a href="../glib
|
2285
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2286
|
+
g_object_connect (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
2287
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>,
|
2288
2288
|
<em class="parameter"><code>...</code></em>);</pre>
|
2289
2289
|
<p>A convenience function to connect multiple signals at once.</p>
|
2290
2290
|
<p>The signal specs expected by this function have the form
|
@@ -2327,7 +2327,7 @@ g_object_connect (<em class="parameter"><code><a href="../glib/glib-Basic-Types.
|
|
2327
2327
|
<p></p>
|
2328
2328
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2329
2329
|
<div class="refsect3">
|
2330
|
-
<a name="
|
2330
|
+
<a name="g-object-connect.parameters"></a><h4>Parameters</h4>
|
2331
2331
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2332
2332
|
<colgroup>
|
2333
2333
|
<col width="150px" class="parameters_name">
|
@@ -2349,14 +2349,14 @@ g_object_connect (<em class="parameter"><code><a href="../glib/glib-Basic-Types.
|
|
2349
2349
|
<td class="parameter_name"><p>...</p></td>
|
2350
2350
|
<td class="parameter_description"><p><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> for the first signal, followed by data for the
|
2351
2351
|
first signal, followed optionally by more signal
|
2352
|
-
spec/callback/data triples, followed by <a href="../glib
|
2352
|
+
spec/callback/data triples, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2353
2353
|
<td class="parameter_annotations"> </td>
|
2354
2354
|
</tr>
|
2355
2355
|
</tbody>
|
2356
2356
|
</table></div>
|
2357
2357
|
</div>
|
2358
2358
|
<div class="refsect3">
|
2359
|
-
<a name="
|
2359
|
+
<a name="g-object-connect.returns"></a><h4>Returns</h4>
|
2360
2360
|
<p> <em class="parameter"><code>object</code></em>
|
2361
2361
|
. </p>
|
2362
2362
|
<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.Object]</span></p>
|
@@ -2366,8 +2366,8 @@ spec/callback/data triples, followed by <a href="../glib/glib-Standard-Macros.ht
|
|
2366
2366
|
<div class="refsect2">
|
2367
2367
|
<a name="g-object-disconnect"></a><h3>g_object_disconnect ()</h3>
|
2368
2368
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2369
|
-
g_object_disconnect (<em class="parameter"><code><a href="../glib
|
2370
|
-
<em class="parameter"><code>const <a href="../glib
|
2369
|
+
g_object_disconnect (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
2370
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>,
|
2371
2371
|
<em class="parameter"><code>...</code></em>);</pre>
|
2372
2372
|
<p>A convenience function to disconnect multiple signals at once.</p>
|
2373
2373
|
<p>The signal specs expected by this function have the form
|
@@ -2376,7 +2376,7 @@ callback and data, or "any_signal::signal_name", which only
|
|
2376
2376
|
disconnects the signal named "signal_name".</p>
|
2377
2377
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2378
2378
|
<div class="refsect3">
|
2379
|
-
<a name="
|
2379
|
+
<a name="g-object-disconnect.parameters"></a><h4>Parameters</h4>
|
2380
2380
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2381
2381
|
<colgroup>
|
2382
2382
|
<col width="150px" class="parameters_name">
|
@@ -2398,7 +2398,7 @@ disconnects the signal named "signal_name".</p>
|
|
2398
2398
|
<td class="parameter_name"><p>...</p></td>
|
2399
2399
|
<td class="parameter_description"><p><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> for the first signal, followed by data for the first signal,
|
2400
2400
|
followed optionally by more signal spec/callback/data triples,
|
2401
|
-
followed by <a href="../glib
|
2401
|
+
followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2402
2402
|
<td class="parameter_annotations"> </td>
|
2403
2403
|
</tr>
|
2404
2404
|
</tbody>
|
@@ -2409,8 +2409,8 @@ followed by <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
|
2409
2409
|
<div class="refsect2">
|
2410
2410
|
<a name="g-object-set"></a><h3>g_object_set ()</h3>
|
2411
2411
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2412
|
-
g_object_set (<em class="parameter"><code><a href="../glib
|
2413
|
-
<em class="parameter"><code>const <a href="../glib
|
2412
|
+
g_object_set (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
2413
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
2414
2414
|
<em class="parameter"><code>...</code></em>);</pre>
|
2415
2415
|
<p>Sets properties on an object.</p>
|
2416
2416
|
<p>Note that the "notify" signals are queued and only emitted (in
|
@@ -2418,7 +2418,7 @@ reverse order) after all properties have been set. See
|
|
2418
2418
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()"><code class="function">g_object_freeze_notify()</code></a>.</p>
|
2419
2419
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2420
2420
|
<div class="refsect3">
|
2421
|
-
<a name="
|
2421
|
+
<a name="g-object-set.parameters"></a><h4>Parameters</h4>
|
2422
2422
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2423
2423
|
<colgroup>
|
2424
2424
|
<col width="150px" class="parameters_name">
|
@@ -2439,7 +2439,7 @@ reverse order) after all properties have been set. See
|
|
2439
2439
|
<tr>
|
2440
2440
|
<td class="parameter_name"><p>...</p></td>
|
2441
2441
|
<td class="parameter_description"><p>value for the first property, followed optionally by more
|
2442
|
-
name/value pairs, followed by <a href="../glib
|
2442
|
+
name/value pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2443
2443
|
<td class="parameter_annotations"> </td>
|
2444
2444
|
</tr>
|
2445
2445
|
</tbody>
|
@@ -2450,13 +2450,13 @@ name/value pairs, followed by <a href="../glib/glib-Standard-Macros.html#NULL:CA
|
|
2450
2450
|
<div class="refsect2">
|
2451
2451
|
<a name="g-object-get"></a><h3>g_object_get ()</h3>
|
2452
2452
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2453
|
-
g_object_get (<em class="parameter"><code><a href="../glib
|
2454
|
-
<em class="parameter"><code>const <a href="../glib
|
2453
|
+
g_object_get (<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
2454
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
2455
2455
|
<em class="parameter"><code>...</code></em>);</pre>
|
2456
2456
|
<p>Gets properties of an object.</p>
|
2457
2457
|
<p>In general, a copy is made of the property contents and the caller
|
2458
2458
|
is responsible for freeing the memory in the appropriate manner for
|
2459
|
-
the type, for instance by calling <a href="../glib
|
2459
|
+
the type, for instance by calling <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> or <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>.</p>
|
2460
2460
|
<p>Here is an example of using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a> to get the contents
|
2461
2461
|
of three properties: an integer, a string and an object:</p>
|
2462
2462
|
<div class="informalexample">
|
@@ -2489,7 +2489,7 @@ GObject <span class="gtkdoc opt">*</span>objval<span class="gtkdoc opt">;</span>
|
|
2489
2489
|
|
2490
2490
|
<span class="gtkdoc slc">// Do something with intval, strval, objval</span>
|
2491
2491
|
|
2492
|
-
<span class="function"><a href="../glib
|
2492
|
+
<span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>strval<span class="gtkdoc opt">);</span>
|
2493
2493
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="gtkdoc opt">(</span>objval<span class="gtkdoc opt">);</span></pre></td>
|
2494
2494
|
</tr>
|
2495
2495
|
</tbody>
|
@@ -2499,7 +2499,7 @@ GObject <span class="gtkdoc opt">*</span>objval<span class="gtkdoc opt">;</span>
|
|
2499
2499
|
<p></p>
|
2500
2500
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2501
2501
|
<div class="refsect3">
|
2502
|
-
<a name="
|
2502
|
+
<a name="g-object-get.parameters"></a><h4>Parameters</h4>
|
2503
2503
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2504
2504
|
<colgroup>
|
2505
2505
|
<col width="150px" class="parameters_name">
|
@@ -2520,7 +2520,7 @@ GObject <span class="gtkdoc opt">*</span>objval<span class="gtkdoc opt">;</span>
|
|
2520
2520
|
<tr>
|
2521
2521
|
<td class="parameter_name"><p>...</p></td>
|
2522
2522
|
<td class="parameter_description"><p>return location for the first property, followed optionally by more
|
2523
|
-
name/return location pairs, followed by <a href="../glib
|
2523
|
+
name/return location pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
2524
2524
|
<td class="parameter_annotations"> </td>
|
2525
2525
|
</tr>
|
2526
2526
|
</tbody>
|
@@ -2532,7 +2532,7 @@ name/return location pairs, followed by <a href="../glib/glib-Standard-Macros.ht
|
|
2532
2532
|
<a name="g-object-notify"></a><h3>g_object_notify ()</h3>
|
2533
2533
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2534
2534
|
g_object_notify (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2535
|
-
<em class="parameter"><code>const <a href="../glib
|
2535
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
2536
2536
|
<p>Emits a "notify" signal for the property <em class="parameter"><code>property_name</code></em>
|
2537
2537
|
on <em class="parameter"><code>object</code></em>
|
2538
2538
|
.</p>
|
@@ -2544,7 +2544,7 @@ instead.</p>
|
|
2544
2544
|
and will be emitted (in reverse order) when <a class="link" href="gobject-The-Base-Object-Type.html#g-object-thaw-notify" title="g_object_thaw_notify ()"><code class="function">g_object_thaw_notify()</code></a> is
|
2545
2545
|
called.</p>
|
2546
2546
|
<div class="refsect3">
|
2547
|
-
<a name="
|
2547
|
+
<a name="g-object-notify.parameters"></a><h4>Parameters</h4>
|
2548
2548
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2549
2549
|
<colgroup>
|
2550
2550
|
<col width="150px" class="parameters_name">
|
@@ -2646,7 +2646,7 @@ instead, is to store the GParamSpec used with
|
|
2646
2646
|
|
2647
2647
|
<p></p>
|
2648
2648
|
<div class="refsect3">
|
2649
|
-
<a name="
|
2649
|
+
<a name="g-object-notify-by-pspec.parameters"></a><h4>Parameters</h4>
|
2650
2650
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2651
2651
|
<colgroup>
|
2652
2652
|
<col width="150px" class="parameters_name">
|
@@ -2686,7 +2686,7 @@ object is frozen.</p>
|
|
2686
2686
|
<p>This is necessary for accessors that modify multiple properties to prevent
|
2687
2687
|
premature notification while the object is still being modified.</p>
|
2688
2688
|
<div class="refsect3">
|
2689
|
-
<a name="
|
2689
|
+
<a name="g-object-freeze-notify.parameters"></a><h4>Parameters</h4>
|
2690
2690
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2691
2691
|
<colgroup>
|
2692
2692
|
<col width="150px" class="parameters_name">
|
@@ -2715,7 +2715,7 @@ and when it reaches zero, queued "notify" signals are emitted.</p>
|
|
2715
2715
|
in which they have been queued.</p>
|
2716
2716
|
<p>It is an error to call this function when the freeze count is zero.</p>
|
2717
2717
|
<div class="refsect3">
|
2718
|
-
<a name="
|
2718
|
+
<a name="g-object-thaw-notify.parameters"></a><h4>Parameters</h4>
|
2719
2719
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2720
2720
|
<colgroup>
|
2721
2721
|
<col width="150px" class="parameters_name">
|
@@ -2733,12 +2733,12 @@ in which they have been queued.</p>
|
|
2733
2733
|
<hr>
|
2734
2734
|
<div class="refsect2">
|
2735
2735
|
<a name="g-object-get-data"></a><h3>g_object_get_data ()</h3>
|
2736
|
-
<pre class="programlisting"><a href="../glib
|
2736
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2737
2737
|
g_object_get_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2738
|
-
<em class="parameter"><code>const <a href="../glib
|
2738
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
2739
2739
|
<p>Gets a named field from the objects table of associations (see <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()"><code class="function">g_object_set_data()</code></a>).</p>
|
2740
2740
|
<div class="refsect3">
|
2741
|
-
<a name="
|
2741
|
+
<a name="g-object-get-data.parameters"></a><h4>Parameters</h4>
|
2742
2742
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2743
2743
|
<colgroup>
|
2744
2744
|
<col width="150px" class="parameters_name">
|
@@ -2760,8 +2760,8 @@ g_object_get_data (<em class="parameter"><code><a class="link" href="gobject-The
|
|
2760
2760
|
</table></div>
|
2761
2761
|
</div>
|
2762
2762
|
<div class="refsect3">
|
2763
|
-
<a name="
|
2764
|
-
<p> the data if found, or <a href="../glib
|
2763
|
+
<a name="g-object-get-data.returns"></a><h4>Returns</h4>
|
2764
|
+
<p> the data if found, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. </p>
|
2765
2765
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2766
2766
|
</div>
|
2767
2767
|
</div>
|
@@ -2770,14 +2770,14 @@ g_object_get_data (<em class="parameter"><code><a class="link" href="gobject-The
|
|
2770
2770
|
<a name="g-object-set-data"></a><h3>g_object_set_data ()</h3>
|
2771
2771
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2772
2772
|
g_object_set_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2773
|
-
<em class="parameter"><code>const <a href="../glib
|
2774
|
-
<em class="parameter"><code><a href="../glib
|
2773
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2774
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
2775
2775
|
<p>Each object carries around a table of associations from
|
2776
2776
|
strings to pointers. This function lets you set an association.</p>
|
2777
2777
|
<p>If the object already had an association with that name,
|
2778
2778
|
the old association will be destroyed.</p>
|
2779
2779
|
<div class="refsect3">
|
2780
|
-
<a name="
|
2780
|
+
<a name="g-object-set-data.parameters"></a><h4>Parameters</h4>
|
2781
2781
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2782
2782
|
<colgroup>
|
2783
2783
|
<col width="150px" class="parameters_name">
|
@@ -2809,18 +2809,18 @@ the old association will be destroyed.</p>
|
|
2809
2809
|
<a name="g-object-set-data-full"></a><h3>g_object_set_data_full ()</h3>
|
2810
2810
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2811
2811
|
g_object_set_data_full (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2812
|
-
<em class="parameter"><code>const <a href="../glib
|
2813
|
-
<em class="parameter"><code><a href="../glib
|
2814
|
-
<em class="parameter"><code><a href="../glib
|
2812
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2813
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
2814
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
2815
2815
|
<p>Like <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()"><code class="function">g_object_set_data()</code></a> except it adds notification
|
2816
2816
|
for when the association is destroyed, either by setting it
|
2817
2817
|
to a different value or when the object is destroyed.</p>
|
2818
2818
|
<p>Note that the <em class="parameter"><code>destroy</code></em>
|
2819
2819
|
callback is not called if <em class="parameter"><code>data</code></em>
|
2820
|
-
is <a href="../glib
|
2820
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
2821
2821
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
2822
2822
|
<div class="refsect3">
|
2823
|
-
<a name="
|
2823
|
+
<a name="g-object-set-data-full.parameters"></a><h4>Parameters</h4>
|
2824
2824
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2825
2825
|
<colgroup>
|
2826
2826
|
<col width="150px" class="parameters_name">
|
@@ -2855,13 +2855,13 @@ to a different value or when the object is destroyed.</p>
|
|
2855
2855
|
<hr>
|
2856
2856
|
<div class="refsect2">
|
2857
2857
|
<a name="g-object-steal-data"></a><h3>g_object_steal_data ()</h3>
|
2858
|
-
<pre class="programlisting"><a href="../glib
|
2858
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2859
2859
|
g_object_steal_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2860
|
-
<em class="parameter"><code>const <a href="../glib
|
2860
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
2861
2861
|
<p>Remove a specified datum from the object's data associations,
|
2862
2862
|
without invoking the association's destroy handler.</p>
|
2863
2863
|
<div class="refsect3">
|
2864
|
-
<a name="
|
2864
|
+
<a name="g-object-steal-data.parameters"></a><h4>Parameters</h4>
|
2865
2865
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2866
2866
|
<colgroup>
|
2867
2867
|
<col width="150px" class="parameters_name">
|
@@ -2883,19 +2883,19 @@ without invoking the association's destroy handler.</p>
|
|
2883
2883
|
</table></div>
|
2884
2884
|
</div>
|
2885
2885
|
<div class="refsect3">
|
2886
|
-
<a name="
|
2887
|
-
<p> the data if found, or <a href="../glib
|
2886
|
+
<a name="g-object-steal-data.returns"></a><h4>Returns</h4>
|
2887
|
+
<p> the data if found, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. </p>
|
2888
2888
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2889
2889
|
</div>
|
2890
2890
|
</div>
|
2891
2891
|
<hr>
|
2892
2892
|
<div class="refsect2">
|
2893
2893
|
<a name="g-object-dup-data"></a><h3>g_object_dup_data ()</h3>
|
2894
|
-
<pre class="programlisting"><a href="../glib
|
2894
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
2895
2895
|
g_object_dup_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2896
|
-
<em class="parameter"><code>const <a href="../glib
|
2897
|
-
<em class="parameter"><code><a href="../glib
|
2898
|
-
<em class="parameter"><code><a href="../glib
|
2896
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2897
|
+
<em class="parameter"><code><a href="../glib-Keyed-Data-Lists.html#GDuplicateFunc"><span class="type">GDuplicateFunc</span></a> dup_func</code></em>,
|
2898
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
2899
2899
|
<p>This is a variant of <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-data" title="g_object_get_data ()"><code class="function">g_object_get_data()</code></a> which returns
|
2900
2900
|
a 'duplicate' of the value. <em class="parameter"><code>dup_func</code></em>
|
2901
2901
|
defines the
|
@@ -2904,7 +2904,7 @@ take a reference on a ref-counted object.</p>
|
|
2904
2904
|
<p>If the <em class="parameter"><code>key</code></em>
|
2905
2905
|
is not set on the object then <em class="parameter"><code>dup_func</code></em>
|
2906
2906
|
|
2907
|
-
will be called with a <a href="../glib
|
2907
|
+
will be called with a <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> argument.</p>
|
2908
2908
|
<p>Note that <em class="parameter"><code>dup_func</code></em>
|
2909
2909
|
is called while user data of <em class="parameter"><code>object</code></em>
|
2910
2910
|
|
@@ -2913,7 +2913,7 @@ is locked.</p>
|
|
2913
2913
|
threads are using object data on the same key on the same
|
2914
2914
|
object.</p>
|
2915
2915
|
<div class="refsect3">
|
2916
|
-
<a name="
|
2916
|
+
<a name="g-object-dup-data.parameters"></a><h4>Parameters</h4>
|
2917
2917
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2918
2918
|
<colgroup>
|
2919
2919
|
<col width="150px" class="parameters_name">
|
@@ -2946,14 +2946,14 @@ object.</p>
|
|
2946
2946
|
</table></div>
|
2947
2947
|
</div>
|
2948
2948
|
<div class="refsect3">
|
2949
|
-
<a name="
|
2949
|
+
<a name="g-object-dup-data.returns"></a><h4>Returns</h4>
|
2950
2950
|
<p> the result of calling <em class="parameter"><code>dup_func</code></em>
|
2951
2951
|
on the value
|
2952
2952
|
associated with <em class="parameter"><code>key</code></em>
|
2953
2953
|
on <em class="parameter"><code>object</code></em>
|
2954
|
-
, or <a href="../glib
|
2954
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not set.
|
2955
2955
|
If <em class="parameter"><code>dup_func</code></em>
|
2956
|
-
is <a href="../glib
|
2956
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the value is returned
|
2957
2957
|
unmodified.</p>
|
2958
2958
|
</div>
|
2959
2959
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
@@ -2961,13 +2961,13 @@ unmodified.</p>
|
|
2961
2961
|
<hr>
|
2962
2962
|
<div class="refsect2">
|
2963
2963
|
<a name="g-object-replace-data"></a><h3>g_object_replace_data ()</h3>
|
2964
|
-
<pre class="programlisting"><a href="../glib
|
2964
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2965
2965
|
g_object_replace_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2966
|
-
<em class="parameter"><code>const <a href="../glib
|
2967
|
-
<em class="parameter"><code><a href="../glib
|
2968
|
-
<em class="parameter"><code><a href="../glib
|
2969
|
-
<em class="parameter"><code><a href="../glib
|
2970
|
-
<em class="parameter"><code><a href="../glib
|
2966
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
2967
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> oldval</code></em>,
|
2968
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> newval</code></em>,
|
2969
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
|
2970
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> *old_destroy</code></em>);</pre>
|
2971
2971
|
<p>Compares the user data for the key <em class="parameter"><code>key</code></em>
|
2972
2972
|
on <em class="parameter"><code>object</code></em>
|
2973
2973
|
with
|
@@ -2988,7 +2988,7 @@ or may not include using <em class="parameter"><code>old_destroy</code></em>
|
|
2988
2988
|
as sometimes replacement
|
2989
2989
|
should not destroy the object in the normal way.</p>
|
2990
2990
|
<div class="refsect3">
|
2991
|
-
<a name="
|
2991
|
+
<a name="g-object-replace-data.parameters"></a><h4>Parameters</h4>
|
2992
2992
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2993
2993
|
<colgroup>
|
2994
2994
|
<col width="150px" class="parameters_name">
|
@@ -3030,24 +3030,24 @@ should not destroy the object in the normal way.</p>
|
|
3030
3030
|
</table></div>
|
3031
3031
|
</div>
|
3032
3032
|
<div class="refsect3">
|
3033
|
-
<a name="
|
3034
|
-
<p> <a href="../glib
|
3033
|
+
<a name="g-object-replace-data.returns"></a><h4>Returns</h4>
|
3034
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the existing value for <em class="parameter"><code>key</code></em>
|
3035
3035
|
was replaced
|
3036
3036
|
by <em class="parameter"><code>newval</code></em>
|
3037
|
-
, <a href="../glib
|
3037
|
+
, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
3038
3038
|
</div>
|
3039
3039
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
3040
3040
|
</div>
|
3041
3041
|
<hr>
|
3042
3042
|
<div class="refsect2">
|
3043
3043
|
<a name="g-object-get-qdata"></a><h3>g_object_get_qdata ()</h3>
|
3044
|
-
<pre class="programlisting"><a href="../glib
|
3044
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
3045
3045
|
g_object_get_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3046
|
-
<em class="parameter"><code><a href="../glib
|
3046
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
3047
3047
|
<p>This function gets back user data pointers stored via
|
3048
3048
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a>.</p>
|
3049
3049
|
<div class="refsect3">
|
3050
|
-
<a name="
|
3050
|
+
<a name="g-object-get-qdata.parameters"></a><h4>Parameters</h4>
|
3051
3051
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3052
3052
|
<colgroup>
|
3053
3053
|
<col width="150px" class="parameters_name">
|
@@ -3062,15 +3062,15 @@ g_object_get_qdata (<em class="parameter"><code><a class="link" href="gobject-Th
|
|
3062
3062
|
</tr>
|
3063
3063
|
<tr>
|
3064
3064
|
<td class="parameter_name"><p>quark</p></td>
|
3065
|
-
<td class="parameter_description"><p>A <a href="../glib
|
3065
|
+
<td class="parameter_description"><p>A <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3066
3066
|
<td class="parameter_annotations"> </td>
|
3067
3067
|
</tr>
|
3068
3068
|
</tbody>
|
3069
3069
|
</table></div>
|
3070
3070
|
</div>
|
3071
3071
|
<div class="refsect3">
|
3072
|
-
<a name="
|
3073
|
-
<p> The user data pointer set, or <a href="../glib
|
3072
|
+
<a name="g-object-get-qdata.returns"></a><h4>Returns</h4>
|
3073
|
+
<p> The user data pointer set, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
3074
3074
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
3075
3075
|
</div>
|
3076
3076
|
</div>
|
@@ -3079,21 +3079,21 @@ g_object_get_qdata (<em class="parameter"><code><a class="link" href="gobject-Th
|
|
3079
3079
|
<a name="g-object-set-qdata"></a><h3>g_object_set_qdata ()</h3>
|
3080
3080
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3081
3081
|
g_object_set_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3082
|
-
<em class="parameter"><code><a href="../glib
|
3083
|
-
<em class="parameter"><code><a href="../glib
|
3082
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
3083
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
|
3084
3084
|
<p>This sets an opaque, named pointer on an object.
|
3085
|
-
The name is specified through a <a href="../glib
|
3086
|
-
<a href="../glib
|
3085
|
+
The name is specified through a <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> (retrived e.g. via
|
3086
|
+
<a href="../glib-Quarks.html#g-quark-from-static-string"><code class="function">g_quark_from_static_string()</code></a>), and the pointer
|
3087
3087
|
can be gotten back from the <em class="parameter"><code>object</code></em>
|
3088
3088
|
with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()"><code class="function">g_object_get_qdata()</code></a>
|
3089
3089
|
until the <em class="parameter"><code>object</code></em>
|
3090
3090
|
is finalized.
|
3091
3091
|
Setting a previously set user data pointer, overrides (frees)
|
3092
|
-
the old pointer set, using <a href="../glib
|
3092
|
+
the old pointer set, using <a href="../glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> as pointer essentially
|
3093
3093
|
removes the data stored.</p>
|
3094
3094
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3095
3095
|
<div class="refsect3">
|
3096
|
-
<a name="
|
3096
|
+
<a name="g-object-set-qdata.parameters"></a><h4>Parameters</h4>
|
3097
3097
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3098
3098
|
<colgroup>
|
3099
3099
|
<col width="150px" class="parameters_name">
|
@@ -3108,7 +3108,7 @@ removes the data stored.</p>
|
|
3108
3108
|
</tr>
|
3109
3109
|
<tr>
|
3110
3110
|
<td class="parameter_name"><p>quark</p></td>
|
3111
|
-
<td class="parameter_description"><p>A <a href="../glib
|
3111
|
+
<td class="parameter_description"><p>A <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3112
3112
|
<td class="parameter_annotations"> </td>
|
3113
3113
|
</tr>
|
3114
3114
|
<tr>
|
@@ -3125,9 +3125,9 @@ removes the data stored.</p>
|
|
3125
3125
|
<a name="g-object-set-qdata-full"></a><h3>g_object_set_qdata_full ()</h3>
|
3126
3126
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3127
3127
|
g_object_set_qdata_full (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3128
|
-
<em class="parameter"><code><a href="../glib
|
3129
|
-
<em class="parameter"><code><a href="../glib
|
3130
|
-
<em class="parameter"><code><a href="../glib
|
3128
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
3129
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
3130
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
3131
3131
|
<p>This function works like <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a>, but in addition,
|
3132
3132
|
a void (*destroy) (gpointer) function may be specified which is
|
3133
3133
|
called with <em class="parameter"><code>data</code></em>
|
@@ -3138,7 +3138,7 @@ with the same <em class="parameter"><code>quark</code></em>
|
|
3138
3138
|
.</p>
|
3139
3139
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3140
3140
|
<div class="refsect3">
|
3141
|
-
<a name="
|
3141
|
+
<a name="g-object-set-qdata-full.parameters"></a><h4>Parameters</h4>
|
3142
3142
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3143
3143
|
<colgroup>
|
3144
3144
|
<col width="150px" class="parameters_name">
|
@@ -3153,7 +3153,7 @@ with the same <em class="parameter"><code>quark</code></em>
|
|
3153
3153
|
</tr>
|
3154
3154
|
<tr>
|
3155
3155
|
<td class="parameter_name"><p>quark</p></td>
|
3156
|
-
<td class="parameter_description"><p>A <a href="../glib
|
3156
|
+
<td class="parameter_description"><p>A <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3157
3157
|
<td class="parameter_annotations"> </td>
|
3158
3158
|
</tr>
|
3159
3159
|
<tr>
|
@@ -3175,9 +3175,9 @@ needs to be freed</p></td>
|
|
3175
3175
|
<hr>
|
3176
3176
|
<div class="refsect2">
|
3177
3177
|
<a name="g-object-steal-qdata"></a><h3>g_object_steal_qdata ()</h3>
|
3178
|
-
<pre class="programlisting"><a href="../glib
|
3178
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
3179
3179
|
g_object_steal_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3180
|
-
<em class="parameter"><code><a href="../glib
|
3180
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
3181
3181
|
<p>This function gets back user data pointers stored via
|
3182
3182
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a> and removes the <em class="parameter"><code>data</code></em>
|
3183
3183
|
from object
|
@@ -3217,12 +3217,12 @@ user data pointers with a destroy notifier, for example:</p>
|
|
3217
3217
|
<span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>new_string<span class="gtkdoc opt">)</span>
|
3218
3218
|
<span class="gtkdoc opt">{</span>
|
3219
3219
|
<span class="gtkdoc slc">// the quark, naming the object data</span>
|
3220
|
-
GQuark quark_string_list <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
3220
|
+
GQuark quark_string_list <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Quarks.html#g-quark-from-static-string">g_quark_from_static_string</a></span> <span class="gtkdoc opt">(</span><span class="string">"my-string-list"</span><span class="gtkdoc opt">);</span>
|
3221
3221
|
<span class="gtkdoc slc">// retrive the old string list</span>
|
3222
3222
|
GList <span class="gtkdoc opt">*</span>list <span class="gtkdoc opt">=</span> <span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-steal-qdata">g_object_steal_qdata</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> quark_string_list<span class="gtkdoc opt">);</span>
|
3223
3223
|
|
3224
3224
|
<span class="gtkdoc slc">// prepend new string</span>
|
3225
|
-
list <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib
|
3225
|
+
list <span class="gtkdoc opt">=</span> <span class="function"><a href="../glib-Doubly-Linked-Lists.html#g-list-prepend">g_list_prepend</a></span> <span class="gtkdoc opt">(</span>list<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>new_string<span class="gtkdoc opt">));</span>
|
3226
3226
|
<span class="gtkdoc slc">// this changed 'list', so we need to set it again</span>
|
3227
3227
|
<span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full">g_object_set_qdata_full</a></span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">,</span> quark_string_list<span class="gtkdoc opt">,</span> list<span class="gtkdoc opt">,</span> free_string_list<span class="gtkdoc opt">);</span>
|
3228
3228
|
<span class="gtkdoc opt">}</span>
|
@@ -3232,8 +3232,8 @@ user data pointers with a destroy notifier, for example:</p>
|
|
3232
3232
|
GList <span class="gtkdoc opt">*</span>node<span class="gtkdoc opt">, *</span>list <span class="gtkdoc opt">=</span> data<span class="gtkdoc opt">;</span>
|
3233
3233
|
|
3234
3234
|
<span class="keyword">for</span> <span class="gtkdoc opt">(</span>node <span class="gtkdoc opt">=</span> list<span class="gtkdoc opt">;</span> node<span class="gtkdoc opt">;</span> node <span class="gtkdoc opt">=</span> node<span class="gtkdoc opt">-></span>next<span class="gtkdoc opt">)</span>
|
3235
|
-
<span class="function"><a href="../glib
|
3236
|
-
<span class="function"><a href="../glib
|
3235
|
+
<span class="function"><a href="../glib-Memory-Allocation.html#g-free">g_free</a></span> <span class="gtkdoc opt">(</span>node<span class="gtkdoc opt">-></span>data<span class="gtkdoc opt">);</span>
|
3236
|
+
<span class="function"><a href="../glib-Doubly-Linked-Lists.html#g-list-free">g_list_free</a></span> <span class="gtkdoc opt">(</span>list<span class="gtkdoc opt">);</span>
|
3237
3237
|
<span class="gtkdoc opt">}</span></pre></td>
|
3238
3238
|
</tr>
|
3239
3239
|
</tbody>
|
@@ -3246,7 +3246,7 @@ Using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata
|
|
3246
3246
|
and thus the partial string list would have been freed upon
|
3247
3247
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full" title="g_object_set_qdata_full ()"><code class="function">g_object_set_qdata_full()</code></a>.</p>
|
3248
3248
|
<div class="refsect3">
|
3249
|
-
<a name="
|
3249
|
+
<a name="g-object-steal-qdata.parameters"></a><h4>Parameters</h4>
|
3250
3250
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3251
3251
|
<colgroup>
|
3252
3252
|
<col width="150px" class="parameters_name">
|
@@ -3261,26 +3261,26 @@ and thus the partial string list would have been freed upon
|
|
3261
3261
|
</tr>
|
3262
3262
|
<tr>
|
3263
3263
|
<td class="parameter_name"><p>quark</p></td>
|
3264
|
-
<td class="parameter_description"><p>A <a href="../glib
|
3264
|
+
<td class="parameter_description"><p>A <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3265
3265
|
<td class="parameter_annotations"> </td>
|
3266
3266
|
</tr>
|
3267
3267
|
</tbody>
|
3268
3268
|
</table></div>
|
3269
3269
|
</div>
|
3270
3270
|
<div class="refsect3">
|
3271
|
-
<a name="
|
3272
|
-
<p> The user data pointer set, or <a href="../glib
|
3271
|
+
<a name="g-object-steal-qdata.returns"></a><h4>Returns</h4>
|
3272
|
+
<p> The user data pointer set, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
3273
3273
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
3274
3274
|
</div>
|
3275
3275
|
</div>
|
3276
3276
|
<hr>
|
3277
3277
|
<div class="refsect2">
|
3278
3278
|
<a name="g-object-dup-qdata"></a><h3>g_object_dup_qdata ()</h3>
|
3279
|
-
<pre class="programlisting"><a href="../glib
|
3279
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
3280
3280
|
g_object_dup_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3281
|
-
<em class="parameter"><code><a href="../glib
|
3282
|
-
<em class="parameter"><code><a href="../glib
|
3283
|
-
<em class="parameter"><code><a href="../glib
|
3281
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
3282
|
+
<em class="parameter"><code><a href="../glib-Keyed-Data-Lists.html#GDuplicateFunc"><span class="type">GDuplicateFunc</span></a> dup_func</code></em>,
|
3283
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
3284
3284
|
<p>This is a variant of <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()"><code class="function">g_object_get_qdata()</code></a> which returns
|
3285
3285
|
a 'duplicate' of the value. <em class="parameter"><code>dup_func</code></em>
|
3286
3286
|
defines the
|
@@ -3289,7 +3289,7 @@ take a reference on a ref-counted object.</p>
|
|
3289
3289
|
<p>If the <em class="parameter"><code>quark</code></em>
|
3290
3290
|
is not set on the object then <em class="parameter"><code>dup_func</code></em>
|
3291
3291
|
|
3292
|
-
will be called with a <a href="../glib
|
3292
|
+
will be called with a <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> argument.</p>
|
3293
3293
|
<p>Note that <em class="parameter"><code>dup_func</code></em>
|
3294
3294
|
is called while user data of <em class="parameter"><code>object</code></em>
|
3295
3295
|
|
@@ -3298,7 +3298,7 @@ is locked.</p>
|
|
3298
3298
|
threads are using object data on the same key on the same
|
3299
3299
|
object.</p>
|
3300
3300
|
<div class="refsect3">
|
3301
|
-
<a name="
|
3301
|
+
<a name="g-object-dup-qdata.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">
|
@@ -3313,7 +3313,7 @@ object.</p>
|
|
3313
3313
|
</tr>
|
3314
3314
|
<tr>
|
3315
3315
|
<td class="parameter_name"><p>quark</p></td>
|
3316
|
-
<td class="parameter_description"><p>a <a href="../glib
|
3316
|
+
<td class="parameter_description"><p>a <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3317
3317
|
<td class="parameter_annotations"> </td>
|
3318
3318
|
</tr>
|
3319
3319
|
<tr>
|
@@ -3331,14 +3331,14 @@ object.</p>
|
|
3331
3331
|
</table></div>
|
3332
3332
|
</div>
|
3333
3333
|
<div class="refsect3">
|
3334
|
-
<a name="
|
3334
|
+
<a name="g-object-dup-qdata.returns"></a><h4>Returns</h4>
|
3335
3335
|
<p> the result of calling <em class="parameter"><code>dup_func</code></em>
|
3336
3336
|
on the value
|
3337
3337
|
associated with <em class="parameter"><code>quark</code></em>
|
3338
3338
|
on <em class="parameter"><code>object</code></em>
|
3339
|
-
, or <a href="../glib
|
3339
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not set.
|
3340
3340
|
If <em class="parameter"><code>dup_func</code></em>
|
3341
|
-
is <a href="../glib
|
3341
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the value is returned
|
3342
3342
|
unmodified.</p>
|
3343
3343
|
</div>
|
3344
3344
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
@@ -3346,13 +3346,13 @@ unmodified.</p>
|
|
3346
3346
|
<hr>
|
3347
3347
|
<div class="refsect2">
|
3348
3348
|
<a name="g-object-replace-qdata"></a><h3>g_object_replace_qdata ()</h3>
|
3349
|
-
<pre class="programlisting"><a href="../glib
|
3349
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
3350
3350
|
g_object_replace_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3351
|
-
<em class="parameter"><code><a href="../glib
|
3352
|
-
<em class="parameter"><code><a href="../glib
|
3353
|
-
<em class="parameter"><code><a href="../glib
|
3354
|
-
<em class="parameter"><code><a href="../glib
|
3355
|
-
<em class="parameter"><code><a href="../glib
|
3351
|
+
<em class="parameter"><code><a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
3352
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> oldval</code></em>,
|
3353
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> newval</code></em>,
|
3354
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
|
3355
|
+
<em class="parameter"><code><a href="../glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> *old_destroy</code></em>);</pre>
|
3356
3356
|
<p>Compares the user data for the key <em class="parameter"><code>quark</code></em>
|
3357
3357
|
on <em class="parameter"><code>object</code></em>
|
3358
3358
|
with
|
@@ -3373,7 +3373,7 @@ or may not include using <em class="parameter"><code>old_destroy</code></em>
|
|
3373
3373
|
as sometimes replacement
|
3374
3374
|
should not destroy the object in the normal way.</p>
|
3375
3375
|
<div class="refsect3">
|
3376
|
-
<a name="
|
3376
|
+
<a name="g-object-replace-qdata.parameters"></a><h4>Parameters</h4>
|
3377
3377
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3378
3378
|
<colgroup>
|
3379
3379
|
<col width="150px" class="parameters_name">
|
@@ -3388,7 +3388,7 @@ should not destroy the object in the normal way.</p>
|
|
3388
3388
|
</tr>
|
3389
3389
|
<tr>
|
3390
3390
|
<td class="parameter_name"><p>quark</p></td>
|
3391
|
-
<td class="parameter_description"><p>a <a href="../glib
|
3391
|
+
<td class="parameter_description"><p>a <a href="../glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</p></td>
|
3392
3392
|
<td class="parameter_annotations"> </td>
|
3393
3393
|
</tr>
|
3394
3394
|
<tr>
|
@@ -3415,11 +3415,11 @@ should not destroy the object in the normal way.</p>
|
|
3415
3415
|
</table></div>
|
3416
3416
|
</div>
|
3417
3417
|
<div class="refsect3">
|
3418
|
-
<a name="
|
3419
|
-
<p> <a href="../glib
|
3418
|
+
<a name="g-object-replace-qdata.returns"></a><h4>Returns</h4>
|
3419
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the existing value for <em class="parameter"><code>quark</code></em>
|
3420
3420
|
was replaced
|
3421
3421
|
by <em class="parameter"><code>newval</code></em>
|
3422
|
-
, <a href="../glib
|
3422
|
+
, <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
3423
3423
|
</div>
|
3424
3424
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
3425
3425
|
</div>
|
@@ -3428,11 +3428,11 @@ by <em class="parameter"><code>newval</code></em>
|
|
3428
3428
|
<a name="g-object-set-property"></a><h3>g_object_set_property ()</h3>
|
3429
3429
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3430
3430
|
g_object_set_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3431
|
-
<em class="parameter"><code>const <a href="../glib
|
3431
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
3432
3432
|
<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
3433
3433
|
<p>Sets a property on an object.</p>
|
3434
3434
|
<div class="refsect3">
|
3435
|
-
<a name="
|
3435
|
+
<a name="g-object-set-property.parameters"></a><h4>Parameters</h4>
|
3436
3436
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3437
3437
|
<colgroup>
|
3438
3438
|
<col width="150px" class="parameters_name">
|
@@ -3464,7 +3464,7 @@ g_object_set_property (<em class="parameter"><code><a class="link" href="gobject
|
|
3464
3464
|
<a name="g-object-get-property"></a><h3>g_object_get_property ()</h3>
|
3465
3465
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3466
3466
|
g_object_get_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3467
|
-
<em class="parameter"><code>const <a href="../glib
|
3467
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
3468
3468
|
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
3469
3469
|
<p>Gets a property of an object. <em class="parameter"><code>value</code></em>
|
3470
3470
|
must have been initialized to the
|
@@ -3475,7 +3475,7 @@ responsible for freeing the memory by calling <a class="link" href="gobject-Gene
|
|
3475
3475
|
<p>Note that <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()"><code class="function">g_object_get_property()</code></a> is really intended for language
|
3476
3476
|
bindings, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a> is much more convenient for C programming.</p>
|
3477
3477
|
<div class="refsect3">
|
3478
|
-
<a name="
|
3478
|
+
<a name="g-object-get-property.parameters"></a><h4>Parameters</h4>
|
3479
3479
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3480
3480
|
<colgroup>
|
3481
3481
|
<col width="150px" class="parameters_name">
|
@@ -3507,14 +3507,14 @@ bindings, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get"
|
|
3507
3507
|
<a name="g-object-new-valist"></a><h3>g_object_new_valist ()</h3>
|
3508
3508
|
<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *
|
3509
3509
|
g_object_new_valist (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>,
|
3510
|
-
<em class="parameter"><code>const <a href="../glib
|
3510
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
3511
3511
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
3512
3512
|
<p>Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties.</p>
|
3513
3513
|
<p>Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>)
|
3514
3514
|
which are not explicitly specified are set to their default values.</p>
|
3515
3515
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3516
3516
|
<div class="refsect3">
|
3517
|
-
<a name="
|
3517
|
+
<a name="g-object-new-valist.parameters"></a><h4>Parameters</h4>
|
3518
3518
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3519
3519
|
<colgroup>
|
3520
3520
|
<col width="150px" class="parameters_name">
|
@@ -3535,14 +3535,14 @@ which are not explicitly specified are set to their default values.</p>
|
|
3535
3535
|
<tr>
|
3536
3536
|
<td class="parameter_name"><p>var_args</p></td>
|
3537
3537
|
<td class="parameter_description"><p>the value of the first property, followed optionally by more
|
3538
|
-
name/value pairs, followed by <a href="../glib
|
3538
|
+
name/value pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3539
3539
|
<td class="parameter_annotations"> </td>
|
3540
3540
|
</tr>
|
3541
3541
|
</tbody>
|
3542
3542
|
</table></div>
|
3543
3543
|
</div>
|
3544
3544
|
<div class="refsect3">
|
3545
|
-
<a name="
|
3545
|
+
<a name="g-object-new-valist.returns"></a><h4>Returns</h4>
|
3546
3546
|
<p> a new instance of <em class="parameter"><code>object_type</code></em>
|
3547
3547
|
</p>
|
3548
3548
|
</div>
|
@@ -3552,12 +3552,12 @@ name/value pairs, followed by <a href="../glib/glib-Standard-Macros.html#NULL:CA
|
|
3552
3552
|
<a name="g-object-set-valist"></a><h3>g_object_set_valist ()</h3>
|
3553
3553
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3554
3554
|
g_object_set_valist (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3555
|
-
<em class="parameter"><code>const <a href="../glib
|
3555
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
3556
3556
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
3557
3557
|
<p>Sets properties on an object.</p>
|
3558
3558
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3559
3559
|
<div class="refsect3">
|
3560
|
-
<a name="
|
3560
|
+
<a name="g-object-set-valist.parameters"></a><h4>Parameters</h4>
|
3561
3561
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3562
3562
|
<colgroup>
|
3563
3563
|
<col width="150px" class="parameters_name">
|
@@ -3578,7 +3578,7 @@ g_object_set_valist (<em class="parameter"><code><a class="link" href="gobject-T
|
|
3578
3578
|
<tr>
|
3579
3579
|
<td class="parameter_name"><p>var_args</p></td>
|
3580
3580
|
<td class="parameter_description"><p>value for the first property, followed optionally by more
|
3581
|
-
name/value pairs, followed by <a href="../glib
|
3581
|
+
name/value pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3582
3582
|
<td class="parameter_annotations"> </td>
|
3583
3583
|
</tr>
|
3584
3584
|
</tbody>
|
@@ -3590,16 +3590,16 @@ name/value pairs, followed by <a href="../glib/glib-Standard-Macros.html#NULL:CA
|
|
3590
3590
|
<a name="g-object-get-valist"></a><h3>g_object_get_valist ()</h3>
|
3591
3591
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3592
3592
|
g_object_get_valist (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
3593
|
-
<em class="parameter"><code>const <a href="../glib
|
3593
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
3594
3594
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
3595
3595
|
<p>Gets properties of an object.</p>
|
3596
3596
|
<p>In general, a copy is made of the property contents and the caller
|
3597
3597
|
is responsible for freeing the memory in the appropriate manner for
|
3598
|
-
the type, for instance by calling <a href="../glib
|
3598
|
+
the type, for instance by calling <a href="../glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> or <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>.</p>
|
3599
3599
|
<p>See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a>.</p>
|
3600
3600
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3601
3601
|
<div class="refsect3">
|
3602
|
-
<a name="
|
3602
|
+
<a name="g-object-get-valist.parameters"></a><h4>Parameters</h4>
|
3603
3603
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3604
3604
|
<colgroup>
|
3605
3605
|
<col width="150px" class="parameters_name">
|
@@ -3620,7 +3620,7 @@ the type, for instance by calling <a href="../glib/glib-Memory-Allocation.html#g
|
|
3620
3620
|
<tr>
|
3621
3621
|
<td class="parameter_name"><p>var_args</p></td>
|
3622
3622
|
<td class="parameter_description"><p>return location for the first property, followed optionally by more
|
3623
|
-
name/return location pairs, followed by <a href="../glib
|
3623
|
+
name/return location pairs, followed by <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
3624
3624
|
<td class="parameter_annotations"> </td>
|
3625
3625
|
</tr>
|
3626
3626
|
</tbody>
|
@@ -3649,7 +3649,7 @@ reference count is held on <em class="parameter"><code>object</code></em>
|
|
3649
3649
|
use this <em class="parameter"><code>object</code></em>
|
3650
3650
|
as closure data.</p>
|
3651
3651
|
<div class="refsect3">
|
3652
|
-
<a name="
|
3652
|
+
<a name="g-object-watch-closure.parameters"></a><h4>Parameters</h4>
|
3653
3653
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3654
3654
|
<colgroup>
|
3655
3655
|
<col width="150px" class="parameters_name">
|
@@ -3681,7 +3681,7 @@ g_object_run_dispose (<em class="parameter"><code><a class="link" href="gobject-
|
|
3681
3681
|
reference cycles.</p>
|
3682
3682
|
<p>This function should only be called from object system implementations.</p>
|
3683
3683
|
<div class="refsect3">
|
3684
|
-
<a name="
|
3684
|
+
<a name="g-object-run-dispose.parameters"></a><h4>Parameters</h4>
|
3685
3685
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3686
3686
|
<colgroup>
|
3687
3687
|
<col width="150px" class="parameters_name">
|
@@ -3703,7 +3703,7 @@ reference cycles.</p>
|
|
3703
3703
|
<p>This macro should be used to emit a standard warning about unexpected
|
3704
3704
|
properties in <code class="function">set_property()</code> and <code class="function">get_property()</code> implementations.</p>
|
3705
3705
|
<div class="refsect3">
|
3706
|
-
<a name="
|
3706
|
+
<a name="G-OBJECT-WARN-INVALID-PROPERTY-ID.parameters"></a><h4>Parameters</h4>
|
3707
3707
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3708
3708
|
<colgroup>
|
3709
3709
|
<col width="150px" class="parameters_name">
|
@@ -3735,7 +3735,7 @@ properties in <code class="function">set_property()</code> and <code class="func
|
|
3735
3735
|
<a name="g-weak-ref-init"></a><h3>g_weak_ref_init ()</h3>
|
3736
3736
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3737
3737
|
g_weak_ref_init (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>,
|
3738
|
-
<em class="parameter"><code><a href="../glib
|
3738
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
3739
3739
|
<p>Initialise a non-statically-allocated <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>.</p>
|
3740
3740
|
<p>This function also calls <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()"><code class="function">g_weak_ref_set()</code></a> with <em class="parameter"><code>object</code></em>
|
3741
3741
|
on the
|
@@ -3746,7 +3746,7 @@ freshly-initialised weak reference.</p>
|
|
3746
3746
|
properly initialised. Just use <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()"><code class="function">g_weak_ref_set()</code></a> directly.</p>
|
3747
3747
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3748
3748
|
<div class="refsect3">
|
3749
|
-
<a name="
|
3749
|
+
<a name="g-weak-ref-init.parameters"></a><h4>Parameters</h4>
|
3750
3750
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3751
3751
|
<colgroup>
|
3752
3752
|
<col width="150px" class="parameters_name">
|
@@ -3762,7 +3762,7 @@ reference. </p></td>
|
|
3762
3762
|
</tr>
|
3763
3763
|
<tr>
|
3764
3764
|
<td class="parameter_name"><p>object</p></td>
|
3765
|
-
<td class="parameter_description"><p> a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="../glib
|
3765
|
+
<td class="parameter_description"><p> a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3766
3766
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3767
3767
|
</tr>
|
3768
3768
|
</tbody>
|
@@ -3781,7 +3781,7 @@ After this call, the <a class="link" href="gobject-The-Base-Object-Type.html#GWe
|
|
3781
3781
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-init" title="g_weak_ref_init ()"><code class="function">g_weak_ref_init()</code></a> called on it.</p>
|
3782
3782
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3783
3783
|
<div class="refsect3">
|
3784
|
-
<a name="
|
3784
|
+
<a name="g-weak-ref-clear.parameters"></a><h4>Parameters</h4>
|
3785
3785
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3786
3786
|
<colgroup>
|
3787
3787
|
<col width="150px" class="parameters_name">
|
@@ -3801,7 +3801,7 @@ may be empty. </p></td>
|
|
3801
3801
|
<hr>
|
3802
3802
|
<div class="refsect2">
|
3803
3803
|
<a name="g-weak-ref-get"></a><h3>g_weak_ref_get ()</h3>
|
3804
|
-
<pre class="programlisting"><a href="../glib
|
3804
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
|
3805
3805
|
g_weak_ref_get (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>);</pre>
|
3806
3806
|
<p>If <em class="parameter"><code>weak_ref</code></em>
|
3807
3807
|
is not empty, atomically acquire a strong
|
@@ -3813,7 +3813,7 @@ its last reference at the same time in a different thread.</p>
|
|
3813
3813
|
by using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>.</p>
|
3814
3814
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3815
3815
|
<div class="refsect3">
|
3816
|
-
<a name="
|
3816
|
+
<a name="g-weak-ref-get.parameters"></a><h4>Parameters</h4>
|
3817
3817
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3818
3818
|
<colgroup>
|
3819
3819
|
<col width="150px" class="parameters_name">
|
@@ -3828,10 +3828,10 @@ by using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref"
|
|
3828
3828
|
</table></div>
|
3829
3829
|
</div>
|
3830
3830
|
<div class="refsect3">
|
3831
|
-
<a name="
|
3831
|
+
<a name="g-weak-ref-get.returns"></a><h4>Returns</h4>
|
3832
3832
|
<p> the object pointed to
|
3833
3833
|
by <em class="parameter"><code>weak_ref</code></em>
|
3834
|
-
, or <a href="../glib
|
3834
|
+
, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it was empty. </p>
|
3835
3835
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object]</span></p>
|
3836
3836
|
</div>
|
3837
3837
|
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
@@ -3841,16 +3841,16 @@ by <em class="parameter"><code>weak_ref</code></em>
|
|
3841
3841
|
<a name="g-weak-ref-set"></a><h3>g_weak_ref_set ()</h3>
|
3842
3842
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
3843
3843
|
g_weak_ref_set (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>,
|
3844
|
-
<em class="parameter"><code><a href="../glib
|
3844
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
3845
3845
|
<p>Change the object to which <em class="parameter"><code>weak_ref</code></em>
|
3846
3846
|
points, or set it to
|
3847
|
-
<a href="../glib
|
3847
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
3848
3848
|
<p>You must own a strong reference on <em class="parameter"><code>object</code></em>
|
3849
3849
|
while calling this
|
3850
3850
|
function.</p>
|
3851
3851
|
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
|
3852
3852
|
<div class="refsect3">
|
3853
|
-
<a name="
|
3853
|
+
<a name="g-weak-ref-set.parameters"></a><h4>Parameters</h4>
|
3854
3854
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3855
3855
|
<colgroup>
|
3856
3856
|
<col width="150px" class="parameters_name">
|
@@ -3865,7 +3865,7 @@ function.</p>
|
|
3865
3865
|
</tr>
|
3866
3866
|
<tr>
|
3867
3867
|
<td class="parameter_name"><p>object</p></td>
|
3868
|
-
<td class="parameter_description"><p> a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="../glib
|
3868
|
+
<td class="parameter_description"><p> a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3869
3869
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
|
3870
3870
|
</tr>
|
3871
3871
|
</tbody>
|
@@ -3939,7 +3939,7 @@ my_singleton_constructor (GType type,
|
|
3939
3939
|
}
|
3940
3940
|
</programlisting></example></p>
|
3941
3941
|
<div class="refsect3">
|
3942
|
-
<a name="
|
3942
|
+
<a name="GObjectClass.members"></a><h4>Members</h4>
|
3943
3943
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
3944
3944
|
<colgroup>
|
3945
3945
|
<col width="300px" class="struct_members_name">
|
@@ -4046,7 +4046,7 @@ structure used to hand <a class="link" href="gobject-GParamSpec.html#GParamSpec"
|
|
4046
4046
|
of
|
4047
4047
|
a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.</p>
|
4048
4048
|
<div class="refsect3">
|
4049
|
-
<a name="
|
4049
|
+
<a name="GObjectConstructParam.members"></a><h4>Members</h4>
|
4050
4050
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4051
4051
|
<colgroup>
|
4052
4052
|
<col width="300px" class="struct_members_name">
|
@@ -4079,7 +4079,7 @@ a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="s
|
|
4079
4079
|
<p>The GParameter struct is an auxiliary structure used
|
4080
4080
|
to hand parameter name/value pairs to <a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()"><code class="function">g_object_newv()</code></a>.</p>
|
4081
4081
|
<div class="refsect3">
|
4082
|
-
<a name="
|
4082
|
+
<a name="GParameter.members"></a><h4>Members</h4>
|
4083
4083
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4084
4084
|
<colgroup>
|
4085
4085
|
<col width="300px" class="struct_members_name">
|
@@ -4088,7 +4088,7 @@ to hand parameter name/value pairs to <a class="link" href="gobject-The-Base-Obj
|
|
4088
4088
|
</colgroup>
|
4089
4089
|
<tbody>
|
4090
4090
|
<tr>
|
4091
|
-
<td class="struct_member_name"><p>const <a href="../glib
|
4091
|
+
<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="GParameter.name"></a>name</code></em>;</p></td>
|
4092
4092
|
<td class="struct_member_description"><p>the parameter name</p></td>
|
4093
4093
|
<td class="struct_member_annotations"> </td>
|
4094
4094
|
</tr>
|
@@ -4131,10 +4131,10 @@ accessed directly.</p>
|
|
4131
4131
|
} GWeakRef;
|
4132
4132
|
</pre>
|
4133
4133
|
<p>A structure containing a weak reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. It can either
|
4134
|
-
be empty (i.e. point to <a href="../glib
|
4134
|
+
be empty (i.e. point to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), or point to an object for as long as
|
4135
4135
|
at least one "strong" reference to that object exists. Before the
|
4136
4136
|
object's <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass.dispose"><span class="type">GObjectClass.dispose</span></a> method is called, every <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>
|
4137
|
-
associated with becomes empty (i.e. points to <a href="../glib
|
4137
|
+
associated with becomes empty (i.e. points to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
|
4138
4138
|
<p>Like <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> can be statically allocated, stack- or
|
4139
4139
|
heap-allocated, or embedded in larger structures.</p>
|
4140
4140
|
<p>Unlike <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()"><code class="function">g_object_weak_ref()</code></a> and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>, this weak
|
@@ -4143,7 +4143,7 @@ atomic with respect to invalidation of weak pointers to destroyed
|
|
4143
4143
|
objects.</p>
|
4144
4144
|
<p>If the object's <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass.dispose"><span class="type">GObjectClass.dispose</span></a> method results in additional
|
4145
4145
|
references to the object being held, any <a href="gobject-The-Base-Object-Type.html#GWeakRef"><span class="type">GWeakRefs</span></a> taken
|
4146
|
-
before it was disposed will continue to point to <a href="../glib
|
4146
|
+
before it was disposed will continue to point to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If
|
4147
4147
|
<a href="gobject-The-Base-Object-Type.html#GWeakRef"><span class="type">GWeakRefs</span></a> are taken after the object is disposed and
|
4148
4148
|
re-referenced, they will continue to point to it until its refcount
|
4149
4149
|
goes back to zero, at which point they too will be invalidated.</p>
|
@@ -4156,7 +4156,7 @@ goes back to zero, at which point they too will be invalidated.</p>
|
|
4156
4156
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
4157
4157
|
user_function (<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *gobject,
|
4158
4158
|
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec,
|
4159
|
-
<a href="../glib
|
4159
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
4160
4160
|
<p>The notify signal is emitted on an object when one of its
|
4161
4161
|
properties has been changed. Note that getting this signal
|
4162
4162
|
doesn't guarantee that the value of the property has actually
|
@@ -4185,7 +4185,7 @@ It is important to note that you must use
|
|
4185
4185
|
canonical parameter names as
|
4186
4186
|
detail strings for the notify signal.</p>
|
4187
4187
|
<div class="refsect3">
|
4188
|
-
<a name="
|
4188
|
+
<a name="GObject-notify.parameters"></a><h4>Parameters</h4>
|
4189
4189
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
4190
4190
|
<colgroup>
|
4191
4191
|
<col width="150px" class="parameters_name">
|
@@ -4220,6 +4220,6 @@ detail strings for the notify signal.</p>
|
|
4220
4220
|
</div>
|
4221
4221
|
</div>
|
4222
4222
|
<div class="footer">
|
4223
|
-
<hr>Generated by GTK-Doc V1.
|
4223
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
4224
4224
|
</body>
|
4225
4225
|
</html>
|