atk 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/atk/extconf.rb +8 -0
- data/lib/1.8/atk.so +0 -0
- data/lib/1.9/atk.so +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +35 -9
- 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/libatk-1.0-0.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atk-enum-types.h +2 -2
- data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gbufferedoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcontenttype.h +18 -18
- data/vendor/local/include/glib-2.0/gio/gconverterinputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gconverteroutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gcredentials.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gdatainputstream.h +42 -25
- data/vendor/local/include/glib-2.0/gio/gdataoutputstream.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gdbusaddress.h +58 -0
- data/vendor/local/include/glib-2.0/gio/gdbusauthobserver.h +46 -0
- data/vendor/local/include/glib-2.0/gio/gdbusconnection.h +562 -0
- data/vendor/local/include/glib-2.0/gio/gdbuserror.h +100 -0
- data/vendor/local/include/glib-2.0/gio/gdbusintrospection.h +286 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmessage.h +149 -0
- data/vendor/local/include/glib-2.0/gio/gdbusmethodinvocation.h +73 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnameowning.h +112 -0
- data/vendor/local/include/glib-2.0/gio/gdbusnamewatching.h +94 -0
- data/vendor/local/include/glib-2.0/gio/gdbusproxy.h +167 -0
- data/vendor/local/include/glib-2.0/gio/gdbusserver.h +54 -0
- data/vendor/local/include/glib-2.0/gio/gdbusutils.h +44 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gfileinfo.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gio.h +30 -9
- data/vendor/local/include/glib-2.0/gio/gioenums.h +526 -8
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +42 -0
- data/vendor/local/include/glib-2.0/gio/gioerror.h +4 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +36 -0
- data/vendor/local/include/glib-2.0/gio/gmemoryoutputstream.h +1 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkaddress.h +4 -0
- data/vendor/local/include/glib-2.0/gio/gnetworkservice.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gpermission.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gproxy.h +123 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddress.h +76 -0
- data/vendor/local/include/glib-2.0/gio/gproxyaddressenumerator.h +75 -0
- data/vendor/local/include/glib-2.0/gio/gproxyresolver.h +96 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +258 -0
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +138 -0
- data/vendor/local/include/glib-2.0/gio/gsimplepermission.h +45 -0
- data/vendor/local/include/glib-2.0/gio/gsocket.h +18 -0
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +22 -0
- data/vendor/local/include/glib-2.0/gio/gsocketconnectable.h +7 -1
- data/vendor/local/include/glib-2.0/gio/gvolumemonitor.h +0 -1
- data/vendor/local/include/glib-2.0/gio/gzlibcompressor.h +5 -0
- data/vendor/local/include/glib-2.0/gio/gzlibdecompressor.h +3 -0
- data/vendor/local/include/glib-2.0/glib-object.h +1 -0
- data/vendor/local/include/glib-2.0/glib.h +2 -0
- data/vendor/local/include/glib-2.0/glib/galloca.h +47 -0
- data/vendor/local/include/glib-2.0/glib/gatomic.h +25 -5
- data/vendor/local/include/glib-2.0/glib/gbacktrace.h +7 -7
- data/vendor/local/include/glib-2.0/glib/gbase64.h +22 -22
- data/vendor/local/include/glib-2.0/glib/gbookmarkfile.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gcache.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gchecksum.h +20 -20
- data/vendor/local/include/glib-2.0/glib/gcompletion.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gconvert.h +26 -2
- data/vendor/local/include/glib-2.0/glib/gdatetime.h +217 -0
- data/vendor/local/include/glib-2.0/glib/gkeyfile.h +16 -0
- data/vendor/local/include/glib-2.0/glib/gmacros.h +7 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +305 -78
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmem.h +107 -1
- data/vendor/local/include/glib-2.0/glib/gnode.h +4 -2
- data/vendor/local/include/glib-2.0/glib/gpoll.h +27 -3
- data/vendor/local/include/glib-2.0/glib/gregex.h +228 -0
- data/vendor/local/include/glib-2.0/glib/grel.h +4 -0
- data/vendor/local/include/glib-2.0/glib/gstdio.h +27 -39
- data/vendor/local/include/glib-2.0/glib/gstrfuncs.h +3 -1
- data/vendor/local/include/glib-2.0/glib/gtestutils.h +19 -14
- data/vendor/local/include/glib-2.0/glib/gthread.h +0 -1
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +44 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +18 -1
- data/vendor/local/include/glib-2.0/glib/gutils.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gvariant.h +25 -1
- data/vendor/local/include/glib-2.0/glib/gvarianttype.h +29 -0
- data/vendor/local/include/glib-2.0/gobject/gbinding.h +136 -0
- data/vendor/local/include/glib-2.0/gobject/gboxed.h +18 -6
- data/vendor/local/include/glib-2.0/gobject/gmarshal.h +37 -20
- data/vendor/local/include/glib-2.0/gobject/gobject.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gobjectnotifyqueue.c +48 -21
- data/vendor/local/include/glib-2.0/gobject/gparam.h +9 -4
- data/vendor/local/include/glib-2.0/gobject/gparamspecs.h +54 -0
- data/vendor/local/include/glib-2.0/gobject/gtype.h +129 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluecollector.h +6 -1
- data/vendor/local/include/glib-2.0/gobject/gvaluetypes.h +17 -0
- data/vendor/local/lib/atk-1.0.def +1 -0
- data/vendor/local/lib/atk-1.0.lib +0 -0
- data/vendor/local/lib/gio-2.0.def +345 -2
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +71 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +2 -2
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +21 -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/intl.lib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/atk.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +3 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +2 -2
- data/vendor/local/manifest/{atk-dev_1.30.0-2_win32.mft → atk-dev_1.32.0-1_win32.mft} +3 -3
- data/vendor/local/manifest/{atk_1.30.0-2_win32.mft → atk_1.32.0-1_win32.mft} +3 -1
- data/vendor/local/manifest/{glib-dev_2.24.2-2_win32.mft → glib-dev_2.26.0-2_win32.mft} +87 -8
- data/vendor/local/manifest/{glib_2.24.2-2_win32.mft → glib_2.26.0-2_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-gettext.m4 +2 -2
- data/vendor/local/share/doc/{glib-2.24.2 → glib-2.26.0}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.24.2 → glib-dev-2.26.0}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gdb/glib.py +1 -4
- data/vendor/local/share/glib-2.0/gettext/po/Makefile.in.in +3 -1
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +60 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +179 -166
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +276 -74
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +114 -119
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +43 -47
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +67 -67
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +70 -35
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +254 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +6211 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +1833 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +618 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +2050 -0
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +373 -151
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +103 -107
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +158 -158
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +935 -923
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +18 -13
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +71 -75
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +303 -275
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +30 -30
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +31 -25
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +58 -58
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +109 -109
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +26 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +120 -120
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +90 -59
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +155 -155
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +119 -39
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +100 -37
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +137 -131
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +560 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +312 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +348 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +301 -0
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +116 -116
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +2424 -0
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +609 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +362 -148
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +107 -0
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +612 -326
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +470 -108
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +131 -46
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +48 -259
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +27 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +123 -119
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +165 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +27 -27
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +298 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +222 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +65 -57
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +59 -51
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +246 -61
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +113 -113
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +67 -71
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +90 -18
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +56 -14
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +65 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +8 -12
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +21 -4
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +1598 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +18 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2412 -661
- data/vendor/local/share/gtk-doc/html/gio/async.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +50 -14
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +14 -9
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +122 -22
- data/vendor/local/share/gtk-doc/html/gio/{ch19.html → ch24.html} +8 -8
- data/vendor/local/share/gtk-doc/html/gio/{ch20.html → ch25.html} +19 -19
- data/vendor/local/share/gtk-doc/html/gio/{ch20s02.html → ch25s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch20s03.html → ch25s03.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s02.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s03.html +159 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s04.html +46 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s05.html +48 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s06.html +277 -0
- data/vendor/local/share/gtk-doc/html/gio/ch26s07.html +95 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s04.html +96 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s05.html +823 -0
- data/vendor/local/share/gtk-doc/html/gio/ch27s06.html +828 -0
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +33 -20
- 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 +41 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +59 -0
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +243 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +316 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +1117 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +216 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +58 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +98 -88
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +15 -19
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +908 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +37 -31
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +97 -16
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +50 -50
- data/vendor/local/share/gtk-doc/html/gio/gio-GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +736 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +113 -122
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +666 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +26 -10
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +53 -0
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +569 -68
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +692 -70
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +102 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +11 -5
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +137 -20
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +814 -96
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +32 -12
- data/vendor/local/share/gtk-doc/html/gio/networking.html +19 -7
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +39 -0
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +112 -15
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +8 -5
- data/vendor/local/share/gtk-doc/html/gio/settings.html +38 -0
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +44 -0
- data/vendor/local/share/gtk-doc/html/gio/types.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/utils.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +77 -0
- 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 -7
- 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 +3 -3
- 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 +5 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +359 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +10 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +82 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +393 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +52 -52
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +51 -51
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +75 -74
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +59 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +87 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +39 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +130 -223
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +114 -108
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +25 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +87 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +61 -61
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +96 -96
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +33 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +98 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +2201 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +239 -0
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +736 -256
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +140 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +59 -59
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +91 -28
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +257 -73
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +27 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +37 -37
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +70 -66
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +108 -63
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +151 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +132 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +83 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +34 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +442 -345
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +72 -23
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +46 -46
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +35 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +130 -129
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +245 -232
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +104 -103
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +171 -85
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +422 -323
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +135 -135
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +103 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +189 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +119 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +53 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -7
- 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 +3 -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 +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +94 -272
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +43 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +10 -4
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +131 -32
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +174 -59
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +190 -73
- data/vendor/local/share/gtk-doc/html/glib/index.html +13 -5
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +133 -4
- data/vendor/local/share/gtk-doc/html/glib/style.css +8 -0
- data/vendor/local/share/gtk-doc/html/glib/tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +803 -0
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +21 -21
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +3 -3
- 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 +6 -5
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +201 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +3 -3
- 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 +148 -4
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +28 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +29 -17
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +45 -34
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +130 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +43 -43
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +83 -73
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +35 -35
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +558 -245
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +358 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +391 -158
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +47 -44
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +42 -12
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +48 -9
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +53 -9
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +3 -3
- 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 +3 -3
- 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 +8 -8
- 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 +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +15 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +53 -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 +7 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/style.css +8 -0
- 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 +3 -3
- 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/af/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cy/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/dz/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/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/fa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ps/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/rw/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/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 +9 -4
- data/vendor/local/share/man/man1/glib-mkenums.1 +17 -5
- data/vendor/local/share/man/man1/gobject-query.1 +4 -4
- data/vendor/local/src/tml/packaging/atk_1.32.0-1_win32.log +730 -0
- data/vendor/local/src/tml/packaging/{atk_1.30.0-2_win32.sh → atk_1.32.0-1_win32.sh} +8 -6
- data/vendor/local/src/tml/packaging/{glib_2.24.2-2_win32.log → glib_2.26.0-2_win32.log} +1102 -837
- data/vendor/local/src/tml/packaging/glib_2.26.0-2_win32.sh +64 -0
- metadata +906 -826
- data/ext/atk/Makefile +0 -160
- data/ext/atk/rbatkversion.h +0 -24
- data/vendor/local/src/tml/packaging/atk_1.30.0-2_win32.log +0 -739
- data/vendor/local/src/tml/packaging/glib_2.24.2-2_win32.sh +0 -290
@@ -0,0 +1,2050 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GDBusProxy</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
7
|
+
<link rel="home" href="index.html" title="GIO Reference Manual">
|
8
|
+
<link rel="up" href="gdbus-convenience.html" title="Highlevel D-Bus Support">
|
9
|
+
<link rel="prev" href="gio-Watching-Bus-Names.html" title="Watching Bus Names">
|
10
|
+
<link rel="next" href="utils.html" title="Utilities">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="gio-Watching-Bus-Names.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="gdbus-convenience.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GIO Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="utils.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GDBusProxy.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GDBusProxy.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GDBusProxy.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GDBusProxy.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
31
|
+
|
|
32
|
+
<a href="#GDBusProxy.properties" class="shortcut">Properties</a>
|
33
|
+
|
|
34
|
+
<a href="#GDBusProxy.signals" class="shortcut">Signals</a>
|
35
|
+
</td></tr>
|
36
|
+
</table>
|
37
|
+
<div class="refentry">
|
38
|
+
<a name="GDBusProxy"></a><div class="titlepage"></div>
|
39
|
+
<div class="refnamediv"><table width="100%"><tr>
|
40
|
+
<td valign="top">
|
41
|
+
<h2><span class="refentrytitle"><a name="GDBusProxy.top_of_page"></a>GDBusProxy</span></h2>
|
42
|
+
<p>GDBusProxy — Client-side proxies</p>
|
43
|
+
</td>
|
44
|
+
<td valign="top" align="right"></td>
|
45
|
+
</tr></table></div>
|
46
|
+
<div class="refsynopsisdiv">
|
47
|
+
<a name="GDBusProxy.synopsis"></a><h2>Synopsis</h2>
|
48
|
+
<pre class="synopsis">
|
49
|
+
#include <gio/gio.h>
|
50
|
+
|
51
|
+
enum <a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags">GDBusProxyFlags</a>;
|
52
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy-struct" title="GDBusProxy">GDBusProxy</a>;
|
53
|
+
<a class="link" href="GDBusProxy.html#GDBusProxyClass" title="GDBusProxyClass">GDBusProxyClass</a>;
|
54
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-new" title="g_dbus_proxy_new ()">g_dbus_proxy_new</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
55
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
57
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
58
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
59
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
62
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
63
|
+
<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-finish" title="g_dbus_proxy_new_finish ()">g_dbus_proxy_new_finish</a> (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
64
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
65
|
+
<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-sync" title="g_dbus_proxy_new_sync ()">g_dbus_proxy_new_sync</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
67
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
68
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
69
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
70
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
71
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
72
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
73
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-for-bus" title="g_dbus_proxy_new_for_bus ()">g_dbus_proxy_new_for_bus</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
74
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
75
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
76
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
77
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
78
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
79
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
80
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
82
|
+
<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-for-bus-finish" title="g_dbus_proxy_new_for_bus_finish ()">g_dbus_proxy_new_for_bus_finish</a> (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
83
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
84
|
+
<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-for-bus-sync" title="g_dbus_proxy_new_for_bus_sync ()">g_dbus_proxy_new_for_bus_sync</a> (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
85
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
87
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
88
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
89
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
90
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
91
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
92
|
+
<a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="returnvalue">GDBusProxyFlags</span></a> <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-flags" title="g_dbus_proxy_get_flags ()">g_dbus_proxy_get_flags</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
93
|
+
<a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-connection" title="g_dbus_proxy_get_connection ()">g_dbus_proxy_get_connection</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
94
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-name" title="g_dbus_proxy_get_name ()">g_dbus_proxy_get_name</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
95
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-name-owner" title="g_dbus_proxy_get_name_owner ()">g_dbus_proxy_get_name_owner</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
96
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-object-path" title="g_dbus_proxy_get_object_path ()">g_dbus_proxy_get_object_path</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
97
|
+
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-interface-name" title="g_dbus_proxy_get_interface_name ()">g_dbus_proxy_get_interface_name</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
98
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-default-timeout" title="g_dbus_proxy_get_default_timeout ()">g_dbus_proxy_get_default_timeout</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
99
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-set-default-timeout" title="g_dbus_proxy_set_default_timeout ()">g_dbus_proxy_set_default_timeout</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
100
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>);
|
101
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-cached-property" title="g_dbus_proxy_get_cached_property ()">g_dbus_proxy_get_cached_property</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
102
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);
|
103
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-set-cached-property" title="g_dbus_proxy_set_cached_property ()">g_dbus_proxy_set_cached_property</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
104
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
105
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);
|
106
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-cached-property-names" title="g_dbus_proxy_get_cached_property_names ()">g_dbus_proxy_get_cached_property_names</a>
|
107
|
+
(<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
108
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-set-interface-info" title="g_dbus_proxy_set_interface_info ()">g_dbus_proxy_set_interface_info</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
109
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>);
|
110
|
+
<a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-get-interface-info" title="g_dbus_proxy_get_interface_info ()">g_dbus_proxy_get_interface_info</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);
|
111
|
+
<span class="returnvalue">void</span> <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()">g_dbus_proxy_call</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
112
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
113
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
114
|
+
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
115
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
116
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
117
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
118
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
|
119
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-call-finish" title="g_dbus_proxy_call_finish ()">g_dbus_proxy_call_finish</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
120
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
121
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
122
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="GDBusProxy.html#g-dbus-proxy-call-sync" title="g_dbus_proxy_call_sync ()">g_dbus_proxy_call_sync</a> (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
123
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
124
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
125
|
+
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
126
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
127
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
128
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
129
|
+
</pre>
|
130
|
+
</div>
|
131
|
+
<div class="refsect1">
|
132
|
+
<a name="GDBusProxy.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
133
|
+
<pre class="synopsis">
|
134
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
135
|
+
+----GDBusProxy
|
136
|
+
</pre>
|
137
|
+
</div>
|
138
|
+
<div class="refsect1">
|
139
|
+
<a name="GDBusProxy.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
140
|
+
<p>
|
141
|
+
GDBusProxy implements
|
142
|
+
<a class="link" href="GInitable.html" title="GInitable">GInitable</a> and <a class="link" href="GAsyncInitable.html" title="GAsyncInitable">GAsyncInitable</a>.</p>
|
143
|
+
</div>
|
144
|
+
<div class="refsect1">
|
145
|
+
<a name="GDBusProxy.properties"></a><h2>Properties</h2>
|
146
|
+
<pre class="synopsis">
|
147
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-bus-type" title='The "g-bus-type" property'>g-bus-type</a>" <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> : Write / Construct Only
|
148
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-connection" title='The "g-connection" property'>g-connection</a>" <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>* : Read / Write / Construct Only
|
149
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-default-timeout" title='The "g-default-timeout" property'>g-default-timeout</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct
|
150
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-flags" title='The "g-flags" property'>g-flags</a>" <a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> : Read / Write / Construct Only
|
151
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-info" title='The "g-interface-info" property'>g-interface-info</a>" <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>* : Read / Write
|
152
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-name" title='The "g-interface-name" property'>g-interface-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
|
153
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-name" title='The "g-name" property'>g-name</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
|
154
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-name-owner" title='The "g-name-owner" property'>g-name-owner</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
|
155
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy--g-object-path" title='The "g-object-path" property'>g-object-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
|
156
|
+
</pre>
|
157
|
+
</div>
|
158
|
+
<div class="refsect1">
|
159
|
+
<a name="GDBusProxy.signals"></a><h2>Signals</h2>
|
160
|
+
<pre class="synopsis">
|
161
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy-g-properties-changed" title='The "g-properties-changed" signal'>g-properties-changed</a>" : Run Last
|
162
|
+
"<a class="link" href="GDBusProxy.html#GDBusProxy-g-signal" title='The "g-signal" signal'>g-signal</a>" : Run Last
|
163
|
+
</pre>
|
164
|
+
</div>
|
165
|
+
<div class="refsect1">
|
166
|
+
<a name="GDBusProxy.description"></a><h2>Description</h2>
|
167
|
+
<p>
|
168
|
+
<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> is a base class used for proxies to access a D-Bus
|
169
|
+
interface on a remote object. A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> can be constructed for
|
170
|
+
both well-known and unique names.
|
171
|
+
</p>
|
172
|
+
<p>
|
173
|
+
By default, <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> will cache all properties (and listen to
|
174
|
+
changes) of the remote object, and proxy all signals that gets
|
175
|
+
emitted. This behaviour can be changed by passing suitable
|
176
|
+
<a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> when the proxy is created. If the proxy is for a
|
177
|
+
well-known name, the property cache is flushed when the name owner
|
178
|
+
vanishes and reloaded when a name owner appears.
|
179
|
+
</p>
|
180
|
+
<p>
|
181
|
+
If a <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> is used for a well-known name, the owner of the
|
182
|
+
name is tracked and can be read from
|
183
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy--g-name-owner" title='The "g-name-owner" property'><span class="type">"g-name-owner"</span></a>. Connect to the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal to
|
184
|
+
get notified of changes. Additionally, only signals and property
|
185
|
+
changes emitted from the current name owner are considered and
|
186
|
+
calls are always sent to the current name owner. This avoids a
|
187
|
+
number of race conditions when the name is lost by one owner and
|
188
|
+
claimed by another. However, if no name owner currently exists,
|
189
|
+
then calls will be sent to the well-known name which may result in
|
190
|
+
the message bus launching an owner (unless
|
191
|
+
<a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-AUTO-START:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START</code></a> is set).
|
192
|
+
</p>
|
193
|
+
<p>
|
194
|
+
The generic <a class="link" href="GDBusProxy.html#GDBusProxy-g-properties-changed" title='The "g-properties-changed" signal'><span class="type">"g-properties-changed"</span></a> and <a class="link" href="GDBusProxy.html#GDBusProxy-g-signal" title='The "g-signal" signal'><span class="type">"g-signal"</span></a>
|
195
|
+
signals are not very convenient to work with. Therefore, the recommended
|
196
|
+
way of working with proxies is to subclass <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>, and have
|
197
|
+
more natural properties and signals in your derived class.
|
198
|
+
</p>
|
199
|
+
<p>
|
200
|
+
See <a class="xref" href="ch27s05.html#gdbus-example-proxy-subclass" title="Example 14. GDBusProxy subclass example">Example 14, “GDBusProxy subclass example”</a> for an example.
|
201
|
+
</p>
|
202
|
+
<p>
|
203
|
+
</p>
|
204
|
+
<div class="example">
|
205
|
+
<a name="gdbus-wellknown-proxy"></a><p class="title"><b>Example 10. GDBusProxy for a well-known-name</b></p>
|
206
|
+
<div class="example-contents">
|
207
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
208
|
+
<tbody>
|
209
|
+
<tr>
|
210
|
+
<td class="listing_lines" align="right"><pre>1
|
211
|
+
2
|
212
|
+
3
|
213
|
+
4
|
214
|
+
5
|
215
|
+
6
|
216
|
+
7
|
217
|
+
8
|
218
|
+
9
|
219
|
+
10
|
220
|
+
11
|
221
|
+
12
|
222
|
+
13
|
223
|
+
14
|
224
|
+
15
|
225
|
+
16
|
226
|
+
17
|
227
|
+
18
|
228
|
+
19
|
229
|
+
20
|
230
|
+
21
|
231
|
+
22
|
232
|
+
23
|
233
|
+
24
|
234
|
+
25
|
235
|
+
26
|
236
|
+
27
|
237
|
+
28
|
238
|
+
29
|
239
|
+
30
|
240
|
+
31
|
241
|
+
32
|
242
|
+
33
|
243
|
+
34
|
244
|
+
35
|
245
|
+
36
|
246
|
+
37
|
247
|
+
38
|
248
|
+
39
|
249
|
+
40
|
250
|
+
41
|
251
|
+
42
|
252
|
+
43
|
253
|
+
44
|
254
|
+
45
|
255
|
+
46
|
256
|
+
47
|
257
|
+
48
|
258
|
+
49
|
259
|
+
50
|
260
|
+
51
|
261
|
+
52
|
262
|
+
53
|
263
|
+
54
|
264
|
+
55
|
265
|
+
56
|
266
|
+
57
|
267
|
+
58
|
268
|
+
59
|
269
|
+
60
|
270
|
+
61
|
271
|
+
62
|
272
|
+
63
|
273
|
+
64
|
274
|
+
65
|
275
|
+
66
|
276
|
+
67
|
277
|
+
68
|
278
|
+
69
|
279
|
+
70
|
280
|
+
71
|
281
|
+
72
|
282
|
+
73
|
283
|
+
74
|
284
|
+
75
|
285
|
+
76
|
286
|
+
77
|
287
|
+
78
|
288
|
+
79
|
289
|
+
80
|
290
|
+
81
|
291
|
+
82
|
292
|
+
83
|
293
|
+
84
|
294
|
+
85
|
295
|
+
86
|
296
|
+
87
|
297
|
+
88
|
298
|
+
89
|
299
|
+
90
|
300
|
+
91
|
301
|
+
92
|
302
|
+
93
|
303
|
+
94
|
304
|
+
95
|
305
|
+
96
|
306
|
+
97
|
307
|
+
98
|
308
|
+
99
|
309
|
+
100
|
310
|
+
101
|
311
|
+
102
|
312
|
+
103
|
313
|
+
104
|
314
|
+
105
|
315
|
+
106
|
316
|
+
107
|
317
|
+
108
|
318
|
+
109
|
319
|
+
110
|
320
|
+
111
|
321
|
+
112
|
322
|
+
113
|
323
|
+
114
|
324
|
+
115
|
325
|
+
116
|
326
|
+
117
|
327
|
+
118
|
328
|
+
119
|
329
|
+
120
|
330
|
+
121
|
331
|
+
122
|
332
|
+
123
|
333
|
+
124
|
334
|
+
125
|
335
|
+
126
|
336
|
+
127
|
337
|
+
128
|
338
|
+
129
|
339
|
+
130
|
340
|
+
131
|
341
|
+
132
|
342
|
+
133
|
343
|
+
134
|
344
|
+
135
|
345
|
+
136
|
346
|
+
137
|
347
|
+
138
|
348
|
+
139
|
349
|
+
140
|
350
|
+
141
|
351
|
+
142
|
352
|
+
143
|
353
|
+
144
|
354
|
+
145
|
355
|
+
146
|
356
|
+
147
|
357
|
+
148
|
358
|
+
149
|
359
|
+
150
|
360
|
+
151
|
361
|
+
152
|
362
|
+
153
|
363
|
+
154
|
364
|
+
155
|
365
|
+
156
|
366
|
+
157
|
367
|
+
158
|
368
|
+
159
|
369
|
+
160
|
370
|
+
161
|
371
|
+
162
|
372
|
+
163
|
373
|
+
164
|
374
|
+
165
|
375
|
+
166
|
376
|
+
167
|
377
|
+
168
|
378
|
+
169
|
379
|
+
170
|
380
|
+
171
|
381
|
+
172
|
382
|
+
173
|
383
|
+
174
|
384
|
+
175
|
385
|
+
176
|
386
|
+
177
|
387
|
+
178
|
388
|
+
179
|
389
|
+
180
|
390
|
+
181
|
391
|
+
182
|
392
|
+
183
|
393
|
+
184
|
394
|
+
185
|
395
|
+
186
|
396
|
+
187
|
397
|
+
188
|
398
|
+
189
|
399
|
+
190
|
400
|
+
191
|
401
|
+
192
|
402
|
+
193
|
403
|
+
194
|
404
|
+
195
|
405
|
+
196
|
406
|
+
197
|
407
|
+
198
|
408
|
+
199
|
409
|
+
200
|
410
|
+
201
|
411
|
+
202
|
412
|
+
203
|
413
|
+
204
|
414
|
+
205
|
415
|
+
206
|
416
|
+
207
|
417
|
+
208
|
418
|
+
209
|
419
|
+
210
|
420
|
+
211
|
421
|
+
212
|
422
|
+
213
|
423
|
+
214
|
424
|
+
215
|
425
|
+
216
|
426
|
+
217
|
427
|
+
218
|
428
|
+
219
|
429
|
+
220
|
430
|
+
221
|
431
|
+
222
|
432
|
+
223
|
433
|
+
224
|
434
|
+
225
|
435
|
+
226
|
436
|
+
227
|
437
|
+
228
|
438
|
+
229
|
439
|
+
230
|
440
|
+
231
|
441
|
+
232</pre></td>
|
442
|
+
<td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string"><gio/gio.h></span>
|
443
|
+
|
444
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_name </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
445
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_object_path </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
446
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_interface </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
447
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> opt_system_bus </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
448
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> opt_no_auto_start </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
449
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> opt_no_properties </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
450
|
+
|
451
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GOptionEntry</span><span class="normal"> opt_entries</span><span class="symbol">[]</span><span class="normal"> </span><span class="symbol">=</span>
|
452
|
+
<span class="cbracket">{</span>
|
453
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"name"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'n'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-STRING:CAPS">G_OPTION_ARG_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_name</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Name of the remote object to watch"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
454
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"object-path"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'o'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-STRING:CAPS">G_OPTION_ARG_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_object_path</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Object path of the remote object"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
455
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"interface"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'i'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-STRING:CAPS">G_OPTION_ARG_STRING</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_interface</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"D-Bus interface of remote object"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
456
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"system-bus"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'s'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS">G_OPTION_ARG_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_system_bus</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Use the system-bus instead of the session-bus"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
457
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"no-auto-start"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'a'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS">G_OPTION_ARG_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_no_auto_start</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Don't instruct the bus to launch an owner for the name"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="cbracket">}</span><span class="symbol">,</span>
|
458
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"no-properties"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">'p'</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS">G_OPTION_ARG_NONE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">opt_no_properties</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Do not load properties"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="cbracket">}</span><span class="symbol">,</span>
|
459
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="cbracket">}</span>
|
460
|
+
<span class="cbracket">}</span><span class="symbol">;</span>
|
461
|
+
|
462
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="usertype">GMainLoop</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">loop </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
463
|
+
|
464
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
465
|
+
<span class="function">print_properties</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">)</span>
|
466
|
+
<span class="cbracket">{</span>
|
467
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">property_names</span><span class="symbol">;</span>
|
468
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> n</span><span class="symbol">;</span>
|
469
|
+
|
470
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" properties:</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
471
|
+
|
472
|
+
<span class="normal"> property_names </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-cached-property-names">g_dbus_proxy_get_cached_property_names</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
473
|
+
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> property_names </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="symbol">&&</span><span class="normal"> property_names</span><span class="symbol">[</span><span class="normal">n</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> n</span><span class="symbol">++)</span>
|
474
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
475
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">key </span><span class="symbol">=</span><span class="normal"> property_names</span><span class="symbol">[</span><span class="normal">n</span><span class="symbol">];</span>
|
476
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
|
477
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value_str</span><span class="symbol">;</span>
|
478
|
+
<span class="normal"> value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-cached-property">g_dbus_proxy_get_cached_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span><span class="normal"> key</span><span class="symbol">);</span>
|
479
|
+
<span class="normal"> value_str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-print">g_variant_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
480
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" %s -> %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> key</span><span class="symbol">,</span><span class="normal"> value_str</span><span class="symbol">);</span>
|
481
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref">g_variant_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
|
482
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value_str</span><span class="symbol">);</span>
|
483
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
484
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev">g_strfreev</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">property_names</span><span class="symbol">);</span>
|
485
|
+
<span class="cbracket">}</span>
|
486
|
+
|
487
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
488
|
+
<span class="function">on_properties_changed</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">,</span>
|
489
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">changed_properties</span><span class="symbol">,</span>
|
490
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a></span><span class="symbol">*</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">invalidated_properties</span><span class="symbol">,</span>
|
491
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
492
|
+
<span class="cbracket">{</span>
|
493
|
+
<span class="normal"> </span><span class="comment">/* Note that we are guaranteed that changed_properties and</span>
|
494
|
+
<span class="comment"> * invalidated_properties are never NULL</span>
|
495
|
+
<span class="comment"> */</span>
|
496
|
+
|
497
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-n-children">g_variant_n_children</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">changed_properties</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">></span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
|
498
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
499
|
+
<span class="normal"> </span><span class="usertype">GVariantIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter</span><span class="symbol">;</span>
|
500
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">key</span><span class="symbol">;</span>
|
501
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value</span><span class="symbol">;</span>
|
502
|
+
|
503
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" *** Properties Changed:</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
504
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-get">g_variant_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">changed_properties</span><span class="symbol">,</span>
|
505
|
+
<span class="normal"> </span><span class="string">"a{sv}"</span><span class="symbol">,</span>
|
506
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">);</span>
|
507
|
+
<span class="normal"> </span><span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-iter-loop">g_variant_iter_loop</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"{&sv}"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">key</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">value</span><span class="symbol">))</span>
|
508
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
509
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">value_str</span><span class="symbol">;</span>
|
510
|
+
<span class="normal"> value_str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-print">g_variant_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
511
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" %s -> %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> key</span><span class="symbol">,</span><span class="normal"> value_str</span><span class="symbol">);</span>
|
512
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value_str</span><span class="symbol">);</span>
|
513
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
514
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-iter-free">g_variant_iter_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">iter</span><span class="symbol">);</span>
|
515
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
516
|
+
|
517
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strv-length">g_strv_length</a></span><span class="normal"> </span><span class="symbol">((</span><span class="normal"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv">GStrv</a></span><span class="symbol">)</span><span class="normal"> invalidated_properties</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">></span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
|
518
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
519
|
+
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> n</span><span class="symbol">;</span>
|
520
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" *** Properties Invalidated:</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
521
|
+
<span class="normal"> </span><span class="keyword">for</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">n </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span><span class="normal"> invalidated_properties</span><span class="symbol">[</span><span class="normal">n</span><span class="symbol">]</span><span class="normal"> </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span><span class="normal"> n</span><span class="symbol">++)</span>
|
522
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
523
|
+
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">key </span><span class="symbol">=</span><span class="normal"> invalidated_properties</span><span class="symbol">[</span><span class="normal">n</span><span class="symbol">];</span>
|
524
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> key</span><span class="symbol">);</span>
|
525
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
526
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
527
|
+
<span class="cbracket">}</span>
|
528
|
+
|
529
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
530
|
+
<span class="function">on_signal</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">,</span>
|
531
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">sender_name</span><span class="symbol">,</span>
|
532
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">signal_name</span><span class="symbol">,</span>
|
533
|
+
<span class="normal"> </span><span class="usertype">GVariant</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameters</span><span class="symbol">,</span>
|
534
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
535
|
+
<span class="cbracket">{</span>
|
536
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parameters_str</span><span class="symbol">;</span>
|
537
|
+
|
538
|
+
<span class="normal"> parameters_str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-print">g_variant_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parameters</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
539
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">" *** Received Signal: %s: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
540
|
+
<span class="normal"> signal_name</span><span class="symbol">,</span>
|
541
|
+
<span class="normal"> parameters_str</span><span class="symbol">);</span>
|
542
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parameters_str</span><span class="symbol">);</span>
|
543
|
+
<span class="cbracket">}</span>
|
544
|
+
|
545
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
546
|
+
<span class="function">print_proxy</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">)</span>
|
547
|
+
<span class="cbracket">{</span>
|
548
|
+
<span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">name_owner</span><span class="symbol">;</span>
|
549
|
+
|
550
|
+
<span class="normal"> name_owner </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-get-name-owner">g_dbus_proxy_get_name_owner</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
551
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">name_owner </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
552
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
553
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"+++ Proxy object points to remote object owned by %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
554
|
+
<span class="normal"> </span><span class="string">" bus: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
555
|
+
<span class="normal"> </span><span class="string">" name: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
556
|
+
<span class="normal"> </span><span class="string">" object path: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
557
|
+
<span class="normal"> </span><span class="string">" interface: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
558
|
+
<span class="normal"> name_owner</span><span class="symbol">,</span>
|
559
|
+
<span class="normal"> opt_system_bus </span><span class="symbol">?</span><span class="normal"> </span><span class="string">"System Bus"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Session Bus"</span><span class="symbol">,</span>
|
560
|
+
<span class="normal"> opt_name</span><span class="symbol">,</span>
|
561
|
+
<span class="normal"> opt_object_path</span><span class="symbol">,</span>
|
562
|
+
<span class="normal"> opt_interface</span><span class="symbol">);</span>
|
563
|
+
<span class="normal"> </span><span class="function">print_properties</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
564
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
565
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
566
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
567
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"--- Proxy object is inert - there is no name owner for the name</span><span class="specialchar">\n</span><span class="string">"</span>
|
568
|
+
<span class="normal"> </span><span class="string">" bus: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
569
|
+
<span class="normal"> </span><span class="string">" name: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
570
|
+
<span class="normal"> </span><span class="string">" object path: %s</span><span class="specialchar">\n</span><span class="string">"</span>
|
571
|
+
<span class="normal"> </span><span class="string">" interface: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span>
|
572
|
+
<span class="normal"> opt_system_bus </span><span class="symbol">?</span><span class="normal"> </span><span class="string">"System Bus"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Session Bus"</span><span class="symbol">,</span>
|
573
|
+
<span class="normal"> opt_name</span><span class="symbol">,</span>
|
574
|
+
<span class="normal"> opt_object_path</span><span class="symbol">,</span>
|
575
|
+
<span class="normal"> opt_interface</span><span class="symbol">);</span>
|
576
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
577
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">name_owner</span><span class="symbol">);</span>
|
578
|
+
<span class="cbracket">}</span>
|
579
|
+
|
580
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
581
|
+
<span class="function">on_name_owner_notify</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">,</span>
|
582
|
+
<span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pspec</span><span class="symbol">,</span>
|
583
|
+
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
584
|
+
<span class="cbracket">{</span>
|
585
|
+
<span class="normal"> </span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_DBUS_PROXY</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
|
586
|
+
<span class="normal"> </span><span class="function">print_proxy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
587
|
+
<span class="cbracket">}</span>
|
588
|
+
|
589
|
+
<span class="type">int</span>
|
590
|
+
<span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
|
591
|
+
<span class="cbracket">{</span>
|
592
|
+
<span class="normal"> </span><span class="usertype">GOptionContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">opt_context</span><span class="symbol">;</span>
|
593
|
+
<span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error</span><span class="symbol">;</span>
|
594
|
+
<span class="normal"> </span><span class="usertype">GDBusProxyFlags</span><span class="normal"> flags</span><span class="symbol">;</span>
|
595
|
+
<span class="normal"> </span><span class="usertype">GDBusProxy</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">proxy</span><span class="symbol">;</span>
|
596
|
+
|
597
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-init">g_type_init</a></span><span class="normal"> </span><span class="symbol">();</span>
|
598
|
+
|
599
|
+
<span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
600
|
+
<span class="normal"> proxy </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
601
|
+
|
602
|
+
<span class="normal"> opt_context </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-new">g_option_context_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"g_bus_watch_proxy() example"</span><span class="symbol">);</span>
|
603
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-set-summary">g_option_context_set_summary</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">,</span>
|
604
|
+
<span class="normal"> </span><span class="string">"Example: to watch the object of gdbus-example-server, use:</span><span class="specialchar">\n</span><span class="string">"</span>
|
605
|
+
<span class="normal"> </span><span class="string">"</span><span class="specialchar">\n</span><span class="string">"</span>
|
606
|
+
<span class="normal"> </span><span class="string">" ./gdbus-example-watch-proxy -n org.gtk.GDBus.TestServer </span><span class="specialchar">\\\n</span><span class="string">"</span>
|
607
|
+
<span class="normal"> </span><span class="string">" -o /org/gtk/GDBus/TestObject </span><span class="specialchar">\\\n</span><span class="string">"</span>
|
608
|
+
<span class="normal"> </span><span class="string">" -i org.gtk.GDBus.TestInterface"</span><span class="symbol">);</span>
|
609
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-add-main-entries">g_option_context_add_main_entries</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">,</span><span class="normal"> opt_entries</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
610
|
+
<span class="normal"> error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
611
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-parse">g_option_context_parse</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">argv</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">))</span>
|
612
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
613
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error parsing options: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
614
|
+
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
615
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
616
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_name </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="symbol">||</span><span class="normal"> opt_object_path </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a> </span><span class="symbol">||</span><span class="normal"> opt_interface </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
617
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
618
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Incorrect usage, try --help.</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
|
619
|
+
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
620
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
621
|
+
|
622
|
+
<span class="normal"> flags </span><span class="symbol">=</span><span class="normal"> <a href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-NONE:CAPS">G_DBUS_PROXY_FLAGS_NONE</a></span><span class="symbol">;</span>
|
623
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_no_properties</span><span class="symbol">)</span>
|
624
|
+
<span class="normal"> flags </span><span class="symbol">|=</span><span class="normal"> <a href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-LOAD-PROPERTIES:CAPS">G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES</a></span><span class="symbol">;</span>
|
625
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_no_auto_start</span><span class="symbol">)</span>
|
626
|
+
<span class="normal"> flags </span><span class="symbol">|=</span><span class="normal"> <a href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-AUTO-START:CAPS">G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START</a></span><span class="symbol">;</span>
|
627
|
+
|
628
|
+
<span class="normal"> loop </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">);</span>
|
629
|
+
|
630
|
+
<span class="normal"> error </span><span class="symbol">=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
|
631
|
+
<span class="normal"> proxy </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-new-for-bus-sync">g_dbus_proxy_new_for_bus_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_system_bus </span><span class="symbol">?</span><span class="normal"> <a href="GDBusConnection.html#G-BUS-TYPE-SYSTEM:CAPS">G_BUS_TYPE_SYSTEM</a> </span><span class="symbol">:</span><span class="normal"> <a href="GDBusConnection.html#G-BUS-TYPE-SESSION:CAPS">G_BUS_TYPE_SESSION</a></span><span class="symbol">,</span>
|
632
|
+
<span class="normal"> flags</span><span class="symbol">,</span>
|
633
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GDBusInterfaceInfo */</span>
|
634
|
+
<span class="normal"> opt_name</span><span class="symbol">,</span>
|
635
|
+
<span class="normal"> opt_object_path</span><span class="symbol">,</span>
|
636
|
+
<span class="normal"> opt_interface</span><span class="symbol">,</span>
|
637
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="comment">/* GCancellable */</span>
|
638
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span>
|
639
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy </span><span class="symbol">==</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
640
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
641
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Warnings-and-Assertions.html#g-printerr">g_printerr</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Error creating proxy: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
642
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
|
643
|
+
<span class="normal"> </span><span class="keyword">goto</span><span class="normal"> out</span><span class="symbol">;</span>
|
644
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
645
|
+
|
646
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
647
|
+
<span class="normal"> </span><span class="string">"g-properties-changed"</span><span class="symbol">,</span>
|
648
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_properties_changed</span><span class="symbol">),</span>
|
649
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
650
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
651
|
+
<span class="normal"> </span><span class="string">"g-signal"</span><span class="symbol">,</span>
|
652
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_signal</span><span class="symbol">),</span>
|
653
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
654
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
655
|
+
<span class="normal"> </span><span class="string">"notify::g-name-owner"</span><span class="symbol">,</span>
|
656
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">on_name_owner_notify</span><span class="symbol">),</span>
|
657
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
658
|
+
<span class="normal"> </span><span class="function">print_proxy</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
659
|
+
|
660
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
661
|
+
|
662
|
+
<span class="label"> out:</span>
|
663
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
664
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">);</span>
|
665
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
|
666
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-unref">g_main_loop_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">loop</span><span class="symbol">);</span>
|
667
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Commandline-option-parser.html#g-option-context-free">g_option_context_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_context</span><span class="symbol">);</span>
|
668
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_name</span><span class="symbol">);</span>
|
669
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_object_path</span><span class="symbol">);</span>
|
670
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">opt_interface</span><span class="symbol">);</span>
|
671
|
+
|
672
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
|
673
|
+
<span class="cbracket">}</span></pre></td>
|
674
|
+
</tr>
|
675
|
+
</tbody>
|
676
|
+
</table>
|
677
|
+
</div>
|
678
|
+
|
679
|
+
</div>
|
680
|
+
<p><br class="example-break">
|
681
|
+
</p>
|
682
|
+
</div>
|
683
|
+
<div class="refsect1">
|
684
|
+
<a name="GDBusProxy.details"></a><h2>Details</h2>
|
685
|
+
<div class="refsect2">
|
686
|
+
<a name="GDBusProxyFlags"></a><h3>enum GDBusProxyFlags</h3>
|
687
|
+
<pre class="programlisting">typedef enum
|
688
|
+
{
|
689
|
+
G_DBUS_PROXY_FLAGS_NONE = 0,
|
690
|
+
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES = (1<<0),
|
691
|
+
G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS = (1<<1),
|
692
|
+
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START = (1<<2)
|
693
|
+
} GDBusProxyFlags;
|
694
|
+
</pre>
|
695
|
+
<p>
|
696
|
+
Flags used when constructing an instance of a <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> derived class.
|
697
|
+
</p>
|
698
|
+
<div class="variablelist"><table border="0">
|
699
|
+
<col align="left" valign="top">
|
700
|
+
<tbody>
|
701
|
+
<tr>
|
702
|
+
<td><p><a name="G-DBUS-PROXY-FLAGS-NONE:CAPS"></a><span class="term"><code class="literal">G_DBUS_PROXY_FLAGS_NONE</code></span></p></td>
|
703
|
+
<td>No flags set.
|
704
|
+
</td>
|
705
|
+
</tr>
|
706
|
+
<tr>
|
707
|
+
<td><p><a name="G-DBUS-PROXY-FLAGS-DO-NOT-LOAD-PROPERTIES:CAPS"></a><span class="term"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES</code></span></p></td>
|
708
|
+
<td>Don't load properties.
|
709
|
+
</td>
|
710
|
+
</tr>
|
711
|
+
<tr>
|
712
|
+
<td><p><a name="G-DBUS-PROXY-FLAGS-DO-NOT-CONNECT-SIGNALS:CAPS"></a><span class="term"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS</code></span></p></td>
|
713
|
+
<td>Don't connect to signals on the remote object.
|
714
|
+
</td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td><p><a name="G-DBUS-PROXY-FLAGS-DO-NOT-AUTO-START:CAPS"></a><span class="term"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START</code></span></p></td>
|
718
|
+
<td>If not set and the proxy if for a well-known name,
|
719
|
+
then request the bus to launch an owner for the name if no-one owns the name. This flag can
|
720
|
+
only be used in proxies for well-known names.
|
721
|
+
</td>
|
722
|
+
</tr>
|
723
|
+
</tbody>
|
724
|
+
</table></div>
|
725
|
+
<p class="since">Since 2.26</p>
|
726
|
+
</div>
|
727
|
+
<hr>
|
728
|
+
<div class="refsect2">
|
729
|
+
<a name="GDBusProxy-struct"></a><h3>GDBusProxy</h3>
|
730
|
+
<pre class="programlisting">typedef struct _GDBusProxy GDBusProxy;</pre>
|
731
|
+
<p>
|
732
|
+
The <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> structure contains only private data and
|
733
|
+
should only be accessed using the provided API.
|
734
|
+
</p>
|
735
|
+
<p class="since">Since 2.26</p>
|
736
|
+
</div>
|
737
|
+
<hr>
|
738
|
+
<div class="refsect2">
|
739
|
+
<a name="GDBusProxyClass"></a><h3>GDBusProxyClass</h3>
|
740
|
+
<pre class="programlisting">typedef struct {
|
741
|
+
/* Signals */
|
742
|
+
void (*g_properties_changed) (GDBusProxy *proxy,
|
743
|
+
GVariant *changed_properties,
|
744
|
+
const gchar* const *invalidated_properties);
|
745
|
+
void (*g_signal) (GDBusProxy *proxy,
|
746
|
+
const gchar *sender_name,
|
747
|
+
const gchar *signal_name,
|
748
|
+
GVariant *parameters);
|
749
|
+
} GDBusProxyClass;
|
750
|
+
</pre>
|
751
|
+
<p>
|
752
|
+
Class structure for <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
753
|
+
</p>
|
754
|
+
<div class="variablelist"><table border="0">
|
755
|
+
<col align="left" valign="top">
|
756
|
+
<tbody>
|
757
|
+
<tr>
|
758
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GDBusProxyClass.g-properties-changed"></a>g_properties_changed</code></em> ()</span></p></td>
|
759
|
+
<td>Signal class handler for the <a class="link" href="GDBusProxy.html#GDBusProxy-g-properties-changed" title='The "g-properties-changed" signal'><span class="type">"g-properties-changed"</span></a> signal.
|
760
|
+
</td>
|
761
|
+
</tr>
|
762
|
+
<tr>
|
763
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GDBusProxyClass.g-signal"></a>g_signal</code></em> ()</span></p></td>
|
764
|
+
<td>Signal class handler for the <a class="link" href="GDBusProxy.html#GDBusProxy-g-signal" title='The "g-signal" signal'><span class="type">"g-signal"</span></a> signal.
|
765
|
+
</td>
|
766
|
+
</tr>
|
767
|
+
</tbody>
|
768
|
+
</table></div>
|
769
|
+
<p class="since">Since 2.26</p>
|
770
|
+
</div>
|
771
|
+
<hr>
|
772
|
+
<div class="refsect2">
|
773
|
+
<a name="g-dbus-proxy-new"></a><h3>g_dbus_proxy_new ()</h3>
|
774
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_new (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
775
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
776
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
777
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
778
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
779
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
780
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
781
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
782
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
783
|
+
<p>
|
784
|
+
Creates a proxy for accessing <em class="parameter"><code>interface_name</code></em> on the remote object
|
785
|
+
at <em class="parameter"><code>object_path</code></em> owned by <em class="parameter"><code>name</code></em> at <em class="parameter"><code>connection</code></em> and asynchronously
|
786
|
+
loads D-Bus properties unless the
|
787
|
+
<a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-LOAD-PROPERTIES:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES</code></a> flag is used. Connect to
|
788
|
+
the <a class="link" href="GDBusProxy.html#GDBusProxy-g-properties-changed" title='The "g-properties-changed" signal'><span class="type">"g-properties-changed"</span></a> signal to get notified about
|
789
|
+
property changes.
|
790
|
+
</p>
|
791
|
+
<p>
|
792
|
+
If the <a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-CONNECT-SIGNALS:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS</code></a> flag is not set, also sets up
|
793
|
+
match rules for signals. Connect to the <a class="link" href="GDBusProxy.html#GDBusProxy-g-signal" title='The "g-signal" signal'><span class="type">"g-signal"</span></a> signal
|
794
|
+
to handle signals from the remote object.
|
795
|
+
</p>
|
796
|
+
<p>
|
797
|
+
If <em class="parameter"><code>name</code></em> is a well-known name and the
|
798
|
+
<a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-AUTO-START:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START</code></a> flag isn't set and no name
|
799
|
+
owner currently exists, the message bus will be requested to launch
|
800
|
+
a name owner for the name.
|
801
|
+
</p>
|
802
|
+
<p>
|
803
|
+
This is a failable asynchronous constructor - when the proxy is
|
804
|
+
ready, <em class="parameter"><code>callback</code></em> will be invoked and you can use
|
805
|
+
<a class="link" href="GDBusProxy.html#g-dbus-proxy-new-finish" title="g_dbus_proxy_new_finish ()"><code class="function">g_dbus_proxy_new_finish()</code></a> to get the result.
|
806
|
+
</p>
|
807
|
+
<p>
|
808
|
+
See <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-sync" title="g_dbus_proxy_new_sync ()"><code class="function">g_dbus_proxy_new_sync()</code></a> and for a synchronous version of this constructor.
|
809
|
+
</p>
|
810
|
+
<p>
|
811
|
+
See <a class="xref" href="GDBusProxy.html#gdbus-wellknown-proxy" title="Example 10. GDBusProxy for a well-known-name">Example 10, “GDBusProxy for a well-known-name”</a> for an example of how <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> can be used.
|
812
|
+
</p>
|
813
|
+
<div class="variablelist"><table border="0">
|
814
|
+
<col align="left" valign="top">
|
815
|
+
<tbody>
|
816
|
+
<tr>
|
817
|
+
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
|
818
|
+
<td>A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
|
819
|
+
</td>
|
820
|
+
</tr>
|
821
|
+
<tr>
|
822
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
823
|
+
<td>Flags used when constructing the proxy.
|
824
|
+
</td>
|
825
|
+
</tr>
|
826
|
+
<tr>
|
827
|
+
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
828
|
+
<td>A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> specifying the minimal interface that <em class="parameter"><code>proxy</code></em> conforms to or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
829
|
+
</td>
|
830
|
+
</tr>
|
831
|
+
<tr>
|
832
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
833
|
+
<td>A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection.
|
834
|
+
</td>
|
835
|
+
</tr>
|
836
|
+
<tr>
|
837
|
+
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
838
|
+
<td>An object path.
|
839
|
+
</td>
|
840
|
+
</tr>
|
841
|
+
<tr>
|
842
|
+
<td><p><span class="term"><em class="parameter"><code>interface_name</code></em> :</span></p></td>
|
843
|
+
<td>A D-Bus interface name.
|
844
|
+
</td>
|
845
|
+
</tr>
|
846
|
+
<tr>
|
847
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
848
|
+
<td>A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
849
|
+
</td>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
853
|
+
<td>Callback function to invoke when the proxy is ready.
|
854
|
+
</td>
|
855
|
+
</tr>
|
856
|
+
<tr>
|
857
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
858
|
+
<td>User data to pass to <em class="parameter"><code>callback</code></em>.
|
859
|
+
</td>
|
860
|
+
</tr>
|
861
|
+
</tbody>
|
862
|
+
</table></div>
|
863
|
+
<p class="since">Since 2.26</p>
|
864
|
+
</div>
|
865
|
+
<hr>
|
866
|
+
<div class="refsect2">
|
867
|
+
<a name="g-dbus-proxy-new-finish"></a><h3>g_dbus_proxy_new_finish ()</h3>
|
868
|
+
<pre class="programlisting"><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * g_dbus_proxy_new_finish (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
869
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
870
|
+
<p>
|
871
|
+
Finishes creating a <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
872
|
+
</p>
|
873
|
+
<div class="variablelist"><table border="0">
|
874
|
+
<col align="left" valign="top">
|
875
|
+
<tbody>
|
876
|
+
<tr>
|
877
|
+
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
|
878
|
+
<td>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> obtained from the <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> function passed to <a class="link" href="GDBusProxy.html#g-dbus-proxy-new" title="g_dbus_proxy_new ()"><code class="function">g_dbus_proxy_new()</code></a>.
|
879
|
+
</td>
|
880
|
+
</tr>
|
881
|
+
<tr>
|
882
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
883
|
+
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
884
|
+
</td>
|
885
|
+
</tr>
|
886
|
+
<tr>
|
887
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
888
|
+
<td> A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
889
|
+
|
890
|
+
</td>
|
891
|
+
</tr>
|
892
|
+
</tbody>
|
893
|
+
</table></div>
|
894
|
+
<p class="since">Since 2.26</p>
|
895
|
+
</div>
|
896
|
+
<hr>
|
897
|
+
<div class="refsect2">
|
898
|
+
<a name="g-dbus-proxy-new-sync"></a><h3>g_dbus_proxy_new_sync ()</h3>
|
899
|
+
<pre class="programlisting"><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * g_dbus_proxy_new_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
|
900
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
901
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
902
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
903
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
904
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
905
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
906
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
907
|
+
<p>
|
908
|
+
Creates a proxy for accessing <em class="parameter"><code>interface_name</code></em> on the remote object
|
909
|
+
at <em class="parameter"><code>object_path</code></em> owned by <em class="parameter"><code>name</code></em> at <em class="parameter"><code>connection</code></em> and synchronously
|
910
|
+
loads D-Bus properties unless the
|
911
|
+
<a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-LOAD-PROPERTIES:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES</code></a> flag is used.
|
912
|
+
</p>
|
913
|
+
<p>
|
914
|
+
If the <a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-CONNECT-SIGNALS:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS</code></a> flag is not set, also sets up
|
915
|
+
match rules for signals. Connect to the <a class="link" href="GDBusProxy.html#GDBusProxy-g-signal" title='The "g-signal" signal'><span class="type">"g-signal"</span></a> signal
|
916
|
+
to handle signals from the remote object.
|
917
|
+
</p>
|
918
|
+
<p>
|
919
|
+
If <em class="parameter"><code>name</code></em> is a well-known name and the
|
920
|
+
<a class="link" href="GDBusProxy.html#G-DBUS-PROXY-FLAGS-DO-NOT-AUTO-START:CAPS"><code class="literal">G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START</code></a> flag isn't set and no name
|
921
|
+
owner currently exists, the message bus will be requested to launch
|
922
|
+
a name owner for the name.
|
923
|
+
</p>
|
924
|
+
<p>
|
925
|
+
This is a synchronous failable constructor. See <a class="link" href="GDBusProxy.html#g-dbus-proxy-new" title="g_dbus_proxy_new ()"><code class="function">g_dbus_proxy_new()</code></a>
|
926
|
+
and <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-finish" title="g_dbus_proxy_new_finish ()"><code class="function">g_dbus_proxy_new_finish()</code></a> for the asynchronous version.
|
927
|
+
</p>
|
928
|
+
<p>
|
929
|
+
See <a class="xref" href="GDBusProxy.html#gdbus-wellknown-proxy" title="Example 10. GDBusProxy for a well-known-name">Example 10, “GDBusProxy for a well-known-name”</a> for an example of how <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> can be used.
|
930
|
+
</p>
|
931
|
+
<div class="variablelist"><table border="0">
|
932
|
+
<col align="left" valign="top">
|
933
|
+
<tbody>
|
934
|
+
<tr>
|
935
|
+
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
|
936
|
+
<td>A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
|
937
|
+
</td>
|
938
|
+
</tr>
|
939
|
+
<tr>
|
940
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
941
|
+
<td>Flags used when constructing the proxy.
|
942
|
+
</td>
|
943
|
+
</tr>
|
944
|
+
<tr>
|
945
|
+
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
946
|
+
<td> A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> specifying the minimal interface that <em class="parameter"><code>proxy</code></em> conforms to or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
947
|
+
</td>
|
948
|
+
</tr>
|
949
|
+
<tr>
|
950
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
951
|
+
<td> A bus name (well-known or unique) or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>connection</code></em> is not a message bus connection. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
952
|
+
</td>
|
953
|
+
</tr>
|
954
|
+
<tr>
|
955
|
+
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
956
|
+
<td>An object path.
|
957
|
+
</td>
|
958
|
+
</tr>
|
959
|
+
<tr>
|
960
|
+
<td><p><span class="term"><em class="parameter"><code>interface_name</code></em> :</span></p></td>
|
961
|
+
<td>A D-Bus interface name.
|
962
|
+
</td>
|
963
|
+
</tr>
|
964
|
+
<tr>
|
965
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
966
|
+
<td> A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
967
|
+
</td>
|
968
|
+
</tr>
|
969
|
+
<tr>
|
970
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
971
|
+
<td> Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
972
|
+
</td>
|
973
|
+
</tr>
|
974
|
+
<tr>
|
975
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
976
|
+
<td> A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if error is set. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
977
|
+
|
978
|
+
</td>
|
979
|
+
</tr>
|
980
|
+
</tbody>
|
981
|
+
</table></div>
|
982
|
+
<p class="since">Since 2.26</p>
|
983
|
+
</div>
|
984
|
+
<hr>
|
985
|
+
<div class="refsect2">
|
986
|
+
<a name="g-dbus-proxy-new-for-bus"></a><h3>g_dbus_proxy_new_for_bus ()</h3>
|
987
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_new_for_bus (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
988
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
989
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
990
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
991
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
992
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
993
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
994
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
995
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
996
|
+
<p>
|
997
|
+
Like <a class="link" href="GDBusProxy.html#g-dbus-proxy-new" title="g_dbus_proxy_new ()"><code class="function">g_dbus_proxy_new()</code></a> but takes a <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> instead of a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
|
998
|
+
</p>
|
999
|
+
<p>
|
1000
|
+
See <a class="xref" href="GDBusProxy.html#gdbus-wellknown-proxy" title="Example 10. GDBusProxy for a well-known-name">Example 10, “GDBusProxy for a well-known-name”</a> for an example of how <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> can be used.
|
1001
|
+
</p>
|
1002
|
+
<div class="variablelist"><table border="0">
|
1003
|
+
<col align="left" valign="top">
|
1004
|
+
<tbody>
|
1005
|
+
<tr>
|
1006
|
+
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
|
1007
|
+
<td>A <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a>.
|
1008
|
+
</td>
|
1009
|
+
</tr>
|
1010
|
+
<tr>
|
1011
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1012
|
+
<td>Flags used when constructing the proxy.
|
1013
|
+
</td>
|
1014
|
+
</tr>
|
1015
|
+
<tr>
|
1016
|
+
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1017
|
+
<td>A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> specifying the minimal interface that <em class="parameter"><code>proxy</code></em> conforms to or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1018
|
+
</td>
|
1019
|
+
</tr>
|
1020
|
+
<tr>
|
1021
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1022
|
+
<td>A bus name (well-known or unique).
|
1023
|
+
</td>
|
1024
|
+
</tr>
|
1025
|
+
<tr>
|
1026
|
+
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
1027
|
+
<td>An object path.
|
1028
|
+
</td>
|
1029
|
+
</tr>
|
1030
|
+
<tr>
|
1031
|
+
<td><p><span class="term"><em class="parameter"><code>interface_name</code></em> :</span></p></td>
|
1032
|
+
<td>A D-Bus interface name.
|
1033
|
+
</td>
|
1034
|
+
</tr>
|
1035
|
+
<tr>
|
1036
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1037
|
+
<td>A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1038
|
+
</td>
|
1039
|
+
</tr>
|
1040
|
+
<tr>
|
1041
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
1042
|
+
<td>Callback function to invoke when the proxy is ready.
|
1043
|
+
</td>
|
1044
|
+
</tr>
|
1045
|
+
<tr>
|
1046
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1047
|
+
<td>User data to pass to <em class="parameter"><code>callback</code></em>.
|
1048
|
+
</td>
|
1049
|
+
</tr>
|
1050
|
+
</tbody>
|
1051
|
+
</table></div>
|
1052
|
+
<p class="since">Since 2.26</p>
|
1053
|
+
</div>
|
1054
|
+
<hr>
|
1055
|
+
<div class="refsect2">
|
1056
|
+
<a name="g-dbus-proxy-new-for-bus-finish"></a><h3>g_dbus_proxy_new_for_bus_finish ()</h3>
|
1057
|
+
<pre class="programlisting"><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * g_dbus_proxy_new_for_bus_finish (<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
1058
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1059
|
+
<p>
|
1060
|
+
Finishes creating a <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1061
|
+
</p>
|
1062
|
+
<div class="variablelist"><table border="0">
|
1063
|
+
<col align="left" valign="top">
|
1064
|
+
<tbody>
|
1065
|
+
<tr>
|
1066
|
+
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
|
1067
|
+
<td>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> obtained from the <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> function passed to <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-for-bus" title="g_dbus_proxy_new_for_bus ()"><code class="function">g_dbus_proxy_new_for_bus()</code></a>.
|
1068
|
+
</td>
|
1069
|
+
</tr>
|
1070
|
+
<tr>
|
1071
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1072
|
+
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1073
|
+
</td>
|
1074
|
+
</tr>
|
1075
|
+
<tr>
|
1076
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1077
|
+
<td> A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
1078
|
+
|
1079
|
+
</td>
|
1080
|
+
</tr>
|
1081
|
+
</tbody>
|
1082
|
+
</table></div>
|
1083
|
+
<p class="since">Since 2.26</p>
|
1084
|
+
</div>
|
1085
|
+
<hr>
|
1086
|
+
<div class="refsect2">
|
1087
|
+
<a name="g-dbus-proxy-new-for-bus-sync"></a><h3>g_dbus_proxy_new_for_bus_sync ()</h3>
|
1088
|
+
<pre class="programlisting"><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="returnvalue">GDBusProxy</span></a> * g_dbus_proxy_new_for_bus_sync (<em class="parameter"><code><a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> bus_type</code></em>,
|
1089
|
+
<em class="parameter"><code><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> flags</code></em>,
|
1090
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>,
|
1091
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
1092
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
|
1093
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *interface_name</code></em>,
|
1094
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1095
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1096
|
+
<p>
|
1097
|
+
Like <a class="link" href="GDBusProxy.html#g-dbus-proxy-new-sync" title="g_dbus_proxy_new_sync ()"><code class="function">g_dbus_proxy_new_sync()</code></a> but takes a <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> instead of a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>.
|
1098
|
+
</p>
|
1099
|
+
<p>
|
1100
|
+
See <a class="xref" href="GDBusProxy.html#gdbus-wellknown-proxy" title="Example 10. GDBusProxy for a well-known-name">Example 10, “GDBusProxy for a well-known-name”</a> for an example of how <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> can be used.
|
1101
|
+
</p>
|
1102
|
+
<div class="variablelist"><table border="0">
|
1103
|
+
<col align="left" valign="top">
|
1104
|
+
<tbody>
|
1105
|
+
<tr>
|
1106
|
+
<td><p><span class="term"><em class="parameter"><code>bus_type</code></em> :</span></p></td>
|
1107
|
+
<td>A <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a>.
|
1108
|
+
</td>
|
1109
|
+
</tr>
|
1110
|
+
<tr>
|
1111
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1112
|
+
<td>Flags used when constructing the proxy.
|
1113
|
+
</td>
|
1114
|
+
</tr>
|
1115
|
+
<tr>
|
1116
|
+
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1117
|
+
<td>A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> specifying the minimal interface that <em class="parameter"><code>proxy</code></em> conforms to or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1118
|
+
</td>
|
1119
|
+
</tr>
|
1120
|
+
<tr>
|
1121
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1122
|
+
<td>A bus name (well-known or unique).
|
1123
|
+
</td>
|
1124
|
+
</tr>
|
1125
|
+
<tr>
|
1126
|
+
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
|
1127
|
+
<td>An object path.
|
1128
|
+
</td>
|
1129
|
+
</tr>
|
1130
|
+
<tr>
|
1131
|
+
<td><p><span class="term"><em class="parameter"><code>interface_name</code></em> :</span></p></td>
|
1132
|
+
<td>A D-Bus interface name.
|
1133
|
+
</td>
|
1134
|
+
</tr>
|
1135
|
+
<tr>
|
1136
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1137
|
+
<td>A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1138
|
+
</td>
|
1139
|
+
</tr>
|
1140
|
+
<tr>
|
1141
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1142
|
+
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1143
|
+
</td>
|
1144
|
+
</tr>
|
1145
|
+
<tr>
|
1146
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1147
|
+
<td> A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if error is set. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
|
1148
|
+
|
1149
|
+
</td>
|
1150
|
+
</tr>
|
1151
|
+
</tbody>
|
1152
|
+
</table></div>
|
1153
|
+
<p class="since">Since 2.26</p>
|
1154
|
+
</div>
|
1155
|
+
<hr>
|
1156
|
+
<div class="refsect2">
|
1157
|
+
<a name="g-dbus-proxy-get-flags"></a><h3>g_dbus_proxy_get_flags ()</h3>
|
1158
|
+
<pre class="programlisting"><a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="returnvalue">GDBusProxyFlags</span></a> g_dbus_proxy_get_flags (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1159
|
+
<p>
|
1160
|
+
Gets the flags that <em class="parameter"><code>proxy</code></em> was constructed with.
|
1161
|
+
</p>
|
1162
|
+
<div class="variablelist"><table border="0">
|
1163
|
+
<col align="left" valign="top">
|
1164
|
+
<tbody>
|
1165
|
+
<tr>
|
1166
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1167
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1168
|
+
</td>
|
1169
|
+
</tr>
|
1170
|
+
<tr>
|
1171
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1172
|
+
<td> Flags from the <a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.
|
1173
|
+
|
1174
|
+
</td>
|
1175
|
+
</tr>
|
1176
|
+
</tbody>
|
1177
|
+
</table></div>
|
1178
|
+
<p class="since">Since 2.26</p>
|
1179
|
+
</div>
|
1180
|
+
<hr>
|
1181
|
+
<div class="refsect2">
|
1182
|
+
<a name="g-dbus-proxy-get-connection"></a><h3>g_dbus_proxy_get_connection ()</h3>
|
1183
|
+
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> * g_dbus_proxy_get_connection (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1184
|
+
<p>
|
1185
|
+
Gets the connection <em class="parameter"><code>proxy</code></em> is for.
|
1186
|
+
</p>
|
1187
|
+
<div class="variablelist"><table border="0">
|
1188
|
+
<col align="left" valign="top">
|
1189
|
+
<tbody>
|
1190
|
+
<tr>
|
1191
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1192
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1193
|
+
</td>
|
1194
|
+
</tr>
|
1195
|
+
<tr>
|
1196
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1197
|
+
<td> A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> owned by <em class="parameter"><code>proxy</code></em>. Do not free.
|
1198
|
+
|
1199
|
+
</td>
|
1200
|
+
</tr>
|
1201
|
+
</tbody>
|
1202
|
+
</table></div>
|
1203
|
+
<p class="since">Since 2.26</p>
|
1204
|
+
</div>
|
1205
|
+
<hr>
|
1206
|
+
<div class="refsect2">
|
1207
|
+
<a name="g-dbus-proxy-get-name"></a><h3>g_dbus_proxy_get_name ()</h3>
|
1208
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_proxy_get_name (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1209
|
+
<p>
|
1210
|
+
Gets the name that <em class="parameter"><code>proxy</code></em> was constructed for.
|
1211
|
+
</p>
|
1212
|
+
<div class="variablelist"><table border="0">
|
1213
|
+
<col align="left" valign="top">
|
1214
|
+
<tbody>
|
1215
|
+
<tr>
|
1216
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1217
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1218
|
+
</td>
|
1219
|
+
</tr>
|
1220
|
+
<tr>
|
1221
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1222
|
+
<td> A string owned by <em class="parameter"><code>proxy</code></em>. Do not free.
|
1223
|
+
|
1224
|
+
</td>
|
1225
|
+
</tr>
|
1226
|
+
</tbody>
|
1227
|
+
</table></div>
|
1228
|
+
<p class="since">Since 2.26</p>
|
1229
|
+
</div>
|
1230
|
+
<hr>
|
1231
|
+
<div class="refsect2">
|
1232
|
+
<a name="g-dbus-proxy-get-name-owner"></a><h3>g_dbus_proxy_get_name_owner ()</h3>
|
1233
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_proxy_get_name_owner (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1234
|
+
<p>
|
1235
|
+
The unique name that owns the name that <em class="parameter"><code>proxy</code></em> is for or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
1236
|
+
no-one currently owns that name. You may connect to the
|
1237
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal to track changes to the
|
1238
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy--g-name-owner" title='The "g-name-owner" property'><span class="type">"g-name-owner"</span></a> property.
|
1239
|
+
</p>
|
1240
|
+
<div class="variablelist"><table border="0">
|
1241
|
+
<col align="left" valign="top">
|
1242
|
+
<tbody>
|
1243
|
+
<tr>
|
1244
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1245
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1246
|
+
</td>
|
1247
|
+
</tr>
|
1248
|
+
<tr>
|
1249
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1250
|
+
<td> The name owner or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no name owner exists. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
1251
|
+
|
1252
|
+
</td>
|
1253
|
+
</tr>
|
1254
|
+
</tbody>
|
1255
|
+
</table></div>
|
1256
|
+
<p class="since">Since 2.26</p>
|
1257
|
+
</div>
|
1258
|
+
<hr>
|
1259
|
+
<div class="refsect2">
|
1260
|
+
<a name="g-dbus-proxy-get-object-path"></a><h3>g_dbus_proxy_get_object_path ()</h3>
|
1261
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_proxy_get_object_path (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1262
|
+
<p>
|
1263
|
+
Gets the object path <em class="parameter"><code>proxy</code></em> is for.
|
1264
|
+
</p>
|
1265
|
+
<div class="variablelist"><table border="0">
|
1266
|
+
<col align="left" valign="top">
|
1267
|
+
<tbody>
|
1268
|
+
<tr>
|
1269
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1270
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1271
|
+
</td>
|
1272
|
+
</tr>
|
1273
|
+
<tr>
|
1274
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1275
|
+
<td> A string owned by <em class="parameter"><code>proxy</code></em>. Do not free.
|
1276
|
+
|
1277
|
+
</td>
|
1278
|
+
</tr>
|
1279
|
+
</tbody>
|
1280
|
+
</table></div>
|
1281
|
+
<p class="since">Since 2.26</p>
|
1282
|
+
</div>
|
1283
|
+
<hr>
|
1284
|
+
<div class="refsect2">
|
1285
|
+
<a name="g-dbus-proxy-get-interface-name"></a><h3>g_dbus_proxy_get_interface_name ()</h3>
|
1286
|
+
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_dbus_proxy_get_interface_name (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1287
|
+
<p>
|
1288
|
+
Gets the D-Bus interface name <em class="parameter"><code>proxy</code></em> is for.
|
1289
|
+
</p>
|
1290
|
+
<div class="variablelist"><table border="0">
|
1291
|
+
<col align="left" valign="top">
|
1292
|
+
<tbody>
|
1293
|
+
<tr>
|
1294
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1295
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1296
|
+
</td>
|
1297
|
+
</tr>
|
1298
|
+
<tr>
|
1299
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1300
|
+
<td> A string owned by <em class="parameter"><code>proxy</code></em>. Do not free.
|
1301
|
+
|
1302
|
+
</td>
|
1303
|
+
</tr>
|
1304
|
+
</tbody>
|
1305
|
+
</table></div>
|
1306
|
+
<p class="since">Since 2.26</p>
|
1307
|
+
</div>
|
1308
|
+
<hr>
|
1309
|
+
<div class="refsect2">
|
1310
|
+
<a name="g-dbus-proxy-get-default-timeout"></a><h3>g_dbus_proxy_get_default_timeout ()</h3>
|
1311
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_dbus_proxy_get_default_timeout (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1312
|
+
<p>
|
1313
|
+
Gets the timeout to use if -1 (specifying default timeout) is
|
1314
|
+
passed as <em class="parameter"><code>timeout_msec</code></em> in the <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a> and
|
1315
|
+
<a class="link" href="GDBusProxy.html#g-dbus-proxy-call-sync" title="g_dbus_proxy_call_sync ()"><code class="function">g_dbus_proxy_call_sync()</code></a> functions.
|
1316
|
+
</p>
|
1317
|
+
<p>
|
1318
|
+
See the <a class="link" href="GDBusProxy.html#GDBusProxy--g-default-timeout" title='The "g-default-timeout" property'><span class="type">"g-default-timeout"</span></a> property for more details.
|
1319
|
+
</p>
|
1320
|
+
<div class="variablelist"><table border="0">
|
1321
|
+
<col align="left" valign="top">
|
1322
|
+
<tbody>
|
1323
|
+
<tr>
|
1324
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1325
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1326
|
+
</td>
|
1327
|
+
</tr>
|
1328
|
+
<tr>
|
1329
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1330
|
+
<td> Timeout to use for <em class="parameter"><code>proxy</code></em>.
|
1331
|
+
|
1332
|
+
</td>
|
1333
|
+
</tr>
|
1334
|
+
</tbody>
|
1335
|
+
</table></div>
|
1336
|
+
<p class="since">Since 2.26</p>
|
1337
|
+
</div>
|
1338
|
+
<hr>
|
1339
|
+
<div class="refsect2">
|
1340
|
+
<a name="g-dbus-proxy-set-default-timeout"></a><h3>g_dbus_proxy_set_default_timeout ()</h3>
|
1341
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_set_default_timeout (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1342
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>);</pre>
|
1343
|
+
<p>
|
1344
|
+
Sets the timeout to use if -1 (specifying default timeout) is
|
1345
|
+
passed as <em class="parameter"><code>timeout_msec</code></em> in the <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a> and
|
1346
|
+
<a class="link" href="GDBusProxy.html#g-dbus-proxy-call-sync" title="g_dbus_proxy_call_sync ()"><code class="function">g_dbus_proxy_call_sync()</code></a> functions.
|
1347
|
+
</p>
|
1348
|
+
<p>
|
1349
|
+
See the <a class="link" href="GDBusProxy.html#GDBusProxy--g-default-timeout" title='The "g-default-timeout" property'><span class="type">"g-default-timeout"</span></a> property for more details.
|
1350
|
+
</p>
|
1351
|
+
<div class="variablelist"><table border="0">
|
1352
|
+
<col align="left" valign="top">
|
1353
|
+
<tbody>
|
1354
|
+
<tr>
|
1355
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1356
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1357
|
+
</td>
|
1358
|
+
</tr>
|
1359
|
+
<tr>
|
1360
|
+
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
|
1361
|
+
<td>Timeout in milliseconds.
|
1362
|
+
</td>
|
1363
|
+
</tr>
|
1364
|
+
</tbody>
|
1365
|
+
</table></div>
|
1366
|
+
<p class="since">Since 2.26</p>
|
1367
|
+
</div>
|
1368
|
+
<hr>
|
1369
|
+
<div class="refsect2">
|
1370
|
+
<a name="g-dbus-proxy-get-cached-property"></a><h3>g_dbus_proxy_get_cached_property ()</h3>
|
1371
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * g_dbus_proxy_get_cached_property (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1372
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
1373
|
+
<p>
|
1374
|
+
Looks up the value for a property from the cache. This call does no
|
1375
|
+
blocking IO.
|
1376
|
+
</p>
|
1377
|
+
<p>
|
1378
|
+
If <em class="parameter"><code>proxy</code></em> has an expected interface (see
|
1379
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-info" title='The "g-interface-info" property'><span class="type">"g-interface-info"</span></a>), then <em class="parameter"><code>property_name</code></em> (for existence)
|
1380
|
+
is checked against it.
|
1381
|
+
</p>
|
1382
|
+
<div class="variablelist"><table border="0">
|
1383
|
+
<col align="left" valign="top">
|
1384
|
+
<tbody>
|
1385
|
+
<tr>
|
1386
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1387
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1388
|
+
</td>
|
1389
|
+
</tr>
|
1390
|
+
<tr>
|
1391
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1392
|
+
<td>Property name.
|
1393
|
+
</td>
|
1394
|
+
</tr>
|
1395
|
+
<tr>
|
1396
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1397
|
+
<td> A reference to the <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> instance that holds the value
|
1398
|
+
for <em class="parameter"><code>property_name</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the value is not in the cache. The
|
1399
|
+
returned reference must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.
|
1400
|
+
|
1401
|
+
</td>
|
1402
|
+
</tr>
|
1403
|
+
</tbody>
|
1404
|
+
</table></div>
|
1405
|
+
<p class="since">Since 2.26</p>
|
1406
|
+
</div>
|
1407
|
+
<hr>
|
1408
|
+
<div class="refsect2">
|
1409
|
+
<a name="g-dbus-proxy-set-cached-property"></a><h3>g_dbus_proxy_set_cached_property ()</h3>
|
1410
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_set_cached_property (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1411
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
1412
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
|
1413
|
+
<p>
|
1414
|
+
If <em class="parameter"><code>value</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, sets the cached value for the property with
|
1415
|
+
name <em class="parameter"><code>property_name</code></em> to the value in <em class="parameter"><code>value</code></em>.
|
1416
|
+
</p>
|
1417
|
+
<p>
|
1418
|
+
If <em class="parameter"><code>value</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the cached value is removed from the
|
1419
|
+
property cache.
|
1420
|
+
</p>
|
1421
|
+
<p>
|
1422
|
+
If <em class="parameter"><code>proxy</code></em> has an expected interface (see
|
1423
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-info" title='The "g-interface-info" property'><span class="type">"g-interface-info"</span></a>), then <em class="parameter"><code>property_name</code></em> (for existence)
|
1424
|
+
and <em class="parameter"><code>value</code></em> (for the type) is checked against it.
|
1425
|
+
</p>
|
1426
|
+
<p>
|
1427
|
+
If the <em class="parameter"><code>value</code></em> <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is consumed. This allows
|
1428
|
+
convenient 'inline' use of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a>, e.g.
|
1429
|
+
</p>
|
1430
|
+
<div class="informalexample">
|
1431
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1432
|
+
<tbody>
|
1433
|
+
<tr>
|
1434
|
+
<td class="listing_lines" align="right"><pre>1
|
1435
|
+
2
|
1436
|
+
3
|
1437
|
+
4
|
1438
|
+
5</pre></td>
|
1439
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-set-cached-property">g_dbus_proxy_set_cached_property</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
1440
|
+
<span class="normal"> </span><span class="string">"SomeProperty"</span><span class="symbol">,</span>
|
1441
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(si)"</span><span class="symbol">,</span>
|
1442
|
+
<span class="normal"> </span><span class="string">"A String"</span><span class="symbol">,</span>
|
1443
|
+
<span class="normal"> </span><span class="number">42</span><span class="symbol">));</span></pre></td>
|
1444
|
+
</tr>
|
1445
|
+
</tbody>
|
1446
|
+
</table>
|
1447
|
+
</div>
|
1448
|
+
|
1449
|
+
<p>
|
1450
|
+
</p>
|
1451
|
+
<p>
|
1452
|
+
Normally you will not need to use this method since <em class="parameter"><code>proxy</code></em> is
|
1453
|
+
tracking changes using the
|
1454
|
+
<code class="literal">org.freedesktop.DBus.Properties.PropertiesChanged</code>
|
1455
|
+
D-Bus signal. However, for performance reasons an object may decide
|
1456
|
+
to not use this signal for some properties and instead use a
|
1457
|
+
proprietary out-of-band mechanism to transmit changes.
|
1458
|
+
</p>
|
1459
|
+
<p>
|
1460
|
+
As a concrete example, consider an object with a property
|
1461
|
+
<code class="literal">ChatroomParticipants</code> which is an array of
|
1462
|
+
strings. Instead of transmitting the same (long) array every time
|
1463
|
+
the property changes, it is more efficient to only transmit the
|
1464
|
+
delta using e.g. signals <code class="literal">ChatroomParticipantJoined(String
|
1465
|
+
name)</code> and <code class="literal">ChatroomParticipantParted(String
|
1466
|
+
name)</code>.
|
1467
|
+
</p>
|
1468
|
+
<div class="variablelist"><table border="0">
|
1469
|
+
<col align="left" valign="top">
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1473
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
|
1478
|
+
<td>Property name.
|
1479
|
+
</td>
|
1480
|
+
</tr>
|
1481
|
+
<tr>
|
1482
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
1483
|
+
<td>Value for the property or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to remove it from the cache.
|
1484
|
+
</td>
|
1485
|
+
</tr>
|
1486
|
+
</tbody>
|
1487
|
+
</table></div>
|
1488
|
+
<p class="since">Since 2.26</p>
|
1489
|
+
</div>
|
1490
|
+
<hr>
|
1491
|
+
<div class="refsect2">
|
1492
|
+
<a name="g-dbus-proxy-get-cached-property-names"></a><h3>g_dbus_proxy_get_cached_property_names ()</h3>
|
1493
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** g_dbus_proxy_get_cached_property_names
|
1494
|
+
(<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1495
|
+
<p>
|
1496
|
+
Gets the names of all cached properties on <em class="parameter"><code>proxy</code></em>.
|
1497
|
+
</p>
|
1498
|
+
<div class="variablelist"><table border="0">
|
1499
|
+
<col align="left" valign="top">
|
1500
|
+
<tbody>
|
1501
|
+
<tr>
|
1502
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1503
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1504
|
+
</td>
|
1505
|
+
</tr>
|
1506
|
+
<tr>
|
1507
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1508
|
+
<td> A <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>proxy</code></em> has
|
1509
|
+
no cached properties. Free the returned array with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a>.
|
1510
|
+
|
1511
|
+
</td>
|
1512
|
+
</tr>
|
1513
|
+
</tbody>
|
1514
|
+
</table></div>
|
1515
|
+
<p class="since">Since 2.26</p>
|
1516
|
+
</div>
|
1517
|
+
<hr>
|
1518
|
+
<div class="refsect2">
|
1519
|
+
<a name="g-dbus-proxy-set-interface-info"></a><h3>g_dbus_proxy_set_interface_info ()</h3>
|
1520
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_set_interface_info (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1521
|
+
<em class="parameter"><code><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> *info</code></em>);</pre>
|
1522
|
+
<p>
|
1523
|
+
Ensure that interactions with <em class="parameter"><code>proxy</code></em> conform to the given
|
1524
|
+
interface. For example, when completing a method call, if the type
|
1525
|
+
signature of the message isn't what's expected, the given <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>
|
1526
|
+
is set. Signals that have a type signature mismatch are simply
|
1527
|
+
dropped.
|
1528
|
+
</p>
|
1529
|
+
<p>
|
1530
|
+
See the <a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-info" title='The "g-interface-info" property'><span class="type">"g-interface-info"</span></a> property for more details.
|
1531
|
+
</p>
|
1532
|
+
<div class="variablelist"><table border="0">
|
1533
|
+
<col align="left" valign="top">
|
1534
|
+
<tbody>
|
1535
|
+
<tr>
|
1536
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1537
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>
|
1538
|
+
</td>
|
1539
|
+
</tr>
|
1540
|
+
<tr>
|
1541
|
+
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
|
1542
|
+
<td>Minimum interface this proxy conforms to or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset.
|
1543
|
+
</td>
|
1544
|
+
</tr>
|
1545
|
+
</tbody>
|
1546
|
+
</table></div>
|
1547
|
+
<p class="since">Since 2.26</p>
|
1548
|
+
</div>
|
1549
|
+
<hr>
|
1550
|
+
<div class="refsect2">
|
1551
|
+
<a name="g-dbus-proxy-get-interface-info"></a><h3>g_dbus_proxy_get_interface_info ()</h3>
|
1552
|
+
<pre class="programlisting"><a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="returnvalue">GDBusInterfaceInfo</span></a> * g_dbus_proxy_get_interface_info (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>);</pre>
|
1553
|
+
<p>
|
1554
|
+
Returns the <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>, if any, specifying the minimal
|
1555
|
+
interface that <em class="parameter"><code>proxy</code></em> conforms to.
|
1556
|
+
</p>
|
1557
|
+
<p>
|
1558
|
+
See the <a class="link" href="GDBusProxy.html#GDBusProxy--g-interface-info" title='The "g-interface-info" property'><span class="type">"g-interface-info"</span></a> property for more details.
|
1559
|
+
</p>
|
1560
|
+
<div class="variablelist"><table border="0">
|
1561
|
+
<col align="left" valign="top">
|
1562
|
+
<tbody>
|
1563
|
+
<tr>
|
1564
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1565
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>
|
1566
|
+
</td>
|
1567
|
+
</tr>
|
1568
|
+
<tr>
|
1569
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1570
|
+
<td> A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Do not unref the returned
|
1571
|
+
object, it is owned by <em class="parameter"><code>proxy</code></em>.
|
1572
|
+
|
1573
|
+
</td>
|
1574
|
+
</tr>
|
1575
|
+
</tbody>
|
1576
|
+
</table></div>
|
1577
|
+
<p class="since">Since 2.26</p>
|
1578
|
+
</div>
|
1579
|
+
<hr>
|
1580
|
+
<div class="refsect2">
|
1581
|
+
<a name="g-dbus-proxy-call"></a><h3>g_dbus_proxy_call ()</h3>
|
1582
|
+
<pre class="programlisting"><span class="returnvalue">void</span> g_dbus_proxy_call (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1583
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
1584
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
1585
|
+
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
1586
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
1587
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1588
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
1589
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
1590
|
+
<p>
|
1591
|
+
Asynchronously invokes the <em class="parameter"><code>method_name</code></em> method on <em class="parameter"><code>proxy</code></em>.
|
1592
|
+
</p>
|
1593
|
+
<p>
|
1594
|
+
If <em class="parameter"><code>method_name</code></em> contains any dots, then <em class="parameter"><code>name</code></em> is split into interface and
|
1595
|
+
method name parts. This allows using <em class="parameter"><code>proxy</code></em> for invoking methods on
|
1596
|
+
other interfaces.
|
1597
|
+
</p>
|
1598
|
+
<p>
|
1599
|
+
If the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> associated with <em class="parameter"><code>proxy</code></em> is closed then
|
1600
|
+
the operation will fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>. If
|
1601
|
+
<em class="parameter"><code>cancellable</code></em> is canceled, the operation will fail with
|
1602
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>. If <em class="parameter"><code>parameters</code></em> contains a value not
|
1603
|
+
compatible with the D-Bus protocol, the operation fails with
|
1604
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a>.
|
1605
|
+
</p>
|
1606
|
+
<p>
|
1607
|
+
If the <em class="parameter"><code>parameters</code></em> <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is consumed. This allows
|
1608
|
+
convenient 'inline' use of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a>, e.g.:
|
1609
|
+
</p>
|
1610
|
+
<div class="informalexample">
|
1611
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1612
|
+
<tbody>
|
1613
|
+
<tr>
|
1614
|
+
<td class="listing_lines" align="right"><pre>1
|
1615
|
+
2
|
1616
|
+
3
|
1617
|
+
4
|
1618
|
+
5
|
1619
|
+
6
|
1620
|
+
7
|
1621
|
+
8
|
1622
|
+
9
|
1623
|
+
10</pre></td>
|
1624
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-call">g_dbus_proxy_call</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
1625
|
+
<span class="normal"> </span><span class="string">"TwoStrings"</span><span class="symbol">,</span>
|
1626
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(ss)"</span><span class="symbol">,</span>
|
1627
|
+
<span class="normal"> </span><span class="string">"Thing One"</span><span class="symbol">,</span>
|
1628
|
+
<span class="normal"> </span><span class="string">"Thing Two"</span><span class="symbol">),</span>
|
1629
|
+
<span class="normal"> <a href="GDBusConnection.html#G-DBUS-CALL-FLAGS-NONE:CAPS">G_DBUS_CALL_FLAGS_NONE</a></span><span class="symbol">,</span>
|
1630
|
+
<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span>
|
1631
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
1632
|
+
<span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GAsyncResult.html#GAsyncReadyCallback">GAsyncReadyCallback</a></span><span class="symbol">)</span><span class="normal"> two_strings_done</span><span class="symbol">,</span>
|
1633
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">data</span><span class="symbol">);</span></pre></td>
|
1634
|
+
</tr>
|
1635
|
+
</tbody>
|
1636
|
+
</table>
|
1637
|
+
</div>
|
1638
|
+
|
1639
|
+
<p>
|
1640
|
+
</p>
|
1641
|
+
<p>
|
1642
|
+
This is an asynchronous method. When the operation is finished,
|
1643
|
+
<em class="parameter"><code>callback</code></em> will be invoked in the
|
1644
|
+
<GTKDOCLINK HREF="g-main-context-push-thread-default">thread-default
|
1645
|
+
main loop</GTKDOCLINK> of the thread you are calling this method from.
|
1646
|
+
You can then call <a class="link" href="GDBusProxy.html#g-dbus-proxy-call-finish" title="g_dbus_proxy_call_finish ()"><code class="function">g_dbus_proxy_call_finish()</code></a> to get the result of
|
1647
|
+
the operation. See <a class="link" href="GDBusProxy.html#g-dbus-proxy-call-sync" title="g_dbus_proxy_call_sync ()"><code class="function">g_dbus_proxy_call_sync()</code></a> for the synchronous
|
1648
|
+
version of this method.
|
1649
|
+
</p>
|
1650
|
+
<div class="variablelist"><table border="0">
|
1651
|
+
<col align="left" valign="top">
|
1652
|
+
<tbody>
|
1653
|
+
<tr>
|
1654
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1655
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1656
|
+
</td>
|
1657
|
+
</tr>
|
1658
|
+
<tr>
|
1659
|
+
<td><p><span class="term"><em class="parameter"><code>method_name</code></em> :</span></p></td>
|
1660
|
+
<td>Name of method to invoke.
|
1661
|
+
</td>
|
1662
|
+
</tr>
|
1663
|
+
<tr>
|
1664
|
+
<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td>
|
1665
|
+
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the signal or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters.
|
1666
|
+
</td>
|
1667
|
+
</tr>
|
1668
|
+
<tr>
|
1669
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1670
|
+
<td>Flags from the <a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> enumeration.
|
1671
|
+
</td>
|
1672
|
+
</tr>
|
1673
|
+
<tr>
|
1674
|
+
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
|
1675
|
+
<td>The timeout in milliseconds or -1 to use the proxy default timeout.
|
1676
|
+
</td>
|
1677
|
+
</tr>
|
1678
|
+
<tr>
|
1679
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1680
|
+
<td>A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1681
|
+
</td>
|
1682
|
+
</tr>
|
1683
|
+
<tr>
|
1684
|
+
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
1685
|
+
<td>A <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you don't
|
1686
|
+
care about the result of the method invocation.
|
1687
|
+
</td>
|
1688
|
+
</tr>
|
1689
|
+
<tr>
|
1690
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1691
|
+
<td>The data to pass to <em class="parameter"><code>callback</code></em>.
|
1692
|
+
</td>
|
1693
|
+
</tr>
|
1694
|
+
</tbody>
|
1695
|
+
</table></div>
|
1696
|
+
<p class="since">Since 2.26</p>
|
1697
|
+
</div>
|
1698
|
+
<hr>
|
1699
|
+
<div class="refsect2">
|
1700
|
+
<a name="g-dbus-proxy-call-finish"></a><h3>g_dbus_proxy_call_finish ()</h3>
|
1701
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * g_dbus_proxy_call_finish (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1702
|
+
<em class="parameter"><code><a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> *res</code></em>,
|
1703
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1704
|
+
<p>
|
1705
|
+
Finishes an operation started with <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a>.
|
1706
|
+
</p>
|
1707
|
+
<div class="variablelist"><table border="0">
|
1708
|
+
<col align="left" valign="top">
|
1709
|
+
<tbody>
|
1710
|
+
<tr>
|
1711
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1712
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1713
|
+
</td>
|
1714
|
+
</tr>
|
1715
|
+
<tr>
|
1716
|
+
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
|
1717
|
+
<td>A <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a> obtained from the <a class="link" href="GAsyncResult.html#GAsyncReadyCallback" title="GAsyncReadyCallback ()"><span class="type">GAsyncReadyCallback</span></a> passed to <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a>.
|
1718
|
+
</td>
|
1719
|
+
</tr>
|
1720
|
+
<tr>
|
1721
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1722
|
+
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1723
|
+
</td>
|
1724
|
+
</tr>
|
1725
|
+
<tr>
|
1726
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1727
|
+
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. Otherwise a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
1728
|
+
return values. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.
|
1729
|
+
|
1730
|
+
</td>
|
1731
|
+
</tr>
|
1732
|
+
</tbody>
|
1733
|
+
</table></div>
|
1734
|
+
<p class="since">Since 2.26</p>
|
1735
|
+
</div>
|
1736
|
+
<hr>
|
1737
|
+
<div class="refsect2">
|
1738
|
+
<a name="g-dbus-proxy-call-sync"></a><h3>g_dbus_proxy_call_sync ()</h3>
|
1739
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * g_dbus_proxy_call_sync (<em class="parameter"><code><a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy</code></em>,
|
1740
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *method_name</code></em>,
|
1741
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters</code></em>,
|
1742
|
+
<em class="parameter"><code><a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> flags</code></em>,
|
1743
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_msec</code></em>,
|
1744
|
+
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1745
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1746
|
+
<p>
|
1747
|
+
Synchronously invokes the <em class="parameter"><code>method_name</code></em> method on <em class="parameter"><code>proxy</code></em>.
|
1748
|
+
</p>
|
1749
|
+
<p>
|
1750
|
+
If <em class="parameter"><code>method_name</code></em> contains any dots, then <em class="parameter"><code>name</code></em> is split into interface and
|
1751
|
+
method name parts. This allows using <em class="parameter"><code>proxy</code></em> for invoking methods on
|
1752
|
+
other interfaces.
|
1753
|
+
</p>
|
1754
|
+
<p>
|
1755
|
+
If the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> associated with <em class="parameter"><code>proxy</code></em> is disconnected then
|
1756
|
+
the operation will fail with <a class="link" href="gio-GIOError.html#G-IO-ERROR-CLOSED:CAPS"><code class="literal">G_IO_ERROR_CLOSED</code></a>. If
|
1757
|
+
<em class="parameter"><code>cancellable</code></em> is canceled, the operation will fail with
|
1758
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a>. If <em class="parameter"><code>parameters</code></em> contains a value not
|
1759
|
+
compatible with the D-Bus protocol, the operation fails with
|
1760
|
+
<a class="link" href="gio-GIOError.html#G-IO-ERROR-INVALID-ARGUMENT:CAPS"><code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code></a>.
|
1761
|
+
</p>
|
1762
|
+
<p>
|
1763
|
+
If the <em class="parameter"><code>parameters</code></em> <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> is floating, it is consumed. This allows
|
1764
|
+
convenient 'inline' use of <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new"><code class="function">g_variant_new()</code></a>, e.g.:
|
1765
|
+
</p>
|
1766
|
+
<div class="informalexample">
|
1767
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1768
|
+
<tbody>
|
1769
|
+
<tr>
|
1770
|
+
<td class="listing_lines" align="right"><pre>1
|
1771
|
+
2
|
1772
|
+
3
|
1773
|
+
4
|
1774
|
+
5
|
1775
|
+
6
|
1776
|
+
7
|
1777
|
+
8
|
1778
|
+
9</pre></td>
|
1779
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="GDBusProxy.html#g-dbus-proxy-call-sync">g_dbus_proxy_call_sync</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">proxy</span><span class="symbol">,</span>
|
1780
|
+
<span class="normal"> </span><span class="string">"TwoStrings"</span><span class="symbol">,</span>
|
1781
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-new">g_variant_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"(ss)"</span><span class="symbol">,</span>
|
1782
|
+
<span class="normal"> </span><span class="string">"Thing One"</span><span class="symbol">,</span>
|
1783
|
+
<span class="normal"> </span><span class="string">"Thing Two"</span><span class="symbol">),</span>
|
1784
|
+
<span class="normal"> <a href="GDBusConnection.html#G-DBUS-CALL-FLAGS-NONE:CAPS">G_DBUS_CALL_FLAGS_NONE</a></span><span class="symbol">,</span>
|
1785
|
+
<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span>
|
1786
|
+
<span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span>
|
1787
|
+
<span class="normal"> </span><span class="symbol">&</span><span class="normal">error</span><span class="symbol">);</span></pre></td>
|
1788
|
+
</tr>
|
1789
|
+
</tbody>
|
1790
|
+
</table>
|
1791
|
+
</div>
|
1792
|
+
|
1793
|
+
<p>
|
1794
|
+
</p>
|
1795
|
+
<p>
|
1796
|
+
The calling thread is blocked until a reply is received. See
|
1797
|
+
<a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a> for the asynchronous version of this
|
1798
|
+
method.
|
1799
|
+
</p>
|
1800
|
+
<div class="variablelist"><table border="0">
|
1801
|
+
<col align="left" valign="top">
|
1802
|
+
<tbody>
|
1803
|
+
<tr>
|
1804
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1805
|
+
<td>A <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a>.
|
1806
|
+
</td>
|
1807
|
+
</tr>
|
1808
|
+
<tr>
|
1809
|
+
<td><p><span class="term"><em class="parameter"><code>method_name</code></em> :</span></p></td>
|
1810
|
+
<td>Name of method to invoke.
|
1811
|
+
</td>
|
1812
|
+
</tr>
|
1813
|
+
<tr>
|
1814
|
+
<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td>
|
1815
|
+
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the signal or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not passing parameters.
|
1816
|
+
</td>
|
1817
|
+
</tr>
|
1818
|
+
<tr>
|
1819
|
+
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
|
1820
|
+
<td>Flags from the <a class="link" href="GDBusConnection.html#GDBusCallFlags" title="enum GDBusCallFlags"><span class="type">GDBusCallFlags</span></a> enumeration.
|
1821
|
+
</td>
|
1822
|
+
</tr>
|
1823
|
+
<tr>
|
1824
|
+
<td><p><span class="term"><em class="parameter"><code>timeout_msec</code></em> :</span></p></td>
|
1825
|
+
<td>The timeout in milliseconds or -1 to use the proxy default timeout.
|
1826
|
+
</td>
|
1827
|
+
</tr>
|
1828
|
+
<tr>
|
1829
|
+
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
1830
|
+
<td>A <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1831
|
+
</td>
|
1832
|
+
</tr>
|
1833
|
+
<tr>
|
1834
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
1835
|
+
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
1836
|
+
</td>
|
1837
|
+
</tr>
|
1838
|
+
<tr>
|
1839
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1840
|
+
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>error</code></em> is set. Otherwise a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with
|
1841
|
+
return values. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.
|
1842
|
+
|
1843
|
+
</td>
|
1844
|
+
</tr>
|
1845
|
+
</tbody>
|
1846
|
+
</table></div>
|
1847
|
+
<p class="since">Since 2.26</p>
|
1848
|
+
</div>
|
1849
|
+
</div>
|
1850
|
+
<div class="refsect1">
|
1851
|
+
<a name="GDBusProxy.property-details"></a><h2>Property Details</h2>
|
1852
|
+
<div class="refsect2">
|
1853
|
+
<a name="GDBusProxy--g-bus-type"></a><h3>The <code class="literal">"g-bus-type"</code> property</h3>
|
1854
|
+
<pre class="programlisting"> "g-bus-type" <a class="link" href="GDBusConnection.html#GBusType" title="enum GBusType"><span class="type">GBusType</span></a> : Write / Construct Only</pre>
|
1855
|
+
<p>
|
1856
|
+
If this property is not <a class="link" href="GDBusConnection.html#G-BUS-TYPE-NONE:CAPS"><code class="literal">G_BUS_TYPE_NONE</code></a>, then
|
1857
|
+
<a class="link" href="GDBusProxy.html#GDBusProxy--g-connection" title='The "g-connection" property'><span class="type">"g-connection"</span></a> must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and will be set to the
|
1858
|
+
<a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> obtained by calling <a class="link" href="GDBusConnection.html#g-bus-get" title="g_bus_get ()"><code class="function">g_bus_get()</code></a> with the value
|
1859
|
+
of this property.
|
1860
|
+
</p>
|
1861
|
+
<p>Default value: G_BUS_TYPE_NONE</p>
|
1862
|
+
<p class="since">Since 2.26</p>
|
1863
|
+
</div>
|
1864
|
+
<hr>
|
1865
|
+
<div class="refsect2">
|
1866
|
+
<a name="GDBusProxy--g-connection"></a><h3>The <code class="literal">"g-connection"</code> property</h3>
|
1867
|
+
<pre class="programlisting"> "g-connection" <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>* : Read / Write / Construct Only</pre>
|
1868
|
+
<p>
|
1869
|
+
The <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> the proxy is for.
|
1870
|
+
</p>
|
1871
|
+
<p class="since">Since 2.26</p>
|
1872
|
+
</div>
|
1873
|
+
<hr>
|
1874
|
+
<div class="refsect2">
|
1875
|
+
<a name="GDBusProxy--g-default-timeout"></a><h3>The <code class="literal">"g-default-timeout"</code> property</h3>
|
1876
|
+
<pre class="programlisting"> "g-default-timeout" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct</pre>
|
1877
|
+
<p>
|
1878
|
+
The timeout to use if -1 (specifying default timeout) is passed
|
1879
|
+
as <em class="parameter"><code>timeout_msec</code></em> in the <a class="link" href="GDBusProxy.html#g-dbus-proxy-call" title="g_dbus_proxy_call ()"><code class="function">g_dbus_proxy_call()</code></a> and
|
1880
|
+
<a class="link" href="GDBusProxy.html#g-dbus-proxy-call-sync" title="g_dbus_proxy_call_sync ()"><code class="function">g_dbus_proxy_call_sync()</code></a> functions.
|
1881
|
+
</p>
|
1882
|
+
<p>
|
1883
|
+
This allows applications to set a proxy-wide timeout for all
|
1884
|
+
remote method invocations on the proxy. If this property is -1,
|
1885
|
+
the default timeout (typically 25 seconds) is used. If set to
|
1886
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Limits-of-Basic-Types.html#G-MAXINT:CAPS"><code class="literal">G_MAXINT</code></a>, then no timeout is used.
|
1887
|
+
</p>
|
1888
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1889
|
+
<p>Default value: -1</p>
|
1890
|
+
<p class="since">Since 2.26</p>
|
1891
|
+
</div>
|
1892
|
+
<hr>
|
1893
|
+
<div class="refsect2">
|
1894
|
+
<a name="GDBusProxy--g-flags"></a><h3>The <code class="literal">"g-flags"</code> property</h3>
|
1895
|
+
<pre class="programlisting"> "g-flags" <a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> : Read / Write / Construct Only</pre>
|
1896
|
+
<p>
|
1897
|
+
Flags from the <a class="link" href="GDBusProxy.html#GDBusProxyFlags" title="enum GDBusProxyFlags"><span class="type">GDBusProxyFlags</span></a> enumeration.
|
1898
|
+
</p>
|
1899
|
+
<p class="since">Since 2.26</p>
|
1900
|
+
</div>
|
1901
|
+
<hr>
|
1902
|
+
<div class="refsect2">
|
1903
|
+
<a name="GDBusProxy--g-interface-info"></a><h3>The <code class="literal">"g-interface-info"</code> property</h3>
|
1904
|
+
<pre class="programlisting"> "g-interface-info" <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo" title="GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a>* : Read / Write</pre>
|
1905
|
+
<p>
|
1906
|
+
Ensure that interactions with this proxy conform to the given
|
1907
|
+
interface. For example, when completing a method call, if the
|
1908
|
+
type signature of the message isn't what's expected, the given
|
1909
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> is set. Signals that have a type signature mismatch are
|
1910
|
+
simply dropped.
|
1911
|
+
</p>
|
1912
|
+
<p class="since">Since 2.26</p>
|
1913
|
+
</div>
|
1914
|
+
<hr>
|
1915
|
+
<div class="refsect2">
|
1916
|
+
<a name="GDBusProxy--g-interface-name"></a><h3>The <code class="literal">"g-interface-name"</code> property</h3>
|
1917
|
+
<pre class="programlisting"> "g-interface-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
|
1918
|
+
<p>
|
1919
|
+
The D-Bus interface name the proxy is for.
|
1920
|
+
</p>
|
1921
|
+
<p>Default value: NULL</p>
|
1922
|
+
<p class="since">Since 2.26</p>
|
1923
|
+
</div>
|
1924
|
+
<hr>
|
1925
|
+
<div class="refsect2">
|
1926
|
+
<a name="GDBusProxy--g-name"></a><h3>The <code class="literal">"g-name"</code> property</h3>
|
1927
|
+
<pre class="programlisting"> "g-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
|
1928
|
+
<p>
|
1929
|
+
The well-known or unique name that the proxy is for.
|
1930
|
+
</p>
|
1931
|
+
<p>Default value: NULL</p>
|
1932
|
+
<p class="since">Since 2.26</p>
|
1933
|
+
</div>
|
1934
|
+
<hr>
|
1935
|
+
<div class="refsect2">
|
1936
|
+
<a name="GDBusProxy--g-name-owner"></a><h3>The <code class="literal">"g-name-owner"</code> property</h3>
|
1937
|
+
<pre class="programlisting"> "g-name-owner" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
|
1938
|
+
<p>
|
1939
|
+
The unique name that owns <span class="type">"name"</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no-one
|
1940
|
+
currently owns that name. You may connect to <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal to
|
1941
|
+
track changes to this property.
|
1942
|
+
</p>
|
1943
|
+
<p>Default value: NULL</p>
|
1944
|
+
<p class="since">Since 2.26</p>
|
1945
|
+
</div>
|
1946
|
+
<hr>
|
1947
|
+
<div class="refsect2">
|
1948
|
+
<a name="GDBusProxy--g-object-path"></a><h3>The <code class="literal">"g-object-path"</code> property</h3>
|
1949
|
+
<pre class="programlisting"> "g-object-path" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre>
|
1950
|
+
<p>
|
1951
|
+
The object path the proxy is for.
|
1952
|
+
</p>
|
1953
|
+
<p>Default value: NULL</p>
|
1954
|
+
<p class="since">Since 2.26</p>
|
1955
|
+
</div>
|
1956
|
+
</div>
|
1957
|
+
<div class="refsect1">
|
1958
|
+
<a name="GDBusProxy.signal-details"></a><h2>Signal Details</h2>
|
1959
|
+
<div class="refsect2">
|
1960
|
+
<a name="GDBusProxy-g-properties-changed"></a><h3>The <code class="literal">"g-properties-changed"</code> signal</h3>
|
1961
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy,
|
1962
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *changed_properties,
|
1963
|
+
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> invalidated_properties,
|
1964
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
1965
|
+
<p>
|
1966
|
+
Emitted when one or more D-Bus properties on <em class="parameter"><code>proxy</code></em> changes. The
|
1967
|
+
local cache has already been updated when this signal fires. Note
|
1968
|
+
that both <em class="parameter"><code>changed_properties</code></em> and <em class="parameter"><code>invalidated_properties</code></em> are
|
1969
|
+
guaranteed to never be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (either may be empty though).
|
1970
|
+
</p>
|
1971
|
+
<p>
|
1972
|
+
This signal corresponds to the
|
1973
|
+
<code class="literal">PropertiesChanged</code> D-Bus signal on the
|
1974
|
+
<code class="literal">org.freedesktop.DBus.Properties</code> interface.
|
1975
|
+
</p>
|
1976
|
+
<div class="variablelist"><table border="0">
|
1977
|
+
<col align="left" valign="top">
|
1978
|
+
<tbody>
|
1979
|
+
<tr>
|
1980
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
1981
|
+
<td>The <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> emitting the signal.
|
1982
|
+
</td>
|
1983
|
+
</tr>
|
1984
|
+
<tr>
|
1985
|
+
<td><p><span class="term"><em class="parameter"><code>changed_properties</code></em> :</span></p></td>
|
1986
|
+
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> containing the properties that changed
|
1987
|
+
</td>
|
1988
|
+
</tr>
|
1989
|
+
<tr>
|
1990
|
+
<td><p><span class="term"><em class="parameter"><code>invalidated_properties</code></em> :</span></p></td>
|
1991
|
+
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> terminated array of properties that was invalidated
|
1992
|
+
</td>
|
1993
|
+
</tr>
|
1994
|
+
<tr>
|
1995
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1996
|
+
<td>user data set when the signal handler was connected.</td>
|
1997
|
+
</tr>
|
1998
|
+
</tbody>
|
1999
|
+
</table></div>
|
2000
|
+
<p class="since">Since 2.26</p>
|
2001
|
+
</div>
|
2002
|
+
<hr>
|
2003
|
+
<div class="refsect2">
|
2004
|
+
<a name="GDBusProxy-g-signal"></a><h3>The <code class="literal">"g-signal"</code> signal</h3>
|
2005
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> *proxy,
|
2006
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sender_name,
|
2007
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name,
|
2008
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *parameters,
|
2009
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
2010
|
+
<p>
|
2011
|
+
Emitted when a signal from the remote object and interface that <em class="parameter"><code>proxy</code></em> is for, has been received.
|
2012
|
+
</p>
|
2013
|
+
<div class="variablelist"><table border="0">
|
2014
|
+
<col align="left" valign="top">
|
2015
|
+
<tbody>
|
2016
|
+
<tr>
|
2017
|
+
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
|
2018
|
+
<td>The <a class="link" href="GDBusProxy.html" title="GDBusProxy"><span class="type">GDBusProxy</span></a> emitting the signal.
|
2019
|
+
</td>
|
2020
|
+
</tr>
|
2021
|
+
<tr>
|
2022
|
+
<td><p><span class="term"><em class="parameter"><code>sender_name</code></em> :</span></p></td>
|
2023
|
+
<td>The sender of the signal or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the connection is not a bus connection.
|
2024
|
+
</td>
|
2025
|
+
</tr>
|
2026
|
+
<tr>
|
2027
|
+
<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td>
|
2028
|
+
<td>The name of the signal.
|
2029
|
+
</td>
|
2030
|
+
</tr>
|
2031
|
+
<tr>
|
2032
|
+
<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td>
|
2033
|
+
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> tuple with parameters for the signal.
|
2034
|
+
</td>
|
2035
|
+
</tr>
|
2036
|
+
<tr>
|
2037
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
2038
|
+
<td>user data set when the signal handler was connected.</td>
|
2039
|
+
</tr>
|
2040
|
+
</tbody>
|
2041
|
+
</table></div>
|
2042
|
+
<p class="since">Since 2.26</p>
|
2043
|
+
</div>
|
2044
|
+
</div>
|
2045
|
+
</div>
|
2046
|
+
<div class="footer">
|
2047
|
+
<hr>
|
2048
|
+
Generated by GTK-Doc V1.15.1</div>
|
2049
|
+
</body>
|
2050
|
+
</html>
|