glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/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/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- 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-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/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- 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 +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.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/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -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.16.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">
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<a href="#gobject-The-Base-Object-Type.signals" class="shortcut">Signals</a>
|
31
31
|
</td></tr>
|
32
32
|
</table>
|
33
|
-
<div class="refentry"
|
33
|
+
<div class="refentry">
|
34
34
|
<a name="gobject-The-Base-Object-Type"></a><div class="titlepage"></div>
|
35
35
|
<div class="refnamediv"><table width="100%"><tr>
|
36
36
|
<td valign="top">
|
@@ -39,22 +39,22 @@
|
|
39
39
|
</td>
|
40
40
|
<td valign="top" align="right"></td>
|
41
41
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv"
|
42
|
+
<div class="refsynopsisdiv">
|
43
43
|
<a name="gobject-The-Base-Object-Type.synopsis"></a><h2>Synopsis</h2>
|
44
44
|
<a name="GObject"></a><pre class="synopsis">
|
45
45
|
#include <glib-object.h>
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
47
|
+
struct <a class="link" href="gobject-The-Base-Object-Type.html#GObject-struct" title="struct GObject">GObject</a>;
|
48
|
+
struct <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass">GObjectClass</a>;
|
49
|
+
struct <a class="link" href="gobject-The-Base-Object-Type.html#GObjectConstructParam" title="struct GObjectConstructParam">GObjectConstructParam</a>;
|
50
50
|
<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectGetPropertyFunc" title="GObjectGetPropertyFunc ()">*GObjectGetPropertyFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
51
51
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
52
52
|
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>,
|
53
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
53
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
54
54
|
<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectSetPropertyFunc" title="GObjectSetPropertyFunc ()">*GObjectSetPropertyFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
55
55
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
56
56
|
<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>,
|
57
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
57
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
58
58
|
<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectFinalizeFunc" title="GObjectFinalizeFunc ()">*GObjectFinalizeFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
59
59
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS" title="G_TYPE_IS_OBJECT()">G_TYPE_IS_OBJECT</a> (type)
|
60
60
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT:CAPS" title="G_OBJECT()">G_OBJECT</a> (object)
|
@@ -66,35 +66,36 @@
|
|
66
66
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS" title="G_OBJECT_TYPE_NAME()">G_OBJECT_TYPE_NAME</a> (object)
|
67
67
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-TYPE:CAPS" title="G_OBJECT_CLASS_TYPE()">G_OBJECT_CLASS_TYPE</a> (class)
|
68
68
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-NAME:CAPS" title="G_OBJECT_CLASS_NAME()">G_OBJECT_CLASS_NAME</a> (class)
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a> (<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>,
|
70
70
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
71
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
72
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a> (<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>,
|
73
73
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>,
|
74
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);
|
75
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
74
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);
|
75
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-find-property" title="g_object_class_find_property ()">g_object_class_find_property</a> (<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>,
|
76
76
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);
|
77
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
77
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-list-properties" title="g_object_class_list_properties ()">g_object_class_list_properties</a> (<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>,
|
78
78
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>);
|
79
|
-
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
79
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a> (<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>,
|
80
80
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
81
81
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
82
82
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-install-property" title="g_object_interface_install_property ()">g_object_interface_install_property</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
83
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
84
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
83
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
84
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-find-property" title="g_object_interface_find_property ()">g_object_interface_find_property</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
85
85
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);
|
86
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
86
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-list-properties" title="g_object_interface_list_properties ()">g_object_interface_list_properties</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
87
87
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties_p</code></em>);
|
88
88
|
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a> (<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>,
|
89
89
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
90
90
|
<em class="parameter"><code>...</code></em>);
|
91
91
|
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()">g_object_newv</a> (<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>,
|
92
92
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
|
93
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);
|
94
|
-
|
93
|
+
<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>);
|
94
|
+
struct <a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter">GParameter</a>;
|
95
95
|
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);
|
96
96
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);
|
97
97
|
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()">g_object_ref_sink</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);
|
98
|
+
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-clear-object" title="g_clear_object ()">g_clear_object</a> (<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>);
|
98
99
|
typedef <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned">GInitiallyUnowned</a>;
|
99
100
|
typedef <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnownedClass" title="GInitiallyUnownedClass">GInitiallyUnownedClass</a>;
|
100
101
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-INITIALLY-UNOWNED:CAPS" title="G_TYPE_INITIALLY_UNOWNED">G_TYPE_INITIALLY_UNOWNED</a>
|
@@ -136,7 +137,7 @@ typedef <a class="link" href="gobject-The-Base-Object-Type.html#GIni
|
|
136
137
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify" title="g_object_notify ()">g_object_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
137
138
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);
|
138
139
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()">g_object_notify_by_pspec</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
139
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
140
|
+
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);
|
140
141
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()">g_object_freeze_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
141
142
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-thaw-notify" title="g_object_thaw_notify ()">g_object_thaw_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
142
143
|
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-data" title="g_object_get_data ()">g_object_get_data</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
@@ -167,7 +168,7 @@ typedef <a class="link" href="gobject-The-Base-Object-Type.html#GIni
|
|
167
168
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()">g_object_get_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
168
169
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
169
170
|
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);
|
170
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a
|
171
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new-valist" title="g_object_new_valist ()">g_object_new_valist</a> (<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>,
|
171
172
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
172
173
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
|
173
174
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-valist" title="g_object_set_valist ()">g_object_set_valist</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
@@ -177,14 +178,14 @@ typedef <a class="link" href="gobject-The-Base-Object-Type.html#GIni
|
|
177
178
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
178
179
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);
|
179
180
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()">g_object_watch_closure</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
180
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
181
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);
|
181
182
|
<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-run-dispose" title="g_object_run_dispose ()">g_object_run_dispose</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);
|
182
183
|
#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS" title="G_OBJECT_WARN_INVALID_PROPERTY_ID()">G_OBJECT_WARN_INVALID_PROPERTY_ID</a> (object,
|
183
184
|
property_id,
|
184
185
|
pspec)
|
185
186
|
</pre>
|
186
187
|
</div>
|
187
|
-
<div class="refsect1"
|
188
|
+
<div class="refsect1">
|
188
189
|
<a name="gobject-The-Base-Object-Type.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
189
190
|
<pre class="synopsis">
|
190
191
|
GObject
|
@@ -192,13 +193,13 @@ typedef <a class="link" href="gobject-The-Base-Object-Type.html#GIni
|
|
192
193
|
+----<a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a>
|
193
194
|
</pre>
|
194
195
|
</div>
|
195
|
-
<div class="refsect1"
|
196
|
+
<div class="refsect1">
|
196
197
|
<a name="gobject-The-Base-Object-Type.signals"></a><h2>Signals</h2>
|
197
198
|
<pre class="synopsis">
|
198
|
-
"<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'>notify</a>" :
|
199
|
+
"<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'>notify</a>" : <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a>
|
199
200
|
</pre>
|
200
201
|
</div>
|
201
|
-
<div class="refsect1"
|
202
|
+
<div class="refsect1">
|
202
203
|
<a name="gobject-The-Base-Object-Type.description"></a><h2>Description</h2>
|
203
204
|
<p>
|
204
205
|
GObject is the fundamental type providing the common attributes and
|
@@ -271,7 +272,7 @@ need to expose floating references in their API.
|
|
271
272
|
</p>
|
272
273
|
<p>
|
273
274
|
Some object implementations may need to save an objects floating state
|
274
|
-
across certain code portions (an example is <a href="http://library.gnome.org/devel/gtk/
|
275
|
+
across certain code portions (an example is <a href="http://library.gnome.org/devel/gtk/2.24/GtkMenu.html"><span class="type">GtkMenu</span></a>), to achive this, the
|
275
276
|
following sequence can be used:
|
276
277
|
</p>
|
277
278
|
<p>
|
@@ -306,20 +307,20 @@ following sequence can be used:
|
|
306
307
|
<p>
|
307
308
|
</p>
|
308
309
|
</div>
|
309
|
-
<div class="refsect1"
|
310
|
+
<div class="refsect1">
|
310
311
|
<a name="gobject-The-Base-Object-Type.details"></a><h2>Details</h2>
|
311
|
-
<div class="refsect2"
|
312
|
-
<a name="GObject-struct"></a><h3>GObject</h3>
|
313
|
-
<pre class="programlisting">
|
312
|
+
<div class="refsect2">
|
313
|
+
<a name="GObject-struct"></a><h3>struct GObject</h3>
|
314
|
+
<pre class="programlisting">struct GObject;</pre>
|
314
315
|
<p>
|
315
316
|
All the fields in the <span class="structname">GObject</span> structure are private
|
316
317
|
to the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> implementation and should never be accessed directly.
|
317
318
|
</p>
|
318
319
|
</div>
|
319
320
|
<hr>
|
320
|
-
<div class="refsect2"
|
321
|
-
<a name="GObjectClass"></a><h3>GObjectClass</h3>
|
322
|
-
<pre class="programlisting">
|
321
|
+
<div class="refsect2">
|
322
|
+
<a name="GObjectClass"></a><h3>struct GObjectClass</h3>
|
323
|
+
<pre class="programlisting">struct GObjectClass {
|
323
324
|
GTypeClass g_type_class;
|
324
325
|
|
325
326
|
/* seldomly overidden */
|
@@ -347,7 +348,7 @@ to the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span cl
|
|
347
348
|
|
348
349
|
/* called when done constructing */
|
349
350
|
void (*constructed) (GObject *object);
|
350
|
-
}
|
351
|
+
};
|
351
352
|
</pre>
|
352
353
|
<p>
|
353
354
|
The class structure for the <span class="structname">GObject</span> type.
|
@@ -355,7 +356,7 @@ The class structure for the <span class="structname">GObject</span> type.
|
|
355
356
|
<p>
|
356
357
|
</p>
|
357
358
|
<div class="example">
|
358
|
-
<a name="
|
359
|
+
<a name="id590201"></a><p class="title"><b>Example 1. Implementing singletons using a constructor</b></p>
|
359
360
|
<div class="example-contents">
|
360
361
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
361
362
|
<tbody>
|
@@ -414,113 +415,102 @@ The class structure for the <span class="structname">GObject</span> type.
|
|
414
415
|
<col align="left" valign="top">
|
415
416
|
<tbody>
|
416
417
|
<tr>
|
417
|
-
<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GObjectClass.g-type-class"></a>g_type_class</code></em>;</span></p></td>
|
418
|
-
<td>the parent class
|
419
|
-
</td>
|
418
|
+
<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GObjectClass.g-type-class"></a>g_type_class</code></em>;</span></p></td>
|
419
|
+
<td>the parent class</td>
|
420
420
|
</tr>
|
421
421
|
<tr>
|
422
422
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.constructor"></a>constructor</code></em> ()</span></p></td>
|
423
|
-
<td>the <em class="parameter"><code>constructor</code></em> function is called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> to
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
</td>
|
423
|
+
<td>the <em class="parameter"><code>constructor</code></em> function is called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> to
|
424
|
+
complete the object initialization after all the construction properties are
|
425
|
+
set. The first thing a <em class="parameter"><code>constructor</code></em> implementation must do is chain up to the
|
426
|
+
<em class="parameter"><code>constructor</code></em> of the parent class. Overriding <em class="parameter"><code>constructor</code></em> should be rarely
|
427
|
+
needed, e.g. to handle construct properties, or to implement singletons.</td>
|
429
428
|
</tr>
|
430
429
|
<tr>
|
431
430
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.set-property"></a>set_property</code></em> ()</span></p></td>
|
432
431
|
<td>the generic setter for all properties of this type. Should be
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
</td>
|
432
|
+
overridden for every type with properties. Implementations of <em class="parameter"><code>set_property</code></em>
|
433
|
+
don't need to emit property change notification explicitly, this is handled
|
434
|
+
by the type system.</td>
|
437
435
|
</tr>
|
438
436
|
<tr>
|
439
437
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.get-property"></a>get_property</code></em> ()</span></p></td>
|
440
438
|
<td>the generic getter for all properties of this type. Should be
|
441
|
-
|
442
|
-
</td>
|
439
|
+
overridden for every type with properties.</td>
|
443
440
|
</tr>
|
444
441
|
<tr>
|
445
442
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.dispose"></a>dispose</code></em> ()</span></p></td>
|
446
|
-
<td>the <em class="parameter"><code>dispose</code></em> function is supposed to drop all references to other
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
</td>
|
443
|
+
<td>the <em class="parameter"><code>dispose</code></em> function is supposed to drop all references to other
|
444
|
+
objects, but keep the instance otherwise intact, so that client method
|
445
|
+
invocations still work. It may be run multiple times (due to reference
|
446
|
+
loops). Before returning, <em class="parameter"><code>dispose</code></em> should chain up to the <em class="parameter"><code>dispose</code></em> method
|
447
|
+
of the parent class.</td>
|
452
448
|
</tr>
|
453
449
|
<tr>
|
454
450
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.finalize"></a>finalize</code></em> ()</span></p></td>
|
455
|
-
<td>instance finalization function, should finish the finalization of
|
456
|
-
|
457
|
-
|
458
|
-
</td>
|
451
|
+
<td>instance finalization function, should finish the finalization of
|
452
|
+
the instance begun in <em class="parameter"><code>dispose</code></em> and chain up to the <em class="parameter"><code>finalize</code></em> method of the
|
453
|
+
parent class.</td>
|
459
454
|
</tr>
|
460
455
|
<tr>
|
461
456
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.dispatch-properties-changed"></a>dispatch_properties_changed</code></em> ()</span></p></td>
|
462
457
|
<td>emits property change notification for a bunch
|
463
|
-
|
464
|
-
|
465
|
-
</td>
|
458
|
+
of properties. Overriding <em class="parameter"><code>dispatch_properties_changed</code></em> should be rarely
|
459
|
+
needed.</td>
|
466
460
|
</tr>
|
467
461
|
<tr>
|
468
462
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.notify"></a>notify</code></em> ()</span></p></td>
|
469
|
-
<td>the class closure for the notify signal
|
470
|
-
</td>
|
463
|
+
<td>the class closure for the notify signal</td>
|
471
464
|
</tr>
|
472
465
|
<tr>
|
473
466
|
<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.constructed"></a>constructed</code></em> ()</span></p></td>
|
474
467
|
<td>the <em class="parameter"><code>constructed</code></em> function is called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> as the
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
</td>
|
468
|
+
final step of the object creation process. At the point of the call, all
|
469
|
+
construction properties have been set on the object. The purpose of this
|
470
|
+
call is to allow for object initialisation steps that can only be performed
|
471
|
+
after construction properties have been set. <em class="parameter"><code>constructed</code></em> implementors
|
472
|
+
should chain up to the <em class="parameter"><code>constructed</code></em> call of their parent class to allow it
|
473
|
+
to complete its initialisation.</td>
|
482
474
|
</tr>
|
483
475
|
</tbody>
|
484
476
|
</table></div>
|
485
477
|
</div>
|
486
478
|
<hr>
|
487
|
-
<div class="refsect2"
|
488
|
-
<a name="GObjectConstructParam"></a><h3>GObjectConstructParam</h3>
|
489
|
-
<pre class="programlisting">
|
479
|
+
<div class="refsect2">
|
480
|
+
<a name="GObjectConstructParam"></a><h3>struct GObjectConstructParam</h3>
|
481
|
+
<pre class="programlisting">struct GObjectConstructParam {
|
490
482
|
GParamSpec *pspec;
|
491
483
|
GValue *value;
|
492
|
-
}
|
484
|
+
};
|
493
485
|
</pre>
|
494
486
|
<p>
|
495
487
|
The <span class="structname">GObjectConstructParam</span> struct is an auxiliary
|
496
|
-
structure used to hand <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>/<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> pairs to the <em class="parameter"><code>constructor</code></em> of
|
497
|
-
a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>.
|
488
|
+
structure used to hand <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>/<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> pairs to the <em class="parameter"><code>constructor</code></em> of
|
489
|
+
a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.
|
498
490
|
</p>
|
499
491
|
<div class="variablelist"><table border="0">
|
500
492
|
<col align="left" valign="top">
|
501
493
|
<tbody>
|
502
494
|
<tr>
|
503
|
-
<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *<em class="structfield"><code><a name="GObjectConstructParam.pspec"></a>pspec</code></em>;</span></p></td>
|
504
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> of the construct parameter
|
505
|
-
</td>
|
495
|
+
<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *<em class="structfield"><code><a name="GObjectConstructParam.pspec"></a>pspec</code></em>;</span></p></td>
|
496
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the construct parameter</td>
|
506
497
|
</tr>
|
507
498
|
<tr>
|
508
499
|
<td><p><span class="term"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *<em class="structfield"><code><a name="GObjectConstructParam.value"></a>value</code></em>;</span></p></td>
|
509
|
-
<td>the value to set the parameter to
|
510
|
-
</td>
|
500
|
+
<td>the value to set the parameter to</td>
|
511
501
|
</tr>
|
512
502
|
</tbody>
|
513
503
|
</table></div>
|
514
504
|
</div>
|
515
505
|
<hr>
|
516
|
-
<div class="refsect2"
|
506
|
+
<div class="refsect2">
|
517
507
|
<a name="GObjectGetPropertyFunc"></a><h3>GObjectGetPropertyFunc ()</h3>
|
518
508
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectGetPropertyFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
519
509
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
520
510
|
<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>,
|
521
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
511
|
+
<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>
|
522
512
|
<p>
|
523
|
-
The type of the <em class="parameter"><code>get_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>.
|
513
|
+
The type of the <em class="parameter"><code>get_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.
|
524
514
|
</p>
|
525
515
|
<div class="variablelist"><table border="0">
|
526
516
|
<col align="left" valign="top">
|
@@ -533,31 +523,28 @@ The type of the <em class="parameter"><code>get_property</code></em> function of
|
|
533
523
|
<tr>
|
534
524
|
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
|
535
525
|
<td>the numeric id under which the property was registered with
|
536
|
-
|
537
|
-
</td>
|
526
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>.</td>
|
538
527
|
</tr>
|
539
528
|
<tr>
|
540
529
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
541
|
-
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to return the property value in
|
542
|
-
</td>
|
530
|
+
<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to return the property value in</td>
|
543
531
|
</tr>
|
544
532
|
<tr>
|
545
533
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
546
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> describing the property
|
547
|
-
</td>
|
534
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the property</td>
|
548
535
|
</tr>
|
549
536
|
</tbody>
|
550
537
|
</table></div>
|
551
538
|
</div>
|
552
539
|
<hr>
|
553
|
-
<div class="refsect2"
|
540
|
+
<div class="refsect2">
|
554
541
|
<a name="GObjectSetPropertyFunc"></a><h3>GObjectSetPropertyFunc ()</h3>
|
555
542
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectSetPropertyFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
556
543
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
557
544
|
<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>,
|
558
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
545
|
+
<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>
|
559
546
|
<p>
|
560
|
-
The type of the <em class="parameter"><code>set_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>.
|
547
|
+
The type of the <em class="parameter"><code>set_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.
|
561
548
|
</p>
|
562
549
|
<div class="variablelist"><table border="0">
|
563
550
|
<col align="left" valign="top">
|
@@ -570,40 +557,36 @@ The type of the <em class="parameter"><code>set_property</code></em> function of
|
|
570
557
|
<tr>
|
571
558
|
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
|
572
559
|
<td>the numeric id under which the property was registered with
|
573
|
-
|
574
|
-
</td>
|
560
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>.</td>
|
575
561
|
</tr>
|
576
562
|
<tr>
|
577
563
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
578
|
-
<td>the new value for the property
|
579
|
-
</td>
|
564
|
+
<td>the new value for the property</td>
|
580
565
|
</tr>
|
581
566
|
<tr>
|
582
567
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
583
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> describing the property
|
584
|
-
</td>
|
568
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the property</td>
|
585
569
|
</tr>
|
586
570
|
</tbody>
|
587
571
|
</table></div>
|
588
572
|
</div>
|
589
573
|
<hr>
|
590
|
-
<div class="refsect2"
|
574
|
+
<div class="refsect2">
|
591
575
|
<a name="GObjectFinalizeFunc"></a><h3>GObjectFinalizeFunc ()</h3>
|
592
576
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectFinalizeFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
593
577
|
<p>
|
594
|
-
The type of the <em class="parameter"><code>finalize</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>.
|
578
|
+
The type of the <em class="parameter"><code>finalize</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>.
|
595
579
|
</p>
|
596
580
|
<div class="variablelist"><table border="0">
|
597
581
|
<col align="left" valign="top">
|
598
582
|
<tbody><tr>
|
599
583
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
600
|
-
<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> being finalized
|
601
|
-
</td>
|
584
|
+
<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> being finalized</td>
|
602
585
|
</tr></tbody>
|
603
586
|
</table></div>
|
604
587
|
</div>
|
605
588
|
<hr>
|
606
|
-
<div class="refsect2"
|
589
|
+
<div class="refsect2">
|
607
590
|
<a name="G-TYPE-IS-OBJECT:CAPS"></a><h3>G_TYPE_IS_OBJECT()</h3>
|
608
591
|
<pre class="programlisting">#define G_TYPE_IS_OBJECT(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_OBJECT)
|
609
592
|
</pre>
|
@@ -615,19 +598,18 @@ Check if the passed in type id is a <a class="link" href="gobject-Type-Informati
|
|
615
598
|
<tbody>
|
616
599
|
<tr>
|
617
600
|
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
618
|
-
<td>Type id to check
|
619
|
-
</td>
|
601
|
+
<td>Type id to check</td>
|
620
602
|
</tr>
|
621
603
|
<tr>
|
622
604
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
623
|
-
<td>
|
624
|
-
</td>
|
605
|
+
<td>
|
606
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, indicating whether <em class="parameter"><code>type</code></em> 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>.</td>
|
625
607
|
</tr>
|
626
608
|
</tbody>
|
627
609
|
</table></div>
|
628
610
|
</div>
|
629
611
|
<hr>
|
630
|
-
<div class="refsect2"
|
612
|
+
<div class="refsect2">
|
631
613
|
<a name="G-OBJECT:CAPS"></a><h3>G_OBJECT()</h3>
|
632
614
|
<pre class="programlisting">#define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject))
|
633
615
|
</pre>
|
@@ -640,65 +622,63 @@ certain runtime checks to identify invalid casts.
|
|
640
622
|
<col align="left" valign="top">
|
641
623
|
<tbody><tr>
|
642
624
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
643
|
-
<td>Object which is subject to casting
|
644
|
-
</td>
|
625
|
+
<td>Object which is subject to casting.</td>
|
645
626
|
</tr></tbody>
|
646
627
|
</table></div>
|
647
628
|
</div>
|
648
629
|
<hr>
|
649
|
-
<div class="refsect2"
|
630
|
+
<div class="refsect2">
|
650
631
|
<a name="G-IS-OBJECT:CAPS"></a><h3>G_IS_OBJECT()</h3>
|
651
632
|
<pre class="programlisting">#define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_OBJECT))
|
652
633
|
</pre>
|
653
634
|
<p>
|
654
|
-
Checks whether a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="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>.
|
635
|
+
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>.
|
655
636
|
</p>
|
656
637
|
<div class="variablelist"><table border="0">
|
657
638
|
<col align="left" valign="top">
|
658
639
|
<tbody><tr>
|
659
640
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
660
|
-
<td>Instance to check for being 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
|
661
|
-
</td>
|
641
|
+
<td>Instance to check for being 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>.</td>
|
662
642
|
</tr></tbody>
|
663
643
|
</table></div>
|
664
644
|
</div>
|
665
645
|
<hr>
|
666
|
-
<div class="refsect2"
|
646
|
+
<div class="refsect2">
|
667
647
|
<a name="G-OBJECT-CLASS:CAPS"></a><h3>G_OBJECT_CLASS()</h3>
|
668
648
|
<pre class="programlisting">#define G_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass))
|
669
649
|
</pre>
|
670
650
|
<p>
|
671
|
-
Casts a derived <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> structure into a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> structure.
|
651
|
+
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.
|
672
652
|
</p>
|
673
653
|
<div class="variablelist"><table border="0">
|
674
654
|
<col align="left" valign="top">
|
675
655
|
<tbody><tr>
|
676
656
|
<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td>
|
677
|
-
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
657
|
+
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
678
658
|
</td>
|
679
659
|
</tr></tbody>
|
680
660
|
</table></div>
|
681
661
|
</div>
|
682
662
|
<hr>
|
683
|
-
<div class="refsect2"
|
663
|
+
<div class="refsect2">
|
684
664
|
<a name="G-IS-OBJECT-CLASS:CAPS"></a><h3>G_IS_OBJECT_CLASS()</h3>
|
685
665
|
<pre class="programlisting">#define G_IS_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_OBJECT))
|
686
666
|
</pre>
|
687
667
|
<p>
|
688
|
-
Checks whether <em class="parameter"><code>class</code></em> "is a" valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> structure of type
|
668
|
+
Checks whether <em class="parameter"><code>class</code></em> "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
|
689
669
|
<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.
|
690
670
|
</p>
|
691
671
|
<div class="variablelist"><table border="0">
|
692
672
|
<col align="left" valign="top">
|
693
673
|
<tbody><tr>
|
694
674
|
<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td>
|
695
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
675
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
696
676
|
</td>
|
697
677
|
</tr></tbody>
|
698
678
|
</table></div>
|
699
679
|
</div>
|
700
680
|
<hr>
|
701
|
-
<div class="refsect2"
|
681
|
+
<div class="refsect2">
|
702
682
|
<a name="G-OBJECT-GET-CLASS:CAPS"></a><h3>G_OBJECT_GET_CLASS()</h3>
|
703
683
|
<pre class="programlisting">#define G_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), G_TYPE_OBJECT, GObjectClass))
|
704
684
|
</pre>
|
@@ -710,19 +690,17 @@ Get the class structure associated to a <a class="link" href="gobject-The-Base-O
|
|
710
690
|
<tbody>
|
711
691
|
<tr>
|
712
692
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
713
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance
|
714
|
-
</td>
|
693
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance.</td>
|
715
694
|
</tr>
|
716
695
|
<tr>
|
717
696
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
718
|
-
<td>
|
719
|
-
</td>
|
697
|
+
<td>pointer to object class structure.</td>
|
720
698
|
</tr>
|
721
699
|
</tbody>
|
722
700
|
</table></div>
|
723
701
|
</div>
|
724
702
|
<hr>
|
725
|
-
<div class="refsect2"
|
703
|
+
<div class="refsect2">
|
726
704
|
<a name="G-OBJECT-TYPE:CAPS"></a><h3>G_OBJECT_TYPE()</h3>
|
727
705
|
<pre class="programlisting">#define G_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object))
|
728
706
|
</pre>
|
@@ -734,19 +712,17 @@ Get the type id of an object.
|
|
734
712
|
<tbody>
|
735
713
|
<tr>
|
736
714
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
737
|
-
<td>Object to return the type id for
|
738
|
-
</td>
|
715
|
+
<td>Object to return the type id for.</td>
|
739
716
|
</tr>
|
740
717
|
<tr>
|
741
718
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
742
|
-
<td>
|
743
|
-
</td>
|
719
|
+
<td>Type id of <em class="parameter"><code>object</code></em>.</td>
|
744
720
|
</tr>
|
745
721
|
</tbody>
|
746
722
|
</table></div>
|
747
723
|
</div>
|
748
724
|
<hr>
|
749
|
-
<div class="refsect2"
|
725
|
+
<div class="refsect2">
|
750
726
|
<a name="G-OBJECT-TYPE-NAME:CAPS"></a><h3>G_OBJECT_TYPE_NAME()</h3>
|
751
727
|
<pre class="programlisting">#define G_OBJECT_TYPE_NAME(object) (g_type_name (G_OBJECT_TYPE (object)))
|
752
728
|
</pre>
|
@@ -758,20 +734,18 @@ Get the name of an object's type.
|
|
758
734
|
<tbody>
|
759
735
|
<tr>
|
760
736
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
761
|
-
<td>Object to return the type name for
|
762
|
-
</td>
|
737
|
+
<td>Object to return the type name for.</td>
|
763
738
|
</tr>
|
764
739
|
<tr>
|
765
740
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
766
|
-
<td>
|
767
|
-
|
768
|
-
</td>
|
741
|
+
<td>Type name of <em class="parameter"><code>object</code></em>. The string is owned by the type system and
|
742
|
+
should not be freed.</td>
|
769
743
|
</tr>
|
770
744
|
</tbody>
|
771
745
|
</table></div>
|
772
746
|
</div>
|
773
747
|
<hr>
|
774
|
-
<div class="refsect2"
|
748
|
+
<div class="refsect2">
|
775
749
|
<a name="G-OBJECT-CLASS-TYPE:CAPS"></a><h3>G_OBJECT_CLASS_TYPE()</h3>
|
776
750
|
<pre class="programlisting">#define G_OBJECT_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
|
777
751
|
</pre>
|
@@ -783,19 +757,18 @@ Get the type id of a class structure.
|
|
783
757
|
<tbody>
|
784
758
|
<tr>
|
785
759
|
<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td>
|
786
|
-
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
760
|
+
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
787
761
|
</td>
|
788
762
|
</tr>
|
789
763
|
<tr>
|
790
764
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
791
|
-
<td>
|
792
|
-
</td>
|
765
|
+
<td>Type id of <em class="parameter"><code>class</code></em>.</td>
|
793
766
|
</tr>
|
794
767
|
</tbody>
|
795
768
|
</table></div>
|
796
769
|
</div>
|
797
770
|
<hr>
|
798
|
-
<div class="refsect2"
|
771
|
+
<div class="refsect2">
|
799
772
|
<a name="G-OBJECT-CLASS-NAME:CAPS"></a><h3>G_OBJECT_CLASS_NAME()</h3>
|
800
773
|
<pre class="programlisting">#define G_OBJECT_CLASS_NAME(class) (g_type_name (G_OBJECT_CLASS_TYPE (class)))
|
801
774
|
</pre>
|
@@ -807,24 +780,23 @@ Return the name of a class structure's type.
|
|
807
780
|
<tbody>
|
808
781
|
<tr>
|
809
782
|
<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td>
|
810
|
-
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
783
|
+
<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
811
784
|
</td>
|
812
785
|
</tr>
|
813
786
|
<tr>
|
814
787
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
815
|
-
<td>
|
816
|
-
|
817
|
-
</td>
|
788
|
+
<td>Type name of <em class="parameter"><code>class</code></em>. The string is owned by the type system and
|
789
|
+
should not be freed.</td>
|
818
790
|
</tr>
|
819
791
|
</tbody>
|
820
792
|
</table></div>
|
821
793
|
</div>
|
822
794
|
<hr>
|
823
|
-
<div class="refsect2"
|
795
|
+
<div class="refsect2">
|
824
796
|
<a name="g-object-class-install-property"></a><h3>g_object_class_install_property ()</h3>
|
825
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_install_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
797
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
826
798
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
827
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
799
|
+
<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>
|
828
800
|
<p>
|
829
801
|
Installs a new property. This is usually done in the class initializer.
|
830
802
|
</p>
|
@@ -838,43 +810,41 @@ e.g. to change the range of allowed values or the default value.
|
|
838
810
|
<tbody>
|
839
811
|
<tr>
|
840
812
|
<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td>
|
841
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
813
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
842
814
|
</td>
|
843
815
|
</tr>
|
844
816
|
<tr>
|
845
817
|
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
|
846
|
-
<td>the id for the new property
|
847
|
-
</td>
|
818
|
+
<td>the id for the new property</td>
|
848
819
|
</tr>
|
849
820
|
<tr>
|
850
821
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
851
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> for the new property
|
852
|
-
</td>
|
822
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the new property</td>
|
853
823
|
</tr>
|
854
824
|
</tbody>
|
855
825
|
</table></div>
|
856
826
|
</div>
|
857
827
|
<hr>
|
858
|
-
<div class="refsect2"
|
828
|
+
<div class="refsect2">
|
859
829
|
<a name="g-object-class-install-properties"></a><h3>g_object_class_install_properties ()</h3>
|
860
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_install_properties (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
830
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
861
831
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>,
|
862
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);</pre>
|
832
|
+
<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>
|
863
833
|
<p>
|
864
|
-
Installs new properties from an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>s. This is
|
834
|
+
Installs new properties from an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s. This is
|
865
835
|
usually done in the class initializer.
|
866
836
|
</p>
|
867
837
|
<p>
|
868
|
-
The property id of each property is the index of each <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> in
|
838
|
+
The property id of each property is the index of each <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> in
|
869
839
|
the <em class="parameter"><code>pspecs</code></em> array.
|
870
840
|
</p>
|
871
841
|
<p>
|
872
842
|
The property id of 0 is treated specially by <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and it should not
|
873
|
-
be used to store a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>.
|
843
|
+
be used to store a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>.
|
874
844
|
</p>
|
875
845
|
<p>
|
876
846
|
This function should be used if you plan to use a static array of
|
877
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>s and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a>. For instance, this
|
847
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a>. For instance, this
|
878
848
|
class initialization:
|
879
849
|
</p>
|
880
850
|
<p>
|
@@ -985,18 +955,17 @@ allows calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-
|
|
985
955
|
<tbody>
|
986
956
|
<tr>
|
987
957
|
<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td>
|
988
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
958
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
989
959
|
</td>
|
990
960
|
</tr>
|
991
961
|
<tr>
|
992
962
|
<td><p><span class="term"><em class="parameter"><code>n_pspecs</code></em> :</span></p></td>
|
993
|
-
<td>the length of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>s array
|
994
|
-
</td>
|
963
|
+
<td>the length of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s array</td>
|
995
964
|
</tr>
|
996
965
|
<tr>
|
997
966
|
<td><p><span class="term"><em class="parameter"><code>pspecs</code></em> :</span></p></td>
|
998
|
-
<td>
|
999
|
-
|
967
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s array
|
968
|
+
defining the new properties. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs]</span>
|
1000
969
|
</td>
|
1001
970
|
</tr>
|
1002
971
|
</tbody>
|
@@ -1004,68 +973,68 @@ allows calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-
|
|
1004
973
|
<p class="since">Since 2.26</p>
|
1005
974
|
</div>
|
1006
975
|
<hr>
|
1007
|
-
<div class="refsect2"
|
976
|
+
<div class="refsect2">
|
1008
977
|
<a name="g-object-class-find-property"></a><h3>g_object_class_find_property ()</h3>
|
1009
|
-
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
978
|
+
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * 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>,
|
1010
979
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
1011
980
|
<p>
|
1012
|
-
Looks up the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> for a property of a class.
|
981
|
+
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.
|
1013
982
|
</p>
|
1014
983
|
<div class="variablelist"><table border="0">
|
1015
984
|
<col align="left" valign="top">
|
1016
985
|
<tbody>
|
1017
986
|
<tr>
|
1018
987
|
<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td>
|
1019
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
988
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
1020
989
|
</td>
|
1021
990
|
</tr>
|
1022
991
|
<tr>
|
1023
992
|
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1024
|
-
<td>the name of the property to look up
|
1025
|
-
</td>
|
993
|
+
<td>the name of the property to look up</td>
|
1026
994
|
</tr>
|
1027
995
|
<tr>
|
1028
996
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1029
|
-
<td>
|
1030
|
-
|
997
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property, or
|
998
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class doesn't have a property of that name. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1031
999
|
</td>
|
1032
1000
|
</tr>
|
1033
1001
|
</tbody>
|
1034
1002
|
</table></div>
|
1035
1003
|
</div>
|
1036
1004
|
<hr>
|
1037
|
-
<div class="refsect2"
|
1005
|
+
<div class="refsect2">
|
1038
1006
|
<a name="g-object-class-list-properties"></a><h3>g_object_class_list_properties ()</h3>
|
1039
|
-
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
1007
|
+
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** 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>,
|
1040
1008
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>);</pre>
|
1041
1009
|
<p>
|
1042
|
-
Get an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>* for all properties of a class.
|
1010
|
+
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.
|
1043
1011
|
</p>
|
1044
1012
|
<div class="variablelist"><table border="0">
|
1045
1013
|
<col align="left" valign="top">
|
1046
1014
|
<tbody>
|
1047
1015
|
<tr>
|
1048
1016
|
<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td>
|
1049
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
1017
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
1050
1018
|
</td>
|
1051
1019
|
</tr>
|
1052
1020
|
<tr>
|
1053
1021
|
<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td>
|
1054
|
-
<td>return location for the length of the returned array
|
1022
|
+
<td>return location for the length of the returned array. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1055
1023
|
</td>
|
1056
1024
|
</tr>
|
1057
1025
|
<tr>
|
1058
1026
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1059
|
-
<td>
|
1027
|
+
<td>an array of
|
1028
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* which should be freed after use. <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>
|
1060
1029
|
</td>
|
1061
1030
|
</tr>
|
1062
1031
|
</tbody>
|
1063
1032
|
</table></div>
|
1064
1033
|
</div>
|
1065
1034
|
<hr>
|
1066
|
-
<div class="refsect2"
|
1035
|
+
<div class="refsect2">
|
1067
1036
|
<a name="g-object-class-override-property"></a><h3>g_object_class_override_property ()</h3>
|
1068
|
-
<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_override_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>,
|
1037
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1069
1038
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
1070
1039
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
1071
1040
|
<p>
|
@@ -1077,15 +1046,15 @@ the implementation of a property from an interface.
|
|
1077
1046
|
</p>
|
1078
1047
|
<p>
|
1079
1048
|
</p>
|
1080
|
-
<div class="note"
|
1049
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1081
1050
|
<h3 class="title">Note</h3>
|
1082
1051
|
Internally, overriding is implemented by creating a property of type
|
1083
|
-
<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>; generally operations that query the properties of
|
1052
|
+
<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>; generally operations that query the properties of
|
1084
1053
|
the object class, such as <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-find-property" title="g_object_class_find_property ()"><code class="function">g_object_class_find_property()</code></a> or
|
1085
1054
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-list-properties" title="g_object_class_list_properties ()"><code class="function">g_object_class_list_properties()</code></a> will return the overridden
|
1086
1055
|
property. However, in one case, the <em class="parameter"><code>construct_properties</code></em> argument of
|
1087
|
-
the <em class="parameter"><code>constructor</code></em> virtual function, the <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is passed
|
1088
|
-
instead, so that the <em class="parameter"><code>param_id</code></em> field of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> will be
|
1056
|
+
the <em class="parameter"><code>constructor</code></em> virtual function, the <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is passed
|
1057
|
+
instead, so that the <em class="parameter"><code>param_id</code></em> field of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> will be
|
1089
1058
|
correct. For virtually all uses, this makes no difference. If you
|
1090
1059
|
need to get the overridden property, you can call
|
1091
1060
|
<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>.
|
@@ -1097,35 +1066,33 @@ need to get the overridden property, you can call
|
|
1097
1066
|
<tbody>
|
1098
1067
|
<tr>
|
1099
1068
|
<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td>
|
1100
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="GObjectClass"><span class="type">GObjectClass</span></a>
|
1069
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>
|
1101
1070
|
</td>
|
1102
1071
|
</tr>
|
1103
1072
|
<tr>
|
1104
1073
|
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
|
1105
|
-
<td>the new property ID
|
1106
|
-
</td>
|
1074
|
+
<td>the new property ID</td>
|
1107
1075
|
</tr>
|
1108
1076
|
<tr>
|
1109
1077
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1110
1078
|
<td>the name of a property registered in a parent class or
|
1111
|
-
|
1112
|
-
</td>
|
1079
|
+
in an interface of this class.</td>
|
1113
1080
|
</tr>
|
1114
1081
|
</tbody>
|
1115
1082
|
</table></div>
|
1116
1083
|
<p class="since">Since 2.4</p>
|
1117
1084
|
</div>
|
1118
1085
|
<hr>
|
1119
|
-
<div class="refsect2"
|
1086
|
+
<div class="refsect2">
|
1120
1087
|
<a name="g-object-interface-install-property"></a><h3>g_object_interface_install_property ()</h3>
|
1121
1088
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_interface_install_property (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1122
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
1089
|
+
<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>
|
1123
1090
|
<p>
|
1124
1091
|
Add a property to an interface; this is only useful for interfaces
|
1125
1092
|
that are added to GObject-derived types. Adding a property to an
|
1126
1093
|
interface forces all objects classes with that interface to have a
|
1127
1094
|
compatible property. The compatible property could be a newly
|
1128
|
-
created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a>, but normally
|
1095
|
+
created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, but normally
|
1129
1096
|
<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()"><code class="function">g_object_class_override_property()</code></a> will be used so that the object
|
1130
1097
|
class only needs to provide an implementation and inherits the
|
1131
1098
|
property description, default value, bounds, and so forth from the
|
@@ -1134,7 +1101,7 @@ interface property.
|
|
1134
1101
|
<p>
|
1135
1102
|
This function is meant to be called from the interface's default
|
1136
1103
|
vtable initialization function (the <em class="parameter"><code>class_init</code></em> member of
|
1137
|
-
<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="GTypeInfo"><span class="type">GTypeInfo</span></a>.) It must not be called after after <em class="parameter"><code>class_init</code></em> has
|
1104
|
+
<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>.) It must not be called after after <em class="parameter"><code>class_init</code></em> has
|
1138
1105
|
been called for any object types implementing this interface.
|
1139
1106
|
</p>
|
1140
1107
|
<div class="variablelist"><table border="0">
|
@@ -1143,25 +1110,23 @@ been called for any object types implementing this interface.
|
|
1143
1110
|
<tr>
|
1144
1111
|
<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td>
|
1145
1112
|
<td>any interface vtable for the interface, or the default
|
1146
|
-
|
1147
|
-
</td>
|
1113
|
+
vtable for the interface.</td>
|
1148
1114
|
</tr>
|
1149
1115
|
<tr>
|
1150
1116
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
1151
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> for the new property
|
1152
|
-
</td>
|
1117
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the new property</td>
|
1153
1118
|
</tr>
|
1154
1119
|
</tbody>
|
1155
1120
|
</table></div>
|
1156
1121
|
<p class="since">Since 2.4</p>
|
1157
1122
|
</div>
|
1158
1123
|
<hr>
|
1159
|
-
<div class="refsect2"
|
1124
|
+
<div class="refsect2">
|
1160
1125
|
<a name="g-object-interface-find-property"></a><h3>g_object_interface_find_property ()</h3>
|
1161
|
-
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
1126
|
+
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_object_interface_find_property (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1162
1127
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
1163
1128
|
<p>
|
1164
|
-
Find the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> with the given name for an
|
1129
|
+
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
|
1165
1130
|
interface. Generally, the interface vtable passed in as <em class="parameter"><code>g_iface</code></em>
|
1166
1131
|
will be the default vtable from <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,
|
1167
1132
|
if you know the interface has already been loaded,
|
@@ -1173,18 +1138,17 @@ if you know the interface has already been loaded,
|
|
1173
1138
|
<tr>
|
1174
1139
|
<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td>
|
1175
1140
|
<td>any interface vtable for the interface, or the default
|
1176
|
-
|
1177
|
-
</td>
|
1141
|
+
vtable for the interface</td>
|
1178
1142
|
</tr>
|
1179
1143
|
<tr>
|
1180
1144
|
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1181
|
-
<td>name of a property to lookup
|
1182
|
-
</td>
|
1145
|
+
<td>name of a property to lookup.</td>
|
1183
1146
|
</tr>
|
1184
1147
|
<tr>
|
1185
1148
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1186
|
-
<td>
|
1187
|
-
|
1149
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property of the
|
1150
|
+
interface with the name <em class="parameter"><code>property_name</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no
|
1151
|
+
such property exists. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1188
1152
|
</td>
|
1189
1153
|
</tr>
|
1190
1154
|
</tbody>
|
@@ -1192,9 +1156,9 @@ if you know the interface has already been loaded,
|
|
1192
1156
|
<p class="since">Since 2.4</p>
|
1193
1157
|
</div>
|
1194
1158
|
<hr>
|
1195
|
-
<div class="refsect2"
|
1159
|
+
<div class="refsect2">
|
1196
1160
|
<a name="g-object-interface-list-properties"></a><h3>g_object_interface_list_properties ()</h3>
|
1197
|
-
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="returnvalue">GParamSpec</span></a
|
1161
|
+
<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** g_object_interface_list_properties (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
|
1198
1162
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties_p</code></em>);</pre>
|
1199
1163
|
<p>
|
1200
1164
|
Lists the properties of an interface.Generally, the interface
|
@@ -1208,20 +1172,20 @@ already been loaded, <a class="link" href="gobject-Type-Information.html#g-type-
|
|
1208
1172
|
<tr>
|
1209
1173
|
<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td>
|
1210
1174
|
<td>any interface vtable for the interface, or the default
|
1211
|
-
|
1212
|
-
</td>
|
1175
|
+
vtable for the interface</td>
|
1213
1176
|
</tr>
|
1214
1177
|
<tr>
|
1215
1178
|
<td><p><span class="term"><em class="parameter"><code>n_properties_p</code></em> :</span></p></td>
|
1216
|
-
<td>location to store number of properties returned.
|
1179
|
+
<td>location to store number of properties returned. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
1217
1180
|
</td>
|
1218
1181
|
</tr>
|
1219
1182
|
<tr>
|
1220
1183
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1221
|
-
<td>
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1184
|
+
<td>a
|
1185
|
+
pointer to an array of pointers to <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>
|
1186
|
+
structures. The paramspecs are owned by GLib, but the
|
1187
|
+
array should be freed with <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when you are done with
|
1188
|
+
it. <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>
|
1225
1189
|
</td>
|
1226
1190
|
</tr>
|
1227
1191
|
</tbody>
|
@@ -1229,7 +1193,7 @@ already been loaded, <a class="link" href="gobject-Type-Information.html#g-type-
|
|
1229
1193
|
<p class="since">Since 2.4</p>
|
1230
1194
|
</div>
|
1231
1195
|
<hr>
|
1232
|
-
<div class="refsect2"
|
1196
|
+
<div class="refsect2">
|
1233
1197
|
<a name="g-object-new"></a><h3>g_object_new ()</h3>
|
1234
1198
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
1235
1199
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
@@ -1246,34 +1210,32 @@ which are not explicitly specified are set to their default values.
|
|
1246
1210
|
<tbody>
|
1247
1211
|
<tr>
|
1248
1212
|
<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td>
|
1249
|
-
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate
|
1250
|
-
</td>
|
1213
|
+
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td>
|
1251
1214
|
</tr>
|
1252
1215
|
<tr>
|
1253
1216
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
1254
|
-
<td>the name of the first property
|
1255
|
-
</td>
|
1217
|
+
<td>the name of the first property</td>
|
1256
1218
|
</tr>
|
1257
1219
|
<tr>
|
1258
1220
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1259
1221
|
<td>the value of the first property, followed optionally by more
|
1260
|
-
|
1222
|
+
name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1261
1223
|
</td>
|
1262
1224
|
</tr>
|
1263
1225
|
<tr>
|
1264
1226
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1265
|
-
<td>
|
1227
|
+
<td>a new instance of <em class="parameter"><code>object_type</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1266
1228
|
</td>
|
1267
1229
|
</tr>
|
1268
1230
|
</tbody>
|
1269
1231
|
</table></div>
|
1270
1232
|
</div>
|
1271
1233
|
<hr>
|
1272
|
-
<div class="refsect2"
|
1234
|
+
<div class="refsect2">
|
1273
1235
|
<a name="g-object-newv"></a><h3>g_object_newv ()</h3>
|
1274
1236
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
1275
1237
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>,
|
1276
|
-
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);</pre>
|
1238
|
+
<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>
|
1277
1239
|
<p>
|
1278
1240
|
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.
|
1279
1241
|
</p>
|
@@ -1281,39 +1243,41 @@ Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.h
|
|
1281
1243
|
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>)
|
1282
1244
|
which are not explicitly specified are set to their default values.
|
1283
1245
|
</p>
|
1246
|
+
<p>
|
1247
|
+
Rename to: g_object_new
|
1248
|
+
</p>
|
1284
1249
|
<div class="variablelist"><table border="0">
|
1285
1250
|
<col align="left" valign="top">
|
1286
1251
|
<tbody>
|
1287
1252
|
<tr>
|
1288
1253
|
<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td>
|
1289
|
-
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate
|
1290
|
-
</td>
|
1254
|
+
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td>
|
1291
1255
|
</tr>
|
1292
1256
|
<tr>
|
1293
1257
|
<td><p><span class="term"><em class="parameter"><code>n_parameters</code></em> :</span></p></td>
|
1294
|
-
<td>the length of the <em class="parameter"><code>parameters</code></em> array
|
1295
|
-
</td>
|
1258
|
+
<td>the length of the <em class="parameter"><code>parameters</code></em> array</td>
|
1296
1259
|
</tr>
|
1297
1260
|
<tr>
|
1298
1261
|
<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td>
|
1299
|
-
<td>an array of <a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="GParameter"><span class="type">GParameter</span></a>
|
1262
|
+
<td>an array of <a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter"><span class="type">GParameter</span></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_parameters]</span>
|
1300
1263
|
</td>
|
1301
1264
|
</tr>
|
1302
1265
|
<tr>
|
1303
1266
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1304
|
-
<td>
|
1267
|
+
<td>a new instance of
|
1268
|
+
<em class="parameter"><code>object_type</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1305
1269
|
</td>
|
1306
1270
|
</tr>
|
1307
1271
|
</tbody>
|
1308
1272
|
</table></div>
|
1309
1273
|
</div>
|
1310
1274
|
<hr>
|
1311
|
-
<div class="refsect2"
|
1312
|
-
<a name="GParameter"></a><h3>GParameter</h3>
|
1313
|
-
<pre class="programlisting">
|
1275
|
+
<div class="refsect2">
|
1276
|
+
<a name="GParameter"></a><h3>struct GParameter</h3>
|
1277
|
+
<pre class="programlisting">struct GParameter {
|
1314
1278
|
const gchar *name;
|
1315
1279
|
GValue value;
|
1316
|
-
}
|
1280
|
+
};
|
1317
1281
|
</pre>
|
1318
1282
|
<p>
|
1319
1283
|
The <span class="structname">GParameter</span> struct is an auxiliary structure used
|
@@ -1324,19 +1288,17 @@ to hand parameter name/value pairs to <a class="link" href="gobject-The-Base-Obj
|
|
1324
1288
|
<tbody>
|
1325
1289
|
<tr>
|
1326
1290
|
<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParameter.name"></a>name</code></em>;</span></p></td>
|
1327
|
-
<td>the parameter name
|
1328
|
-
</td>
|
1291
|
+
<td>the parameter name</td>
|
1329
1292
|
</tr>
|
1330
1293
|
<tr>
|
1331
1294
|
<td><p><span class="term"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> <em class="structfield"><code><a name="GParameter.value"></a>value</code></em>;</span></p></td>
|
1332
|
-
<td>the parameter value
|
1333
|
-
</td>
|
1295
|
+
<td>the parameter value</td>
|
1334
1296
|
</tr>
|
1335
1297
|
</tbody>
|
1336
1298
|
</table></div>
|
1337
1299
|
</div>
|
1338
1300
|
<hr>
|
1339
|
-
<div class="refsect2"
|
1301
|
+
<div class="refsect2">
|
1340
1302
|
<a name="g-object-ref"></a><h3>g_object_ref ()</h3>
|
1341
1303
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_ref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1342
1304
|
<p>
|
@@ -1347,19 +1309,19 @@ Increases the reference count of <em class="parameter"><code>object</code></em>.
|
|
1347
1309
|
<tbody>
|
1348
1310
|
<tr>
|
1349
1311
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1350
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
|
1312
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span>
|
1351
1313
|
</td>
|
1352
1314
|
</tr>
|
1353
1315
|
<tr>
|
1354
1316
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1355
|
-
<td>
|
1317
|
+
<td>the same <em class="parameter"><code>object</code></em>. <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>
|
1356
1318
|
</td>
|
1357
1319
|
</tr>
|
1358
1320
|
</tbody>
|
1359
1321
|
</table></div>
|
1360
1322
|
</div>
|
1361
1323
|
<hr>
|
1362
|
-
<div class="refsect2"
|
1324
|
+
<div class="refsect2">
|
1363
1325
|
<a name="g-object-unref"></a><h3>g_object_unref ()</h3>
|
1364
1326
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_unref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1365
1327
|
<p>
|
@@ -1370,13 +1332,13 @@ drops to 0, the object is finalized (i.e. its memory is freed).
|
|
1370
1332
|
<col align="left" valign="top">
|
1371
1333
|
<tbody><tr>
|
1372
1334
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1373
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
|
1335
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span>
|
1374
1336
|
</td>
|
1375
1337
|
</tr></tbody>
|
1376
1338
|
</table></div>
|
1377
1339
|
</div>
|
1378
1340
|
<hr>
|
1379
|
-
<div class="refsect2"
|
1341
|
+
<div class="refsect2">
|
1380
1342
|
<a name="g-object-ref-sink"></a><h3>g_object_ref_sink ()</h3>
|
1381
1343
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_ref_sink (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1382
1344
|
<p>
|
@@ -1396,12 +1358,13 @@ adds a new normal reference increasing the reference count by one.
|
|
1396
1358
|
<tbody>
|
1397
1359
|
<tr>
|
1398
1360
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1399
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
|
1361
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span>
|
1400
1362
|
</td>
|
1401
1363
|
</tr>
|
1402
1364
|
<tr>
|
1403
1365
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1404
|
-
<td>
|
1366
|
+
<td>
|
1367
|
+
<em class="parameter"><code>object</code></em>. <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>
|
1405
1368
|
</td>
|
1406
1369
|
</tr>
|
1407
1370
|
</tbody>
|
@@ -1409,7 +1372,39 @@ adds a new normal reference increasing the reference count by one.
|
|
1409
1372
|
<p class="since">Since 2.10</p>
|
1410
1373
|
</div>
|
1411
1374
|
<hr>
|
1412
|
-
<div class="refsect2"
|
1375
|
+
<div class="refsect2">
|
1376
|
+
<a name="g-clear-object"></a><h3>g_clear_object ()</h3>
|
1377
|
+
<pre class="programlisting"><span class="returnvalue">void</span> 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>
|
1378
|
+
<p>
|
1379
|
+
Clears a reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>.
|
1380
|
+
</p>
|
1381
|
+
<p>
|
1382
|
+
<em class="parameter"><code>object_ptr</code></em> must not be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1383
|
+
</p>
|
1384
|
+
<p>
|
1385
|
+
If the reference is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then this function does nothing.
|
1386
|
+
Otherwise, the reference count of the object is decreased and the
|
1387
|
+
pointer is set to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1388
|
+
</p>
|
1389
|
+
<p>
|
1390
|
+
This function is threadsafe and modifies the pointer atomically,
|
1391
|
+
using memory barriers where needed.
|
1392
|
+
</p>
|
1393
|
+
<p>
|
1394
|
+
A macro is also included that allows this function to be used without
|
1395
|
+
pointer casts.
|
1396
|
+
</p>
|
1397
|
+
<div class="variablelist"><table border="0">
|
1398
|
+
<col align="left" valign="top">
|
1399
|
+
<tbody><tr>
|
1400
|
+
<td><p><span class="term"><em class="parameter"><code>object_ptr</code></em> :</span></p></td>
|
1401
|
+
<td>a pointer to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> reference</td>
|
1402
|
+
</tr></tbody>
|
1403
|
+
</table></div>
|
1404
|
+
<p class="since">Since 2.28</p>
|
1405
|
+
</div>
|
1406
|
+
<hr>
|
1407
|
+
<div class="refsect2">
|
1413
1408
|
<a name="GInitiallyUnowned"></a><h3>GInitiallyUnowned</h3>
|
1414
1409
|
<pre class="programlisting">typedef struct _GObject GInitiallyUnowned;
|
1415
1410
|
</pre>
|
@@ -1420,7 +1415,7 @@ accessed directly.
|
|
1420
1415
|
</p>
|
1421
1416
|
</div>
|
1422
1417
|
<hr>
|
1423
|
-
<div class="refsect2"
|
1418
|
+
<div class="refsect2">
|
1424
1419
|
<a name="GInitiallyUnownedClass"></a><h3>GInitiallyUnownedClass</h3>
|
1425
1420
|
<pre class="programlisting">typedef struct _GObjectClass GInitiallyUnownedClass;
|
1426
1421
|
</pre>
|
@@ -1429,7 +1424,7 @@ The class structure for the <span class="structname">GInitiallyUnowned</span> ty
|
|
1429
1424
|
</p>
|
1430
1425
|
</div>
|
1431
1426
|
<hr>
|
1432
|
-
<div class="refsect2"
|
1427
|
+
<div class="refsect2">
|
1433
1428
|
<a name="G-TYPE-INITIALLY-UNOWNED:CAPS"></a><h3>G_TYPE_INITIALLY_UNOWNED</h3>
|
1434
1429
|
<pre class="programlisting">#define G_TYPE_INITIALLY_UNOWNED (g_initially_unowned_get_type())
|
1435
1430
|
</pre>
|
@@ -1438,11 +1433,11 @@ The type for <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyU
|
|
1438
1433
|
</p>
|
1439
1434
|
</div>
|
1440
1435
|
<hr>
|
1441
|
-
<div class="refsect2"
|
1436
|
+
<div class="refsect2">
|
1442
1437
|
<a name="g-object-is-floating"></a><h3>g_object_is_floating ()</h3>
|
1443
1438
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_object_is_floating (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre>
|
1444
1439
|
<p>
|
1445
|
-
Checks
|
1440
|
+
Checks whether <em class="parameter"><code>object</code></em> has a <a class="link" href="gobject-The-Base-Object-Type.html#floating-ref">floating</a>
|
1446
1441
|
reference.
|
1447
1442
|
</p>
|
1448
1443
|
<div class="variablelist"><table border="0">
|
@@ -1450,26 +1445,26 @@ reference.
|
|
1450
1445
|
<tbody>
|
1451
1446
|
<tr>
|
1452
1447
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1453
|
-
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
|
1448
|
+
<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span>
|
1454
1449
|
</td>
|
1455
1450
|
</tr>
|
1456
1451
|
<tr>
|
1457
1452
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1458
|
-
<td>
|
1459
|
-
</td>
|
1453
|
+
<td>
|
1454
|
+
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> has a floating reference</td>
|
1460
1455
|
</tr>
|
1461
1456
|
</tbody>
|
1462
1457
|
</table></div>
|
1463
1458
|
<p class="since">Since 2.10</p>
|
1464
1459
|
</div>
|
1465
1460
|
<hr>
|
1466
|
-
<div class="refsect2"
|
1461
|
+
<div class="refsect2">
|
1467
1462
|
<a name="g-object-force-floating"></a><h3>g_object_force_floating ()</h3>
|
1468
1463
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_force_floating (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
1469
1464
|
<p>
|
1470
1465
|
This function is intended for <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> implementations to re-enforce a
|
1471
1466
|
<a class="link" href="gobject-The-Base-Object-Type.html#floating-ref">floating</a> object reference.
|
1472
|
-
Doing this is seldomly required
|
1467
|
+
Doing this is seldomly required: all
|
1473
1468
|
<a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a>s are created with a floating reference which
|
1474
1469
|
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>.
|
1475
1470
|
</p>
|
@@ -1484,7 +1479,7 @@ usually just needs to be sunken by calling <a class="link" href="gobject-The-Bas
|
|
1484
1479
|
<p class="since">Since 2.10</p>
|
1485
1480
|
</div>
|
1486
1481
|
<hr>
|
1487
|
-
<div class="refsect2"
|
1482
|
+
<div class="refsect2">
|
1488
1483
|
<a name="GWeakNotify"></a><h3>GWeakNotify ()</h3>
|
1489
1484
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GWeakNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1490
1485
|
<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>
|
@@ -1499,19 +1494,17 @@ with the object, apart from e.g. using its adress as hash-index or the like.
|
|
1499
1494
|
<tbody>
|
1500
1495
|
<tr>
|
1501
1496
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1502
|
-
<td>data that was provided when the weak reference was established
|
1503
|
-
</td>
|
1497
|
+
<td>data that was provided when the weak reference was established</td>
|
1504
1498
|
</tr>
|
1505
1499
|
<tr>
|
1506
1500
|
<td><p><span class="term"><em class="parameter"><code>where_the_object_was</code></em> :</span></p></td>
|
1507
|
-
<td>the object being finalized
|
1508
|
-
</td>
|
1501
|
+
<td>the object being finalized</td>
|
1509
1502
|
</tr>
|
1510
1503
|
</tbody>
|
1511
1504
|
</table></div>
|
1512
1505
|
</div>
|
1513
1506
|
<hr>
|
1514
|
-
<div class="refsect2"
|
1507
|
+
<div class="refsect2">
|
1515
1508
|
<a name="g-object-weak-ref"></a><h3>g_object_weak_ref ()</h3>
|
1516
1509
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1517
1510
|
<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>,
|
@@ -1529,24 +1522,21 @@ strong reference, that is, forces the object to stay alive).
|
|
1529
1522
|
<tr>
|
1530
1523
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1531
1524
|
<td>
|
1532
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to reference weakly
|
1533
|
-
</td>
|
1525
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to reference weakly</td>
|
1534
1526
|
</tr>
|
1535
1527
|
<tr>
|
1536
1528
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1537
|
-
<td>callback to invoke before the object is freed
|
1538
|
-
</td>
|
1529
|
+
<td>callback to invoke before the object is freed</td>
|
1539
1530
|
</tr>
|
1540
1531
|
<tr>
|
1541
1532
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1542
|
-
<td>extra data to pass to notify
|
1543
|
-
</td>
|
1533
|
+
<td>extra data to pass to notify</td>
|
1544
1534
|
</tr>
|
1545
1535
|
</tbody>
|
1546
1536
|
</table></div>
|
1547
1537
|
</div>
|
1548
1538
|
<hr>
|
1549
|
-
<div class="refsect2"
|
1539
|
+
<div class="refsect2">
|
1550
1540
|
<a name="g-object-weak-unref"></a><h3>g_object_weak_unref ()</h3>
|
1551
1541
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1552
1542
|
<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>,
|
@@ -1560,24 +1550,21 @@ Removes a weak reference callback to an object.
|
|
1560
1550
|
<tr>
|
1561
1551
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1562
1552
|
<td>
|
1563
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to remove a weak reference from
|
1564
|
-
</td>
|
1553
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to remove a weak reference from</td>
|
1565
1554
|
</tr>
|
1566
1555
|
<tr>
|
1567
1556
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1568
|
-
<td>callback to search for
|
1569
|
-
</td>
|
1557
|
+
<td>callback to search for</td>
|
1570
1558
|
</tr>
|
1571
1559
|
<tr>
|
1572
1560
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
1573
|
-
<td>data to search for
|
1574
|
-
</td>
|
1561
|
+
<td>data to search for</td>
|
1575
1562
|
</tr>
|
1576
1563
|
</tbody>
|
1577
1564
|
</table></div>
|
1578
1565
|
</div>
|
1579
1566
|
<hr>
|
1580
|
-
<div class="refsect2"
|
1567
|
+
<div class="refsect2">
|
1581
1568
|
<a name="g-object-add-weak-pointer"></a><h3>g_object_add_weak_pointer ()</h3>
|
1582
1569
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1583
1570
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre>
|
@@ -1592,19 +1579,18 @@ the lifetime of <em class="parameter"><code>object</code></em>. When the <em cla
|
|
1592
1579
|
<tbody>
|
1593
1580
|
<tr>
|
1594
1581
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1595
|
-
<td>The object that should be weak referenced
|
1596
|
-
</td>
|
1582
|
+
<td>The object that should be weak referenced.</td>
|
1597
1583
|
</tr>
|
1598
1584
|
<tr>
|
1599
1585
|
<td><p><span class="term"><em class="parameter"><code>weak_pointer_location</code></em> :</span></p></td>
|
1600
|
-
<td>The memory address of a pointer.
|
1586
|
+
<td>The memory address of a pointer. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
1601
1587
|
</td>
|
1602
1588
|
</tr>
|
1603
1589
|
</tbody>
|
1604
1590
|
</table></div>
|
1605
1591
|
</div>
|
1606
1592
|
<hr>
|
1607
|
-
<div class="refsect2"
|
1593
|
+
<div class="refsect2">
|
1608
1594
|
<a name="g-object-remove-weak-pointer"></a><h3>g_object_remove_weak_pointer ()</h3>
|
1609
1595
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1610
1596
|
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre>
|
@@ -1618,19 +1604,18 @@ to match the one used with <a class="link" href="gobject-The-Base-Object-Type.ht
|
|
1618
1604
|
<tbody>
|
1619
1605
|
<tr>
|
1620
1606
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1621
|
-
<td>The object that is weak referenced
|
1622
|
-
</td>
|
1607
|
+
<td>The object that is weak referenced.</td>
|
1623
1608
|
</tr>
|
1624
1609
|
<tr>
|
1625
1610
|
<td><p><span class="term"><em class="parameter"><code>weak_pointer_location</code></em> :</span></p></td>
|
1626
|
-
<td>The memory address of a pointer.
|
1611
|
+
<td>The memory address of a pointer. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span>
|
1627
1612
|
</td>
|
1628
1613
|
</tr>
|
1629
1614
|
</tbody>
|
1630
1615
|
</table></div>
|
1631
1616
|
</div>
|
1632
1617
|
<hr>
|
1633
|
-
<div class="refsect2"
|
1618
|
+
<div class="refsect2">
|
1634
1619
|
<a name="GToggleNotify"></a><h3>GToggleNotify ()</h3>
|
1635
1620
|
<pre class="programlisting"><span class="returnvalue">void</span> (*GToggleNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
1636
1621
|
<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
@@ -1649,23 +1634,21 @@ of a toggle reference changes. See <a class="link" href="gobject-The-Base-Object
|
|
1649
1634
|
</tr>
|
1650
1635
|
<tr>
|
1651
1636
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
1652
|
-
<td>The object on which <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> was called
|
1653
|
-
</td>
|
1637
|
+
<td>The object on which <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> was called.</td>
|
1654
1638
|
</tr>
|
1655
1639
|
<tr>
|
1656
1640
|
<td><p><span class="term"><em class="parameter"><code>is_last_ref</code></em> :</span></p></td>
|
1657
1641
|
<td>
|
1658
1642
|
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the toggle reference is now the
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
</td>
|
1643
|
+
last reference to the object. <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the toggle
|
1644
|
+
reference was the last reference and there are now other
|
1645
|
+
references.</td>
|
1663
1646
|
</tr>
|
1664
1647
|
</tbody>
|
1665
1648
|
</table></div>
|
1666
1649
|
</div>
|
1667
1650
|
<hr>
|
1668
|
-
<div class="refsect2"
|
1651
|
+
<div class="refsect2">
|
1669
1652
|
<a name="g-object-add-toggle-ref"></a><h3>g_object_add_toggle_ref ()</h3>
|
1670
1653
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1671
1654
|
<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>,
|
@@ -1715,9 +1698,8 @@ is important state in the proxy object.
|
|
1715
1698
|
<tr>
|
1716
1699
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1717
1700
|
<td>a function to call when this reference is the
|
1718
|
-
|
1719
|
-
|
1720
|
-
</td>
|
1701
|
+
last reference to the object, or is no longer
|
1702
|
+
the last reference.</td>
|
1721
1703
|
</tr>
|
1722
1704
|
<tr>
|
1723
1705
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -1729,7 +1711,7 @@ is important state in the proxy object.
|
|
1729
1711
|
<p class="since">Since 2.8</p>
|
1730
1712
|
</div>
|
1731
1713
|
<hr>
|
1732
|
-
<div class="refsect2"
|
1714
|
+
<div class="refsect2">
|
1733
1715
|
<a name="g-object-remove-toggle-ref"></a><h3>g_object_remove_toggle_ref ()</h3>
|
1734
1716
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
1735
1717
|
<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>,
|
@@ -1749,9 +1731,8 @@ reference count of the object is decreased by one.
|
|
1749
1731
|
<tr>
|
1750
1732
|
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
|
1751
1733
|
<td>a function to call when this reference is the
|
1752
|
-
|
1753
|
-
|
1754
|
-
</td>
|
1734
|
+
last reference to the object, or is no longer
|
1735
|
+
the last reference.</td>
|
1755
1736
|
</tr>
|
1756
1737
|
<tr>
|
1757
1738
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
@@ -1763,7 +1744,7 @@ reference count of the object is decreased by one.
|
|
1763
1744
|
<p class="since">Since 2.8</p>
|
1764
1745
|
</div>
|
1765
1746
|
<hr>
|
1766
|
-
<div class="refsect2"
|
1747
|
+
<div class="refsect2">
|
1767
1748
|
<a name="g-object-connect"></a><h3>g_object_connect ()</h3>
|
1768
1749
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_connect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1769
1750
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>,
|
@@ -1845,12 +1826,12 @@ equivalent to <code class="literal">g_signal_connect_object (..., G_CONNECT_SWAP
|
|
1845
1826
|
7
|
1846
1827
|
8</pre></td>
|
1847
1828
|
<td class="listing_code"><pre class="programlisting"><span class="normal">menu</span><span class="symbol">-></span><span class="normal">toplevel </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-connect">g_object_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gobject-The-Base-Object-Type.html#g-object-new">g_object_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GTK_TYPE_WINDOW</span><span class="symbol">,</span>
|
1848
|
-
<span class="normal"> </span><span class="string">"type"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gtk/
|
1829
|
+
<span class="normal"> </span><span class="string">"type"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gtk/2.24/gtk3-Standard-Enumerations.html#GTK-WINDOW-POPUP:CAPS">GTK_WINDOW_POPUP</a></span><span class="symbol">,</span>
|
1849
1830
|
<span class="normal"> </span><span class="string">"child"</span><span class="symbol">,</span><span class="normal"> menu</span><span class="symbol">,</span>
|
1850
1831
|
<span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">),</span>
|
1851
1832
|
<span class="normal"> </span><span class="string">"signal::event"</span><span class="symbol">,</span><span class="normal"> gtk_menu_window_event</span><span class="symbol">,</span><span class="normal"> menu</span><span class="symbol">,</span>
|
1852
1833
|
<span class="normal"> </span><span class="string">"signal::size_request"</span><span class="symbol">,</span><span class="normal"> gtk_menu_window_size_request</span><span class="symbol">,</span><span class="normal"> menu</span><span class="symbol">,</span>
|
1853
|
-
<span class="normal"> </span><span class="string">"signal::destroy"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gtk/
|
1834
|
+
<span class="normal"> </span><span class="string">"signal::destroy"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/gtk/2.24/GtkWidget.html#gtk-widget-destroyed">gtk_widget_destroyed</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">menu</span><span class="symbol">-></span><span class="normal">toplevel</span><span class="symbol">,</span>
|
1854
1835
|
<span class="normal"> <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
1855
1836
|
</tr>
|
1856
1837
|
</tbody>
|
@@ -1869,27 +1850,27 @@ equivalent to <code class="literal">g_signal_connect_object (..., G_CONNECT_SWAP
|
|
1869
1850
|
</tr>
|
1870
1851
|
<tr>
|
1871
1852
|
<td><p><span class="term"><em class="parameter"><code>signal_spec</code></em> :</span></p></td>
|
1872
|
-
<td>the spec for the first signal
|
1873
|
-
</td>
|
1853
|
+
<td>the spec for the first signal</td>
|
1874
1854
|
</tr>
|
1875
1855
|
<tr>
|
1876
1856
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1877
1857
|
<td>
|
1878
1858
|
<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
|
1879
|
-
|
1880
|
-
|
1859
|
+
first signal, followed optionally by more signal
|
1860
|
+
spec/callback/data triples, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1881
1861
|
</td>
|
1882
1862
|
</tr>
|
1883
1863
|
<tr>
|
1884
1864
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1885
|
-
<td>
|
1865
|
+
<td>
|
1866
|
+
<em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1886
1867
|
</td>
|
1887
1868
|
</tr>
|
1888
1869
|
</tbody>
|
1889
1870
|
</table></div>
|
1890
1871
|
</div>
|
1891
1872
|
<hr>
|
1892
|
-
<div class="refsect2"
|
1873
|
+
<div class="refsect2">
|
1893
1874
|
<a name="g-object-disconnect"></a><h3>g_object_disconnect ()</h3>
|
1894
1875
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_disconnect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1895
1876
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>,
|
@@ -1913,22 +1894,21 @@ disconnects the signal named "signal_name".
|
|
1913
1894
|
</tr>
|
1914
1895
|
<tr>
|
1915
1896
|
<td><p><span class="term"><em class="parameter"><code>signal_spec</code></em> :</span></p></td>
|
1916
|
-
<td>the spec for the first signal
|
1917
|
-
</td>
|
1897
|
+
<td>the spec for the first signal</td>
|
1918
1898
|
</tr>
|
1919
1899
|
<tr>
|
1920
1900
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1921
1901
|
<td>
|
1922
1902
|
<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,
|
1923
|
-
|
1924
|
-
|
1903
|
+
followed optionally by more signal spec/callback/data triples,
|
1904
|
+
followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1925
1905
|
</td>
|
1926
1906
|
</tr>
|
1927
1907
|
</tbody>
|
1928
1908
|
</table></div>
|
1929
1909
|
</div>
|
1930
1910
|
<hr>
|
1931
|
-
<div class="refsect2"
|
1911
|
+
<div class="refsect2">
|
1932
1912
|
<a name="g-object-set"></a><h3>g_object_set ()</h3>
|
1933
1913
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_set (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1934
1914
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
@@ -1946,20 +1926,19 @@ Sets properties on an object.
|
|
1946
1926
|
</tr>
|
1947
1927
|
<tr>
|
1948
1928
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
1949
|
-
<td>name of the first property to set
|
1950
|
-
</td>
|
1929
|
+
<td>name of the first property to set</td>
|
1951
1930
|
</tr>
|
1952
1931
|
<tr>
|
1953
1932
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1954
1933
|
<td>value for the first property, followed optionally by more
|
1955
|
-
|
1934
|
+
name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1956
1935
|
</td>
|
1957
1936
|
</tr>
|
1958
1937
|
</tbody>
|
1959
1938
|
</table></div>
|
1960
1939
|
</div>
|
1961
1940
|
<hr>
|
1962
|
-
<div class="refsect2"
|
1941
|
+
<div class="refsect2">
|
1963
1942
|
<a name="g-object-get"></a><h3>g_object_get ()</h3>
|
1964
1943
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_get (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1965
1944
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
@@ -1975,7 +1954,7 @@ the type, for instance by calling <a href="./../glib/glib/glib-Memory-Allocation
|
|
1975
1954
|
<p>
|
1976
1955
|
</p>
|
1977
1956
|
<div class="example">
|
1978
|
-
<a name="
|
1957
|
+
<a name="id631338"></a><p class="title"><b>Example 2. Using g_object_get()</b></p>
|
1979
1958
|
<div class="example-contents">
|
1980
1959
|
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
|
1981
1960
|
of three properties - one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><span class="type">G_TYPE_INT</span></a>,
|
@@ -2010,20 +1989,19 @@ one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CA
|
|
2010
1989
|
</tr>
|
2011
1990
|
<tr>
|
2012
1991
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2013
|
-
<td>name of the first property to get
|
2014
|
-
</td>
|
1992
|
+
<td>name of the first property to get</td>
|
2015
1993
|
</tr>
|
2016
1994
|
<tr>
|
2017
1995
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2018
1996
|
<td>return location for the first property, followed optionally by more
|
2019
|
-
|
1997
|
+
name/return location pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2020
1998
|
</td>
|
2021
1999
|
</tr>
|
2022
2000
|
</tbody>
|
2023
2001
|
</table></div>
|
2024
2002
|
</div>
|
2025
2003
|
<hr>
|
2026
|
-
<div class="refsect2"
|
2004
|
+
<div class="refsect2">
|
2027
2005
|
<a name="g-object-notify"></a><h3>g_object_notify ()</h3>
|
2028
2006
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2029
2007
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
@@ -2045,17 +2023,16 @@ instead.
|
|
2045
2023
|
</tr>
|
2046
2024
|
<tr>
|
2047
2025
|
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
2048
|
-
<td>the name of a property installed on the class of <em class="parameter"><code>object</code></em
|
2049
|
-
</td>
|
2026
|
+
<td>the name of a property installed on the class of <em class="parameter"><code>object</code></em>.</td>
|
2050
2027
|
</tr>
|
2051
2028
|
</tbody>
|
2052
2029
|
</table></div>
|
2053
2030
|
</div>
|
2054
2031
|
<hr>
|
2055
|
-
<div class="refsect2"
|
2032
|
+
<div class="refsect2">
|
2056
2033
|
<a name="g-object-notify-by-pspec"></a><h3>g_object_notify_by_pspec ()</h3>
|
2057
2034
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_notify_by_pspec (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2058
|
-
<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
2035
|
+
<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>
|
2059
2036
|
<p>
|
2060
2037
|
Emits a "notify" signal for the property specified by <em class="parameter"><code>pspec</code></em> on <em class="parameter"><code>object</code></em>.
|
2061
2038
|
</p>
|
@@ -2150,15 +2127,14 @@ and then notify a change on the "foo" property with:
|
|
2150
2127
|
</tr>
|
2151
2128
|
<tr>
|
2152
2129
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
2153
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> of a property installed on the class of <em class="parameter"><code>object</code></em
|
2154
|
-
</td>
|
2130
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of a property installed on the class of <em class="parameter"><code>object</code></em>.</td>
|
2155
2131
|
</tr>
|
2156
2132
|
</tbody>
|
2157
2133
|
</table></div>
|
2158
2134
|
<p class="since">Since 2.26</p>
|
2159
2135
|
</div>
|
2160
2136
|
<hr>
|
2161
|
-
<div class="refsect2"
|
2137
|
+
<div class="refsect2">
|
2162
2138
|
<a name="g-object-freeze-notify"></a><h3>g_object_freeze_notify ()</h3>
|
2163
2139
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_freeze_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>);</pre>
|
2164
2140
|
<p>
|
@@ -2181,7 +2157,7 @@ premature notification while the object is still being modified.
|
|
2181
2157
|
</table></div>
|
2182
2158
|
</div>
|
2183
2159
|
<hr>
|
2184
|
-
<div class="refsect2"
|
2160
|
+
<div class="refsect2">
|
2185
2161
|
<a name="g-object-thaw-notify"></a><h3>g_object_thaw_notify ()</h3>
|
2186
2162
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_thaw_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>);</pre>
|
2187
2163
|
<p>
|
@@ -2202,7 +2178,7 @@ It is an error to call this function when the freeze count is zero.
|
|
2202
2178
|
</table></div>
|
2203
2179
|
</div>
|
2204
2180
|
<hr>
|
2205
|
-
<div class="refsect2"
|
2181
|
+
<div class="refsect2">
|
2206
2182
|
<a name="g-object-get-data"></a><h3>g_object_get_data ()</h3>
|
2207
2183
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
2208
2184
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
@@ -2215,24 +2191,22 @@ Gets a named field from the objects table of associations (see <a class="link" h
|
|
2215
2191
|
<tr>
|
2216
2192
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2217
2193
|
<td>
|
2218
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations
|
2219
|
-
</td>
|
2194
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td>
|
2220
2195
|
</tr>
|
2221
2196
|
<tr>
|
2222
2197
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2223
|
-
<td>name of the key for that association
|
2224
|
-
</td>
|
2198
|
+
<td>name of the key for that association</td>
|
2225
2199
|
</tr>
|
2226
2200
|
<tr>
|
2227
2201
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2228
|
-
<td>
|
2202
|
+
<td>the data if found, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2229
2203
|
</td>
|
2230
2204
|
</tr>
|
2231
2205
|
</tbody>
|
2232
2206
|
</table></div>
|
2233
2207
|
</div>
|
2234
2208
|
<hr>
|
2235
|
-
<div class="refsect2"
|
2209
|
+
<div class="refsect2">
|
2236
2210
|
<a name="g-object-set-data"></a><h3>g_object_set_data ()</h3>
|
2237
2211
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2238
2212
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
@@ -2251,24 +2225,21 @@ the old association will be destroyed.
|
|
2251
2225
|
<tr>
|
2252
2226
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2253
2227
|
<td>
|
2254
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations
|
2255
|
-
</td>
|
2228
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations.</td>
|
2256
2229
|
</tr>
|
2257
2230
|
<tr>
|
2258
2231
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2259
|
-
<td>name of the key
|
2260
|
-
</td>
|
2232
|
+
<td>name of the key</td>
|
2261
2233
|
</tr>
|
2262
2234
|
<tr>
|
2263
2235
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2264
|
-
<td>data to associate with that key
|
2265
|
-
</td>
|
2236
|
+
<td>data to associate with that key</td>
|
2266
2237
|
</tr>
|
2267
2238
|
</tbody>
|
2268
2239
|
</table></div>
|
2269
2240
|
</div>
|
2270
2241
|
<hr>
|
2271
|
-
<div class="refsect2"
|
2242
|
+
<div class="refsect2">
|
2272
2243
|
<a name="g-object-set-data-full"></a><h3>g_object_set_data_full ()</h3>
|
2273
2244
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2274
2245
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
|
@@ -2288,29 +2259,25 @@ Note that the <em class="parameter"><code>destroy</code></em> callback is not ca
|
|
2288
2259
|
<tr>
|
2289
2260
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2290
2261
|
<td>
|
2291
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations
|
2292
|
-
</td>
|
2262
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td>
|
2293
2263
|
</tr>
|
2294
2264
|
<tr>
|
2295
2265
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2296
|
-
<td>name of the key
|
2297
|
-
</td>
|
2266
|
+
<td>name of the key</td>
|
2298
2267
|
</tr>
|
2299
2268
|
<tr>
|
2300
2269
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2301
|
-
<td>data to associate with that key
|
2302
|
-
</td>
|
2270
|
+
<td>data to associate with that key</td>
|
2303
2271
|
</tr>
|
2304
2272
|
<tr>
|
2305
2273
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
2306
|
-
<td>function to call when the association is destroyed
|
2307
|
-
</td>
|
2274
|
+
<td>function to call when the association is destroyed</td>
|
2308
2275
|
</tr>
|
2309
2276
|
</tbody>
|
2310
2277
|
</table></div>
|
2311
2278
|
</div>
|
2312
2279
|
<hr>
|
2313
|
-
<div class="refsect2"
|
2280
|
+
<div class="refsect2">
|
2314
2281
|
<a name="g-object-steal-data"></a><h3>g_object_steal_data ()</h3>
|
2315
2282
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
2316
2283
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
|
@@ -2324,24 +2291,22 @@ without invoking the association's destroy handler.
|
|
2324
2291
|
<tr>
|
2325
2292
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2326
2293
|
<td>
|
2327
|
-
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations
|
2328
|
-
</td>
|
2294
|
+
<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td>
|
2329
2295
|
</tr>
|
2330
2296
|
<tr>
|
2331
2297
|
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
|
2332
|
-
<td>name of the key
|
2333
|
-
</td>
|
2298
|
+
<td>name of the key</td>
|
2334
2299
|
</tr>
|
2335
2300
|
<tr>
|
2336
2301
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2337
|
-
<td>
|
2302
|
+
<td>the data if found, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2338
2303
|
</td>
|
2339
2304
|
</tr>
|
2340
2305
|
</tbody>
|
2341
2306
|
</table></div>
|
2342
2307
|
</div>
|
2343
2308
|
<hr>
|
2344
|
-
<div class="refsect2"
|
2309
|
+
<div class="refsect2">
|
2345
2310
|
<a name="g-object-get-qdata"></a><h3>g_object_get_qdata ()</h3>
|
2346
2311
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
2347
2312
|
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
@@ -2354,24 +2319,22 @@ This function gets back user data pointers stored via
|
|
2354
2319
|
<tbody>
|
2355
2320
|
<tr>
|
2356
2321
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2357
|
-
<td>The GObject to get a stored user data pointer from
|
2358
|
-
</td>
|
2322
|
+
<td>The GObject to get a stored user data pointer from</td>
|
2359
2323
|
</tr>
|
2360
2324
|
<tr>
|
2361
2325
|
<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td>
|
2362
|
-
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer
|
2363
|
-
</td>
|
2326
|
+
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td>
|
2364
2327
|
</tr>
|
2365
2328
|
<tr>
|
2366
2329
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2367
|
-
<td>
|
2330
|
+
<td>The user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2368
2331
|
</td>
|
2369
2332
|
</tr>
|
2370
2333
|
</tbody>
|
2371
2334
|
</table></div>
|
2372
2335
|
</div>
|
2373
2336
|
<hr>
|
2374
|
-
<div class="refsect2"
|
2337
|
+
<div class="refsect2">
|
2375
2338
|
<a name="g-object-set-qdata"></a><h3>g_object_set_qdata ()</h3>
|
2376
2339
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2377
2340
|
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
@@ -2391,24 +2354,21 @@ removes the data stored.
|
|
2391
2354
|
<tbody>
|
2392
2355
|
<tr>
|
2393
2356
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2394
|
-
<td>The GObject to set store a user data pointer
|
2395
|
-
</td>
|
2357
|
+
<td>The GObject to set store a user data pointer</td>
|
2396
2358
|
</tr>
|
2397
2359
|
<tr>
|
2398
2360
|
<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td>
|
2399
|
-
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer
|
2400
|
-
</td>
|
2361
|
+
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td>
|
2401
2362
|
</tr>
|
2402
2363
|
<tr>
|
2403
2364
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2404
|
-
<td>An opaque user data pointer
|
2405
|
-
</td>
|
2365
|
+
<td>An opaque user data pointer</td>
|
2406
2366
|
</tr>
|
2407
2367
|
</tbody>
|
2408
2368
|
</table></div>
|
2409
2369
|
</div>
|
2410
2370
|
<hr>
|
2411
|
-
<div class="refsect2"
|
2371
|
+
<div class="refsect2">
|
2412
2372
|
<a name="g-object-set-qdata-full"></a><h3>g_object_set_qdata_full ()</h3>
|
2413
2373
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2414
2374
|
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>,
|
@@ -2426,30 +2386,26 @@ with the same <em class="parameter"><code>quark</code></em>.
|
|
2426
2386
|
<tbody>
|
2427
2387
|
<tr>
|
2428
2388
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2429
|
-
<td>The GObject to set store a user data pointer
|
2430
|
-
</td>
|
2389
|
+
<td>The GObject to set store a user data pointer</td>
|
2431
2390
|
</tr>
|
2432
2391
|
<tr>
|
2433
2392
|
<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td>
|
2434
|
-
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer
|
2435
|
-
</td>
|
2393
|
+
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td>
|
2436
2394
|
</tr>
|
2437
2395
|
<tr>
|
2438
2396
|
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
|
2439
|
-
<td>An opaque user data pointer
|
2440
|
-
</td>
|
2397
|
+
<td>An opaque user data pointer</td>
|
2441
2398
|
</tr>
|
2442
2399
|
<tr>
|
2443
2400
|
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
|
2444
2401
|
<td>Function to invoke with <em class="parameter"><code>data</code></em> as argument, when <em class="parameter"><code>data</code></em>
|
2445
|
-
|
2446
|
-
</td>
|
2402
|
+
needs to be freed</td>
|
2447
2403
|
</tr>
|
2448
2404
|
</tbody>
|
2449
2405
|
</table></div>
|
2450
2406
|
</div>
|
2451
2407
|
<hr>
|
2452
|
-
<div class="refsect2"
|
2408
|
+
<div class="refsect2">
|
2453
2409
|
<a name="g-object-steal-qdata"></a><h3>g_object_steal_qdata ()</h3>
|
2454
2410
|
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> 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>,
|
2455
2411
|
<em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre>
|
@@ -2527,24 +2483,22 @@ and thus the partial string list would have been freed upon
|
|
2527
2483
|
<tbody>
|
2528
2484
|
<tr>
|
2529
2485
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2530
|
-
<td>The GObject to get a stored user data pointer from
|
2531
|
-
</td>
|
2486
|
+
<td>The GObject to get a stored user data pointer from</td>
|
2532
2487
|
</tr>
|
2533
2488
|
<tr>
|
2534
2489
|
<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td>
|
2535
|
-
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer
|
2536
|
-
</td>
|
2490
|
+
<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td>
|
2537
2491
|
</tr>
|
2538
2492
|
<tr>
|
2539
2493
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2540
|
-
<td>
|
2494
|
+
<td>The user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2541
2495
|
</td>
|
2542
2496
|
</tr>
|
2543
2497
|
</tbody>
|
2544
2498
|
</table></div>
|
2545
2499
|
</div>
|
2546
2500
|
<hr>
|
2547
|
-
<div class="refsect2"
|
2501
|
+
<div class="refsect2">
|
2548
2502
|
<a name="g-object-set-property"></a><h3>g_object_set_property ()</h3>
|
2549
2503
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2550
2504
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
@@ -2562,25 +2516,25 @@ Sets a property on an object.
|
|
2562
2516
|
</tr>
|
2563
2517
|
<tr>
|
2564
2518
|
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
2565
|
-
<td>the name of the property to set
|
2566
|
-
</td>
|
2519
|
+
<td>the name of the property to set</td>
|
2567
2520
|
</tr>
|
2568
2521
|
<tr>
|
2569
2522
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2570
|
-
<td>the value
|
2571
|
-
</td>
|
2523
|
+
<td>the value</td>
|
2572
2524
|
</tr>
|
2573
2525
|
</tbody>
|
2574
2526
|
</table></div>
|
2575
2527
|
</div>
|
2576
2528
|
<hr>
|
2577
|
-
<div class="refsect2"
|
2529
|
+
<div class="refsect2">
|
2578
2530
|
<a name="g-object-get-property"></a><h3>g_object_get_property ()</h3>
|
2579
2531
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2580
2532
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
2581
2533
|
<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>
|
2582
2534
|
<p>
|
2583
|
-
Gets a property of an object.
|
2535
|
+
Gets a property of an object. <em class="parameter"><code>value</code></em> must have been initialized to the
|
2536
|
+
expected type of the property (or a type to which the expected type can be
|
2537
|
+
transformed) using <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>.
|
2584
2538
|
</p>
|
2585
2539
|
<p>
|
2586
2540
|
In general, a copy is made of the property contents and the caller is
|
@@ -2600,21 +2554,19 @@ bindings, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get"
|
|
2600
2554
|
</tr>
|
2601
2555
|
<tr>
|
2602
2556
|
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
2603
|
-
<td>the name of the property to get
|
2604
|
-
</td>
|
2557
|
+
<td>the name of the property to get</td>
|
2605
2558
|
</tr>
|
2606
2559
|
<tr>
|
2607
2560
|
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
2608
|
-
<td>return location for the property value
|
2609
|
-
</td>
|
2561
|
+
<td>return location for the property value</td>
|
2610
2562
|
</tr>
|
2611
2563
|
</tbody>
|
2612
2564
|
</table></div>
|
2613
2565
|
</div>
|
2614
2566
|
<hr>
|
2615
|
-
<div class="refsect2"
|
2567
|
+
<div class="refsect2">
|
2616
2568
|
<a name="g-object-new-valist"></a><h3>g_object_new_valist ()</h3>
|
2617
|
-
<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a
|
2569
|
+
<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * 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>,
|
2618
2570
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
2619
2571
|
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
2620
2572
|
<p>
|
@@ -2629,30 +2581,28 @@ which are not explicitly specified are set to their default values.
|
|
2629
2581
|
<tbody>
|
2630
2582
|
<tr>
|
2631
2583
|
<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td>
|
2632
|
-
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate
|
2633
|
-
</td>
|
2584
|
+
<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td>
|
2634
2585
|
</tr>
|
2635
2586
|
<tr>
|
2636
2587
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2637
|
-
<td>the name of the first property
|
2638
|
-
</td>
|
2588
|
+
<td>the name of the first property</td>
|
2639
2589
|
</tr>
|
2640
2590
|
<tr>
|
2641
2591
|
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
|
2642
2592
|
<td>the value of the first property, followed optionally by more
|
2643
|
-
|
2593
|
+
name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2644
2594
|
</td>
|
2645
2595
|
</tr>
|
2646
2596
|
<tr>
|
2647
2597
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2648
|
-
<td>
|
2598
|
+
<td>a new instance of <em class="parameter"><code>object_type</code></em>
|
2649
2599
|
</td>
|
2650
2600
|
</tr>
|
2651
2601
|
</tbody>
|
2652
2602
|
</table></div>
|
2653
2603
|
</div>
|
2654
2604
|
<hr>
|
2655
|
-
<div class="refsect2"
|
2605
|
+
<div class="refsect2">
|
2656
2606
|
<a name="g-object-set-valist"></a><h3>g_object_set_valist ()</h3>
|
2657
2607
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2658
2608
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
@@ -2670,20 +2620,19 @@ Sets properties on an object.
|
|
2670
2620
|
</tr>
|
2671
2621
|
<tr>
|
2672
2622
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2673
|
-
<td>name of the first property to set
|
2674
|
-
</td>
|
2623
|
+
<td>name of the first property to set</td>
|
2675
2624
|
</tr>
|
2676
2625
|
<tr>
|
2677
2626
|
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
|
2678
2627
|
<td>value for the first property, followed optionally by more
|
2679
|
-
|
2628
|
+
name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2680
2629
|
</td>
|
2681
2630
|
</tr>
|
2682
2631
|
</tbody>
|
2683
2632
|
</table></div>
|
2684
2633
|
</div>
|
2685
2634
|
<hr>
|
2686
|
-
<div class="refsect2"
|
2635
|
+
<div class="refsect2">
|
2687
2636
|
<a name="g-object-get-valist"></a><h3>g_object_get_valist ()</h3>
|
2688
2637
|
<pre class="programlisting"><span class="returnvalue">void</span> 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>,
|
2689
2638
|
<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
@@ -2709,23 +2658,22 @@ See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title=
|
|
2709
2658
|
</tr>
|
2710
2659
|
<tr>
|
2711
2660
|
<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td>
|
2712
|
-
<td>name of the first property to get
|
2713
|
-
</td>
|
2661
|
+
<td>name of the first property to get</td>
|
2714
2662
|
</tr>
|
2715
2663
|
<tr>
|
2716
2664
|
<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td>
|
2717
2665
|
<td>return location for the first property, followed optionally by more
|
2718
|
-
|
2666
|
+
name/return location pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
2719
2667
|
</td>
|
2720
2668
|
</tr>
|
2721
2669
|
</tbody>
|
2722
2670
|
</table></div>
|
2723
2671
|
</div>
|
2724
2672
|
<hr>
|
2725
|
-
<div class="refsect2"
|
2673
|
+
<div class="refsect2">
|
2726
2674
|
<a name="g-object-watch-closure"></a><h3>g_object_watch_closure ()</h3>
|
2727
2675
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_watch_closure (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>,
|
2728
|
-
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
2676
|
+
<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre>
|
2729
2677
|
<p>
|
2730
2678
|
This function essentially limits the life time of the <em class="parameter"><code>closure</code></em> to
|
2731
2679
|
the life time of the object. That is, when the object is finalized,
|
@@ -2747,14 +2695,13 @@ use this <em class="parameter"><code>object</code></em> as closure data.
|
|
2747
2695
|
</tr>
|
2748
2696
|
<tr>
|
2749
2697
|
<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td>
|
2750
|
-
<td>GClosure to watch
|
2751
|
-
</td>
|
2698
|
+
<td>GClosure to watch</td>
|
2752
2699
|
</tr>
|
2753
2700
|
</tbody>
|
2754
2701
|
</table></div>
|
2755
2702
|
</div>
|
2756
2703
|
<hr>
|
2757
|
-
<div class="refsect2"
|
2704
|
+
<div class="refsect2">
|
2758
2705
|
<a name="g-object-run-dispose"></a><h3>g_object_run_dispose ()</h3>
|
2759
2706
|
<pre class="programlisting"><span class="returnvalue">void</span> g_object_run_dispose (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre>
|
2760
2707
|
<p>
|
@@ -2774,7 +2721,7 @@ This functions should only be called from object system implementations.
|
|
2774
2721
|
</table></div>
|
2775
2722
|
</div>
|
2776
2723
|
<hr>
|
2777
|
-
<div class="refsect2"
|
2724
|
+
<div class="refsect2">
|
2778
2725
|
<a name="G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS"></a><h3>G_OBJECT_WARN_INVALID_PROPERTY_ID()</h3>
|
2779
2726
|
<pre class="programlisting">#define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec)</pre>
|
2780
2727
|
<p>
|
@@ -2786,30 +2733,27 @@ properties in <code class="function">set_property()</code> and <code class="func
|
|
2786
2733
|
<tbody>
|
2787
2734
|
<tr>
|
2788
2735
|
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
2789
|
-
<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> on which <code class="function">set_property()</code> or <code class="function">get_property()</code> was called
|
2790
|
-
</td>
|
2736
|
+
<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> on which <code class="function">set_property()</code> or <code class="function">get_property()</code> was called</td>
|
2791
2737
|
</tr>
|
2792
2738
|
<tr>
|
2793
2739
|
<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td>
|
2794
|
-
<td>the numeric id of the property
|
2795
|
-
</td>
|
2740
|
+
<td>the numeric id of the property</td>
|
2796
2741
|
</tr>
|
2797
2742
|
<tr>
|
2798
2743
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
2799
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> of the property
|
2800
|
-
</td>
|
2744
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the property</td>
|
2801
2745
|
</tr>
|
2802
2746
|
</tbody>
|
2803
2747
|
</table></div>
|
2804
2748
|
</div>
|
2805
2749
|
</div>
|
2806
|
-
<div class="refsect1"
|
2750
|
+
<div class="refsect1">
|
2807
2751
|
<a name="gobject-The-Base-Object-Type.signal-details"></a><h2>Signal Details</h2>
|
2808
|
-
<div class="refsect2"
|
2752
|
+
<div class="refsect2">
|
2809
2753
|
<a name="GObject-notify"></a><h3>The <code class="literal">"notify"</code> signal</h3>
|
2810
2754
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *gobject,
|
2811
|
-
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> *pspec,
|
2812
|
-
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) :
|
2755
|
+
<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec,
|
2756
|
+
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre>
|
2813
2757
|
<p>
|
2814
2758
|
The notify signal is emitted on an object when one of its
|
2815
2759
|
properties has been changed. Note that getting this signal
|
@@ -2847,13 +2791,11 @@ detail strings for the notify signal.
|
|
2847
2791
|
<tbody>
|
2848
2792
|
<tr>
|
2849
2793
|
<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td>
|
2850
|
-
<td>the object which received the signal
|
2851
|
-
</td>
|
2794
|
+
<td>the object which received the signal.</td>
|
2852
2795
|
</tr>
|
2853
2796
|
<tr>
|
2854
2797
|
<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td>
|
2855
|
-
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec"><span class="type">GParamSpec</span></a> of the property which changed
|
2856
|
-
</td>
|
2798
|
+
<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the property which changed.</td>
|
2857
2799
|
</tr>
|
2858
2800
|
<tr>
|
2859
2801
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -2863,13 +2805,13 @@ detail strings for the notify signal.
|
|
2863
2805
|
</table></div>
|
2864
2806
|
</div>
|
2865
2807
|
</div>
|
2866
|
-
<div class="refsect1"
|
2808
|
+
<div class="refsect1">
|
2867
2809
|
<a name="gobject-The-Base-Object-Type.see-also"></a><h2>See Also</h2>
|
2868
|
-
<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="GParamSpecObject"><span class="type">GParamSpecObject</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()"><code class="function">g_param_spec_object()</code></a>
|
2810
|
+
<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()"><code class="function">g_param_spec_object()</code></a>
|
2869
2811
|
</div>
|
2870
2812
|
</div>
|
2871
2813
|
<div class="footer">
|
2872
2814
|
<hr>
|
2873
|
-
Generated by GTK-Doc V1.
|
2815
|
+
Generated by GTK-Doc V1.16.1</div>
|
2874
2816
|
</body>
|
2875
2817
|
</html>
|