glib2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/ext/glib2/extconf.rb +0 -1
- data/ext/glib2/rbglib-variant-type.c +5 -1
- data/ext/glib2/rbglib-variant.c +21 -7
- data/ext/glib2/rbglib.c +0 -38
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbglib_convert.c +3 -9
- data/ext/glib2/rbglib_matchinfo.c +4 -0
- data/ext/glib2/rbglib_regex.c +12 -1
- data/ext/glib2/rbgobj_object.c +112 -10
- data/ext/glib2/rbgobj_signal.c +12 -1
- data/ext/glib2/rbgobj_type.c +7 -1
- data/ext/glib2/rbgobject.c +0 -6
- data/ext/glib2/rbgprivate.h +0 -4
- data/ext/glib2/rbgutil.c +0 -2
- data/ext/glib2/rbgutil.h +1 -3
- data/lib/2.2/glib2.so +0 -0
- data/lib/2.3/glib2.so +0 -0
- data/lib/glib2.rb +7 -0
- data/lib/gnome2/rake/external-package.rb +119 -2
- data/lib/gnome2/rake/package-task.rb +63 -3
- data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
- data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
- data/lib/mkmf-gnome2.rb +11 -30
- data/test/test-binding.rb +157 -66
- data/test/test_glib2.rb +21 -6
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/gdbus.exe +0 -0
- data/vendor/local/bin/gio-querymodules.exe +0 -0
- data/vendor/local/bin/glib-compile-resources.exe +0 -0
- data/vendor/local/bin/glib-compile-schemas.exe +0 -0
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +1 -1
- data/vendor/local/bin/glib-mkenums +1 -1
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gresource.exe +0 -0
- data/vendor/local/bin/gsettings.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/idn.exe +0 -0
- data/vendor/local/bin/libasprintf-0.dll +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/bin/libnettle-6-2.dll +0 -0
- data/vendor/local/bin/libpcreposix-0.dll +0 -0
- data/vendor/local/bin/nettle-hash.exe +0 -0
- data/vendor/local/bin/p11-kit.exe +0 -0
- data/vendor/local/bin/pcregrep.exe +0 -0
- data/vendor/local/bin/pkcs1-conv.exe +0 -0
- data/vendor/local/bin/sexp-conv.exe +0 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
- data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/libasprintf.dll.a +0 -0
- data/vendor/local/lib/libcharset.dll.a +0 -0
- data/vendor/local/lib/libffi.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libgio-2.0.la +1 -1
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.la +1 -1
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.la +1 -1
- data/vendor/local/lib/libgmp.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.la +1 -1
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.la +1 -1
- data/vendor/local/lib/libhogweed.dll.a +0 -0
- data/vendor/local/lib/libiconv.dll.a +0 -0
- data/vendor/local/lib/libidn.dll.a +0 -0
- data/vendor/local/lib/libintl.dll.a +0 -0
- data/vendor/local/lib/libnettle.dll.a +0 -0
- data/vendor/local/lib/libp11-kit.dll.a +0 -0
- data/vendor/local/lib/libpcre.dll.a +0 -0
- data/vendor/local/lib/libpcrecpp.dll.a +0 -0
- data/vendor/local/lib/libpcreposix.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
- data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
- data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
- data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
- data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
- data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
- data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
- data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
- data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
- data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
- data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
- data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
- data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
- data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
- data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
- data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
- data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
- data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
- data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
- data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
- data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
- data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
- data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
- data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
- data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
- data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
- data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
- data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
- data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
- data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
- data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
- data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
- data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +15 -15
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
- data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/gapplication.1 +1 -1
- data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
- data/vendor/local/share/man/man1/gdbus.1 +1 -1
- data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
- data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
- data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
- data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
- data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
- data/vendor/local/share/man/man1/gobject-query.1 +1 -1
- data/vendor/local/share/man/man1/gresource.1 +1 -1
- data/vendor/local/share/man/man1/gsettings.1 +1 -1
- data/vendor/local/share/man/man1/gtester-report.1 +1 -1
- data/vendor/local/share/man/man1/gtester.1 +1 -1
- metadata +6 -8
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="types.html" title="File types and applications">
|
9
9
|
<link rel="prev" href="GAppInfo.html" title="GAppInfo">
|
10
10
|
<link rel="next" href="gio-Desktop-file-based-GAppInfo.html" title="GDesktopAppInfo">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -61,13 +61,13 @@
|
|
61
61
|
<tbody><tr>
|
62
62
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
63
63
|
<td class="signal_name"><a class="link" href="GAppInfoMonitor.html#GAppInfoMonitor-changed" title="The “changed” signal">changed</a></td>
|
64
|
-
<td class="signal_flags"><a href="../gobject
|
64
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
65
65
|
</tr></tbody>
|
66
66
|
</table></div>
|
67
67
|
</div>
|
68
68
|
<div class="refsect1">
|
69
69
|
<a name="GAppInfoMonitor.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
70
|
-
<pre class="screen"> <a href="../gobject
|
70
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
71
71
|
<span class="lineart">╰──</span> GAppInfoMonitor
|
72
72
|
</pre>
|
73
73
|
</div>
|
@@ -100,10 +100,10 @@ context.</p>
|
|
100
100
|
<p>The <a class="link" href="GAppInfoMonitor.html" title="GAppInfoMonitor"><span class="type">GAppInfoMonitor</span></a> will emit a "changed" signal in the
|
101
101
|
thread-default main context whenever the list of installed
|
102
102
|
applications (as reported by <a class="link" href="GAppInfo.html#g-app-info-get-all" title="g_app_info_get_all ()"><code class="function">g_app_info_get_all()</code></a>) may have changed.</p>
|
103
|
-
<p>You must only call <a href="../gobject
|
103
|
+
<p>You must only call <a href="../gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on the return value from under
|
104
104
|
the same main context as you created it.</p>
|
105
105
|
<div class="refsect3">
|
106
|
-
<a name="
|
106
|
+
<a name="g-app-info-monitor-get.returns"></a><h4>Returns</h4>
|
107
107
|
<p> a reference to a <a class="link" href="GAppInfoMonitor.html" title="GAppInfoMonitor"><span class="type">GAppInfoMonitor</span></a>. </p>
|
108
108
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
109
109
|
</div>
|
@@ -119,11 +119,11 @@ the same main context as you created it.</p>
|
|
119
119
|
<a name="GAppInfoMonitor-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
|
120
120
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
121
121
|
user_function (<a class="link" href="GAppInfoMonitor.html" title="GAppInfoMonitor"><span class="type">GAppInfoMonitor</span></a> *arg0,
|
122
|
-
<a href="../glib
|
122
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
123
123
|
<p>Signal emitted when the app info database for changes (ie: newly installed
|
124
124
|
or removed applications).</p>
|
125
125
|
<div class="refsect3">
|
126
|
-
<a name="
|
126
|
+
<a name="GAppInfoMonitor-changed.parameters"></a><h4>Parameters</h4>
|
127
127
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
128
128
|
<colgroup>
|
129
129
|
<col width="150px" class="parameters_name">
|
@@ -137,11 +137,11 @@ or removed applications).</p>
|
|
137
137
|
</tr></tbody>
|
138
138
|
</table></div>
|
139
139
|
</div>
|
140
|
-
<p>Flags: <a href="../gobject
|
140
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
141
141
|
</div>
|
142
142
|
</div>
|
143
143
|
</div>
|
144
144
|
<div class="footer">
|
145
|
-
<hr>Generated by GTK-Doc V1.
|
145
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
146
146
|
</body>
|
147
147
|
</html>
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="application.html" title="Application support">
|
9
9
|
<link rel="prev" href="application.html" title="Application support">
|
10
10
|
<link rel="next" href="GApplicationCommandLine.html" title="GApplicationCommandLine">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -45,7 +45,7 @@
|
|
45
45
|
<tbody>
|
46
46
|
<tr>
|
47
47
|
<td class="function_type">
|
48
|
-
<a href="../glib
|
48
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
49
49
|
</td>
|
50
50
|
<td class="function_name">
|
51
51
|
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()">g_application_id_is_valid</a> <span class="c_punctuation">()</span>
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</td>
|
61
61
|
</tr>
|
62
62
|
<tr>
|
63
|
-
<td class="function_type">const <a href="../glib
|
63
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
64
64
|
</td>
|
65
65
|
<td class="function_name">
|
66
66
|
<a class="link" href="GApplication.html#g-application-get-application-id" title="g_application_get_application_id ()">g_application_get_application_id</a> <span class="c_punctuation">()</span>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<a href="../glib
|
79
|
+
<a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
82
|
<a class="link" href="GApplication.html#g-application-get-inactivity-timeout" title="g_application_get_inactivity_timeout ()">g_application_get_inactivity_timeout</a> <span class="c_punctuation">()</span>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</td>
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
|
-
<td class="function_type">const <a href="../glib
|
110
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="GApplication.html#g-application-get-resource-base-path" title="g_application_get_resource_base_path ()">g_application_get_resource_base_path</a> <span class="c_punctuation">()</span>
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</td>
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
|
-
<td class="function_type">const <a href="../glib
|
133
|
+
<td class="function_type">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
134
134
|
</td>
|
135
135
|
<td class="function_name">
|
136
136
|
<a class="link" href="GApplication.html#g-application-get-dbus-object-path" title="g_application_get_dbus_object_path ()">g_application_get_dbus_object_path</a> <span class="c_punctuation">()</span>
|
@@ -146,7 +146,7 @@
|
|
146
146
|
</tr>
|
147
147
|
<tr>
|
148
148
|
<td class="function_type">
|
149
|
-
<a href="../glib
|
149
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
150
150
|
</td>
|
151
151
|
<td class="function_name">
|
152
152
|
<a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()">g_application_get_is_registered</a> <span class="c_punctuation">()</span>
|
@@ -154,7 +154,7 @@
|
|
154
154
|
</tr>
|
155
155
|
<tr>
|
156
156
|
<td class="function_type">
|
157
|
-
<a href="../glib
|
157
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
158
158
|
</td>
|
159
159
|
<td class="function_name">
|
160
160
|
<a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()">g_application_get_is_remote</a> <span class="c_punctuation">()</span>
|
@@ -162,7 +162,7 @@
|
|
162
162
|
</tr>
|
163
163
|
<tr>
|
164
164
|
<td class="function_type">
|
165
|
-
<a href="../glib
|
165
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
166
166
|
</td>
|
167
167
|
<td class="function_name">
|
168
168
|
<a class="link" href="GApplication.html#g-application-register" title="g_application_register ()">g_application_register</a> <span class="c_punctuation">()</span>
|
@@ -290,7 +290,7 @@
|
|
290
290
|
</tr>
|
291
291
|
<tr>
|
292
292
|
<td class="function_type">
|
293
|
-
<a href="../glib
|
293
|
+
<a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
294
294
|
</td>
|
295
295
|
<td class="function_name">
|
296
296
|
<a class="link" href="GApplication.html#g-application-get-is-busy" title="g_application_get_is_busy ()">g_application_get_is_busy</a> <span class="c_punctuation">()</span>
|
@@ -332,7 +332,7 @@
|
|
332
332
|
</tr>
|
333
333
|
<tr>
|
334
334
|
<td class="property_type">
|
335
|
-
<a href="../glib
|
335
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
336
336
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--application-id" title="The “application-id” property">application-id</a></td>
|
337
337
|
<td class="property_flags">Read / Write / Construct</td>
|
338
338
|
</tr>
|
@@ -342,28 +342,28 @@
|
|
342
342
|
<td class="property_flags">Read / Write</td>
|
343
343
|
</tr>
|
344
344
|
<tr>
|
345
|
-
<td class="property_type"><a href="../glib
|
345
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
346
346
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--inactivity-timeout" title="The “inactivity-timeout” property">inactivity-timeout</a></td>
|
347
347
|
<td class="property_flags">Read / Write</td>
|
348
348
|
</tr>
|
349
349
|
<tr>
|
350
|
-
<td class="property_type"><a href="../glib
|
350
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
351
351
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--is-busy" title="The “is-busy” property">is-busy</a></td>
|
352
352
|
<td class="property_flags">Read</td>
|
353
353
|
</tr>
|
354
354
|
<tr>
|
355
|
-
<td class="property_type"><a href="../glib
|
355
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
356
356
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--is-registered" title="The “is-registered” property">is-registered</a></td>
|
357
357
|
<td class="property_flags">Read</td>
|
358
358
|
</tr>
|
359
359
|
<tr>
|
360
|
-
<td class="property_type"><a href="../glib
|
360
|
+
<td class="property_type"><a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
361
361
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--is-remote" title="The “is-remote” property">is-remote</a></td>
|
362
362
|
<td class="property_flags">Read</td>
|
363
363
|
</tr>
|
364
364
|
<tr>
|
365
365
|
<td class="property_type">
|
366
|
-
<a href="../glib
|
366
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
367
367
|
<td class="property_name"><a class="link" href="GApplication.html#GApplication--resource-base-path" title="The “resource-base-path” property">resource-base-path</a></td>
|
368
368
|
<td class="property_flags">Read / Write</td>
|
369
369
|
</tr>
|
@@ -382,32 +382,32 @@
|
|
382
382
|
<tr>
|
383
383
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
384
384
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-activate" title="The “activate” signal">activate</a></td>
|
385
|
-
<td class="signal_flags"><a href="../gobject
|
385
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
386
386
|
</tr>
|
387
387
|
<tr>
|
388
|
-
<td class="signal_type"><a href="../glib
|
388
|
+
<td class="signal_type"><a href="../glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a></td>
|
389
389
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-command-line" title="The “command-line” signal">command-line</a></td>
|
390
|
-
<td class="signal_flags"><a href="../gobject
|
390
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
391
391
|
</tr>
|
392
392
|
<tr>
|
393
|
-
<td class="signal_type"><a href="../glib
|
393
|
+
<td class="signal_type"><a href="../glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a></td>
|
394
394
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal">handle-local-options</a></td>
|
395
|
-
<td class="signal_flags"><a href="../gobject
|
395
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
396
396
|
</tr>
|
397
397
|
<tr>
|
398
398
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
399
399
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-open" title="The “open” signal">open</a></td>
|
400
|
-
<td class="signal_flags"><a href="../gobject
|
400
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
401
401
|
</tr>
|
402
402
|
<tr>
|
403
403
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
404
404
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-shutdown" title="The “shutdown” signal">shutdown</a></td>
|
405
|
-
<td class="signal_flags"><a href="../gobject
|
405
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
406
406
|
</tr>
|
407
407
|
<tr>
|
408
408
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
409
409
|
<td class="signal_name"><a class="link" href="GApplication.html#GApplication-startup" title="The “startup” signal">startup</a></td>
|
410
|
-
<td class="signal_flags"><a href="../gobject
|
410
|
+
<td class="signal_flags"><a href="../gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
411
411
|
</tr>
|
412
412
|
</tbody>
|
413
413
|
</table></div>
|
@@ -437,7 +437,7 @@
|
|
437
437
|
</div>
|
438
438
|
<div class="refsect1">
|
439
439
|
<a name="GApplication.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
440
|
-
<pre class="screen"> <a href="../gobject
|
440
|
+
<pre class="screen"> <a href="../gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
441
441
|
<span class="lineart">╰──</span> GApplication
|
442
442
|
</pre>
|
443
443
|
</div>
|
@@ -457,13 +457,13 @@ GApplication implements
|
|
457
457
|
<p>A <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is the foundation of an application. It wraps some
|
458
458
|
low-level platform-specific services and is intended to act as the
|
459
459
|
foundation for higher-level application classes such as
|
460
|
-
<
|
460
|
+
<span class="type">GtkApplication</span> or <span class="type">MxApplication</span>. In general, you should not use
|
461
461
|
this class outside of a higher level framework.</p>
|
462
462
|
<p>GApplication provides convenient life cycle management by maintaining
|
463
463
|
a "use count" for the primary application instance. The use count can
|
464
464
|
be changed using <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a> and <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a>. If
|
465
465
|
it drops to zero, the application exits. Higher-level classes such as
|
466
|
-
<
|
466
|
+
<span class="type">GtkApplication</span> employ the use count to ensure that the application
|
467
467
|
stays alive as long as it has any opened windows.</p>
|
468
468
|
<p>Another feature that GApplication (optionally) provides is process
|
469
469
|
uniqueness. Applications can make use of this functionality by
|
@@ -512,7 +512,7 @@ interfaces and lets you easily export actions by adding them with
|
|
512
512
|
invoked in the primary instance. The actions are also exported on
|
513
513
|
the session bus, and GIO provides the <a class="link" href="GDBusActionGroup.html" title="GDBusActionGroup"><span class="type">GDBusActionGroup</span></a> wrapper to
|
514
514
|
conveniently access them remotely. GIO provides a <a class="link" href="GDBusMenuModel.html" title="GDBusMenuModel"><span class="type">GDBusMenuModel</span></a> wrapper
|
515
|
-
for remote access to exported <a href="GMenuModel.html"><span class="type">GMenuModels</span></a>.</p>
|
515
|
+
for remote access to exported <a href="GMenuModel.html#GMenuModel-struct"><span class="type">GMenuModels</span></a>.</p>
|
516
516
|
<p>There is a number of different entry points into a GApplication:</p>
|
517
517
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
518
518
|
<li class="listitem"><p>via 'Activate' (i.e. just starting the application)</p></li>
|
@@ -525,7 +525,7 @@ initialization for all of these in a single place.</p>
|
|
525
525
|
<p>Regardless of which of these entry points is used to start the
|
526
526
|
application, GApplication passes some "platform data from the
|
527
527
|
launching instance to the primary instance, in the form of a
|
528
|
-
<a href="../glib
|
528
|
+
<a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> dictionary mapping strings to variants. To use platform
|
529
529
|
data, override the <em class="parameter"><code>before_emit</code></em>
|
530
530
|
or <em class="parameter"><code>after_emit</code></em>
|
531
531
|
virtual functions
|
@@ -542,7 +542,7 @@ The environment is only added to the platform data if the
|
|
542
542
|
<a class="link" href="GApplication.html#G-APPLICATION-SEND-ENVIRONMENT:CAPS"><code class="literal">G_APPLICATION_SEND_ENVIRONMENT</code></a> flag is set. <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> subclasses
|
543
543
|
can add their own platform data by overriding the <em class="parameter"><code>add_platform_data</code></em>
|
544
544
|
|
545
|
-
virtual function. For instance, <
|
545
|
+
virtual function. For instance, <span class="type">GtkApplication</span> adds startup notification
|
546
546
|
data in this way.</p>
|
547
547
|
<p>To parse commandline arguments you may handle the
|
548
548
|
<a class="link" href="GApplication.html#GApplication-command-line" title="The “command-line” signal"><span class="type">“command-line”</span></a> signal or override the <code class="function">local_command_line()</code>
|
@@ -559,8 +559,8 @@ respectively.</p>
|
|
559
559
|
<a name="GApplication.functions_details"></a><h2>Functions</h2>
|
560
560
|
<div class="refsect2">
|
561
561
|
<a name="g-application-id-is-valid"></a><h3>g_application_id_is_valid ()</h3>
|
562
|
-
<pre class="programlisting"><a href="../glib
|
563
|
-
g_application_id_is_valid (<em class="parameter"><code>const <a href="../glib
|
562
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
563
|
+
g_application_id_is_valid (<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);</pre>
|
564
564
|
<p>Checks if <em class="parameter"><code>application_id</code></em>
|
565
565
|
is a valid application identifier.</p>
|
566
566
|
<p>A valid ID is required for calls to <a class="link" href="GApplication.html#g-application-new" title="g_application_new ()"><code class="function">g_application_new()</code></a> and
|
@@ -579,7 +579,7 @@ characters.</p></li>
|
|
579
579
|
<li class="listitem"><p>Application identifiers must not exceed 255 characters.</p></li>
|
580
580
|
</ul></div>
|
581
581
|
<div class="refsect3">
|
582
|
-
<a name="id-
|
582
|
+
<a name="g-application-id-is-valid.parameters"></a><h4>Parameters</h4>
|
583
583
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
584
584
|
<colgroup>
|
585
585
|
<col width="150px" class="parameters_name">
|
@@ -594,8 +594,8 @@ characters.</p></li>
|
|
594
594
|
</table></div>
|
595
595
|
</div>
|
596
596
|
<div class="refsect3">
|
597
|
-
<a name="id-
|
598
|
-
<p> <a href="../glib
|
597
|
+
<a name="g-application-id-is-valid.returns"></a><h4>Returns</h4>
|
598
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application_id</code></em>
|
599
599
|
is valid</p>
|
600
600
|
</div>
|
601
601
|
</div>
|
@@ -603,15 +603,15 @@ is valid</p>
|
|
603
603
|
<div class="refsect2">
|
604
604
|
<a name="g-application-new"></a><h3>g_application_new ()</h3>
|
605
605
|
<pre class="programlisting"><a class="link" href="GApplication.html" title="GApplication"><span class="returnvalue">GApplication</span></a> *
|
606
|
-
g_application_new (<em class="parameter"><code>const <a href="../glib
|
606
|
+
g_application_new (<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>,
|
607
607
|
<em class="parameter"><code><a class="link" href="GApplication.html#GApplicationFlags" title="enum GApplicationFlags"><span class="type">GApplicationFlags</span></a> flags</code></em>);</pre>
|
608
608
|
<p>Creates a new <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> instance.</p>
|
609
|
-
<p>If non-<a href="../glib
|
609
|
+
<p>If non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the application id must be valid. See
|
610
610
|
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.</p>
|
611
611
|
<p>If no application ID is given then some features of <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>
|
612
612
|
(most notably application uniqueness) will be disabled.</p>
|
613
613
|
<div class="refsect3">
|
614
|
-
<a name="
|
614
|
+
<a name="g-application-new.parameters"></a><h4>Parameters</h4>
|
615
615
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
616
616
|
<colgroup>
|
617
617
|
<col width="150px" class="parameters_name">
|
@@ -633,19 +633,19 @@ g_application_new (<em class="parameter"><code>const <a href="../glib/glib-Basic
|
|
633
633
|
</table></div>
|
634
634
|
</div>
|
635
635
|
<div class="refsect3">
|
636
|
-
<a name="
|
636
|
+
<a name="g-application-new.returns"></a><h4>Returns</h4>
|
637
637
|
<p> a new <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> instance</p>
|
638
638
|
</div>
|
639
639
|
</div>
|
640
640
|
<hr>
|
641
641
|
<div class="refsect2">
|
642
642
|
<a name="g-application-get-application-id"></a><h3>g_application_get_application_id ()</h3>
|
643
|
-
<pre class="programlisting">const <a href="../glib
|
643
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
644
644
|
g_application_get_application_id (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
645
645
|
<p>Gets the unique identifier for <em class="parameter"><code>application</code></em>
|
646
646
|
.</p>
|
647
647
|
<div class="refsect3">
|
648
|
-
<a name="id
|
648
|
+
<a name="g-application-get-application-id.parameters"></a><h4>Parameters</h4>
|
649
649
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
650
650
|
<colgroup>
|
651
651
|
<col width="150px" class="parameters_name">
|
@@ -660,7 +660,7 @@ g_application_get_application_id (<em class="parameter"><code><a class="link" hr
|
|
660
660
|
</table></div>
|
661
661
|
</div>
|
662
662
|
<div class="refsect3">
|
663
|
-
<a name="id
|
663
|
+
<a name="g-application-get-application-id.returns"></a><h4>Returns</h4>
|
664
664
|
<p> the identifier for <em class="parameter"><code>application</code></em>
|
665
665
|
, owned by <em class="parameter"><code>application</code></em>
|
666
666
|
</p>
|
@@ -672,16 +672,16 @@ g_application_get_application_id (<em class="parameter"><code><a class="link" hr
|
|
672
672
|
<a name="g-application-set-application-id"></a><h3>g_application_set_application_id ()</h3>
|
673
673
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
674
674
|
g_application_set_application_id (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
675
|
-
<em class="parameter"><code>const <a href="../glib
|
675
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *application_id</code></em>);</pre>
|
676
676
|
<p>Sets the unique identifier for <em class="parameter"><code>application</code></em>
|
677
677
|
.</p>
|
678
678
|
<p>The application id can only be modified if <em class="parameter"><code>application</code></em>
|
679
679
|
has not yet
|
680
680
|
been registered.</p>
|
681
|
-
<p>If non-<a href="../glib
|
681
|
+
<p>If non-<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the application id must be valid. See
|
682
682
|
<a class="link" href="GApplication.html#g-application-id-is-valid" title="g_application_id_is_valid ()"><code class="function">g_application_id_is_valid()</code></a>.</p>
|
683
683
|
<div class="refsect3">
|
684
|
-
<a name="id
|
684
|
+
<a name="g-application-set-application-id.parameters"></a><h4>Parameters</h4>
|
685
685
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
686
686
|
<colgroup>
|
687
687
|
<col width="150px" class="parameters_name">
|
@@ -708,13 +708,13 @@ been registered.</p>
|
|
708
708
|
<hr>
|
709
709
|
<div class="refsect2">
|
710
710
|
<a name="g-application-get-inactivity-timeout"></a><h3>g_application_get_inactivity_timeout ()</h3>
|
711
|
-
<pre class="programlisting"><a href="../glib
|
711
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
712
712
|
g_application_get_inactivity_timeout (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
713
713
|
<p>Gets the current inactivity timeout for the application.</p>
|
714
714
|
<p>This is the amount of time (in milliseconds) after the last call to
|
715
715
|
<a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a> before the application stops running.</p>
|
716
716
|
<div class="refsect3">
|
717
|
-
<a name="
|
717
|
+
<a name="g-application-get-inactivity-timeout.parameters"></a><h4>Parameters</h4>
|
718
718
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
719
719
|
<colgroup>
|
720
720
|
<col width="150px" class="parameters_name">
|
@@ -729,7 +729,7 @@ g_application_get_inactivity_timeout (<em class="parameter"><code><a class="link
|
|
729
729
|
</table></div>
|
730
730
|
</div>
|
731
731
|
<div class="refsect3">
|
732
|
-
<a name="
|
732
|
+
<a name="g-application-get-inactivity-timeout.returns"></a><h4>Returns</h4>
|
733
733
|
<p> the timeout, in milliseconds</p>
|
734
734
|
</div>
|
735
735
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
@@ -739,7 +739,7 @@ g_application_get_inactivity_timeout (<em class="parameter"><code><a class="link
|
|
739
739
|
<a name="g-application-set-inactivity-timeout"></a><h3>g_application_set_inactivity_timeout ()</h3>
|
740
740
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
741
741
|
g_application_set_inactivity_timeout (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
742
|
-
<em class="parameter"><code><a href="../glib
|
742
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a> inactivity_timeout</code></em>);</pre>
|
743
743
|
<p>Sets the current inactivity timeout for the application.</p>
|
744
744
|
<p>This is the amount of time (in milliseconds) after the last call to
|
745
745
|
<a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a> before the application stops running.</p>
|
@@ -747,7 +747,7 @@ g_application_set_inactivity_timeout (<em class="parameter"><code><a class="link
|
|
747
747
|
used for next time <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a> drops the use count to
|
748
748
|
zero. Any timeouts currently in progress are not impacted.</p>
|
749
749
|
<div class="refsect3">
|
750
|
-
<a name="
|
750
|
+
<a name="g-application-set-inactivity-timeout.parameters"></a><h4>Parameters</h4>
|
751
751
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
752
752
|
<colgroup>
|
753
753
|
<col width="150px" class="parameters_name">
|
@@ -779,7 +779,7 @@ g_application_get_flags (<em class="parameter"><code><a class="link" href="GAppl
|
|
779
779
|
.</p>
|
780
780
|
<p>See <a class="link" href="GApplication.html#GApplicationFlags" title="enum GApplicationFlags"><span class="type">GApplicationFlags</span></a>.</p>
|
781
781
|
<div class="refsect3">
|
782
|
-
<a name="
|
782
|
+
<a name="g-application-get-flags.parameters"></a><h4>Parameters</h4>
|
783
783
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
784
784
|
<colgroup>
|
785
785
|
<col width="150px" class="parameters_name">
|
@@ -794,7 +794,7 @@ g_application_get_flags (<em class="parameter"><code><a class="link" href="GAppl
|
|
794
794
|
</table></div>
|
795
795
|
</div>
|
796
796
|
<div class="refsect3">
|
797
|
-
<a name="
|
797
|
+
<a name="g-application-get-flags.returns"></a><h4>Returns</h4>
|
798
798
|
<p> the flags for <em class="parameter"><code>application</code></em>
|
799
799
|
</p>
|
800
800
|
</div>
|
@@ -813,7 +813,7 @@ g_application_set_flags (<em class="parameter"><code><a class="link" href="GAppl
|
|
813
813
|
registered.</p>
|
814
814
|
<p>See <a class="link" href="GApplication.html#GApplicationFlags" title="enum GApplicationFlags"><span class="type">GApplicationFlags</span></a>.</p>
|
815
815
|
<div class="refsect3">
|
816
|
-
<a name="
|
816
|
+
<a name="g-application-set-flags.parameters"></a><h4>Parameters</h4>
|
817
817
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
818
818
|
<colgroup>
|
819
819
|
<col width="150px" class="parameters_name">
|
@@ -840,13 +840,13 @@ registered.</p>
|
|
840
840
|
<hr>
|
841
841
|
<div class="refsect2">
|
842
842
|
<a name="g-application-get-resource-base-path"></a><h3>g_application_get_resource_base_path ()</h3>
|
843
|
-
<pre class="programlisting">const <a href="../glib
|
843
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
844
844
|
g_application_get_resource_base_path (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
845
845
|
<p>Gets the resource base path of <em class="parameter"><code>application</code></em>
|
846
846
|
.</p>
|
847
847
|
<p>See <a class="link" href="GApplication.html#g-application-set-resource-base-path" title="g_application_set_resource_base_path ()"><code class="function">g_application_set_resource_base_path()</code></a> for more information.</p>
|
848
848
|
<div class="refsect3">
|
849
|
-
<a name="
|
849
|
+
<a name="g-application-get-resource-base-path.parameters"></a><h4>Parameters</h4>
|
850
850
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
851
851
|
<colgroup>
|
852
852
|
<col width="150px" class="parameters_name">
|
@@ -861,7 +861,7 @@ g_application_get_resource_base_path (<em class="parameter"><code><a class="link
|
|
861
861
|
</table></div>
|
862
862
|
</div>
|
863
863
|
<div class="refsect3">
|
864
|
-
<a name="
|
864
|
+
<a name="g-application-get-resource-base-path.returns"></a><h4>Returns</h4>
|
865
865
|
<p> the base resource path, if one is set. </p>
|
866
866
|
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
867
867
|
</div>
|
@@ -872,7 +872,7 @@ g_application_get_resource_base_path (<em class="parameter"><code><a class="link
|
|
872
872
|
<a name="g-application-set-resource-base-path"></a><h3>g_application_set_resource_base_path ()</h3>
|
873
873
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
874
874
|
g_application_set_resource_base_path (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
875
|
-
<em class="parameter"><code>const <a href="../glib
|
875
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *resource_path</code></em>);</pre>
|
876
876
|
<p>Sets (or unsets) the base resource path of <em class="parameter"><code>application</code></em>
|
877
877
|
.</p>
|
878
878
|
<p>The path is used to automatically load various <GTKDOCLINK HREF="gresource">application
|
@@ -886,13 +886,13 @@ the application ID after that point will not have an impact on the
|
|
886
886
|
resource base path.</p>
|
887
887
|
<p>As an example, if the application has an ID of "org.example.app" then
|
888
888
|
the default resource base path will be "/org/example/app". If this
|
889
|
-
is a <
|
889
|
+
is a <span class="type">GtkApplication</span> (and you have not manually changed the path)
|
890
890
|
then Gtk will then search for the menus of the application at
|
891
891
|
"/org/example/app/gtk/menus.ui".</p>
|
892
892
|
<p>See <a class="link" href="GResource.html" title="GResource"><span class="type">GResource</span></a> for more information about adding resources to your
|
893
893
|
application.</p>
|
894
894
|
<p>You can disable automatic resource loading functionality by setting
|
895
|
-
the path to <a href="../glib
|
895
|
+
the path to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
896
896
|
<p>Changing the resource base path once the application is running is
|
897
897
|
not recommended. The point at which the resource path is consulted
|
898
898
|
for forming paths for various purposes is unspecified. When writing
|
@@ -902,7 +902,7 @@ this function during the instance initialization. Alternatively, you
|
|
902
902
|
can call this function in the <a class="link" href="GApplication.html#GApplicationClass.startup"><span class="type">GApplicationClass.startup</span></a> virtual function,
|
903
903
|
before chaining up to the parent implementation.</p>
|
904
904
|
<div class="refsect3">
|
905
|
-
<a name="
|
905
|
+
<a name="g-application-set-resource-base-path.parameters"></a><h4>Parameters</h4>
|
906
906
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
907
907
|
<colgroup>
|
908
908
|
<col width="150px" class="parameters_name">
|
@@ -930,18 +930,18 @@ before chaining up to the parent implementation.</p>
|
|
930
930
|
<a name="g-application-get-dbus-connection"></a><h3>g_application_get_dbus_connection ()</h3>
|
931
931
|
<pre class="programlisting"><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="returnvalue">GDBusConnection</span></a> *
|
932
932
|
g_application_get_dbus_connection (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
933
|
-
<p>Gets the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> being used by the application, or <a href="../glib
|
933
|
+
<p>Gets the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> being used by the application, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
934
934
|
<p>If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using its D-Bus backend then this function will
|
935
935
|
return the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> being used for uniqueness and
|
936
936
|
communication with the desktop environment and other instances of the
|
937
937
|
application.</p>
|
938
938
|
<p>If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is not using D-Bus then this function will return
|
939
|
-
<a href="../glib
|
939
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This includes the situation where the D-Bus backend would
|
940
940
|
normally be in use but we were unable to connect to the bus.</p>
|
941
941
|
<p>This function must not be called before the application has been
|
942
942
|
registered. See <a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.</p>
|
943
943
|
<div class="refsect3">
|
944
|
-
<a name="
|
944
|
+
<a name="g-application-get-dbus-connection.parameters"></a><h4>Parameters</h4>
|
945
945
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
946
946
|
<colgroup>
|
947
947
|
<col width="150px" class="parameters_name">
|
@@ -956,8 +956,8 @@ registered. See <a class="link" href="GApplication.html#g-application-get-is-re
|
|
956
956
|
</table></div>
|
957
957
|
</div>
|
958
958
|
<div class="refsect3">
|
959
|
-
<a name="
|
960
|
-
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>, or <a href="../glib
|
959
|
+
<a name="g-application-get-dbus-connection.returns"></a><h4>Returns</h4>
|
960
|
+
<p> a <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
961
961
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
962
962
|
</div>
|
963
963
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
@@ -965,21 +965,21 @@ registered. See <a class="link" href="GApplication.html#g-application-get-is-re
|
|
965
965
|
<hr>
|
966
966
|
<div class="refsect2">
|
967
967
|
<a name="g-application-get-dbus-object-path"></a><h3>g_application_get_dbus_object_path ()</h3>
|
968
|
-
<pre class="programlisting">const <a href="../glib
|
968
|
+
<pre class="programlisting">const <a href="../glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
969
969
|
g_application_get_dbus_object_path (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
970
|
-
<p>Gets the D-Bus object path being used by the application, or <a href="../glib
|
970
|
+
<p>Gets the D-Bus object path being used by the application, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
971
971
|
<p>If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using its D-Bus backend then this function will
|
972
972
|
return the D-Bus object path that <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is using. If the
|
973
973
|
application is the primary instance then there is an object published
|
974
974
|
at this path. If the application is not the primary instance then
|
975
975
|
the result of this function is undefined.</p>
|
976
976
|
<p>If <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> is not using D-Bus then this function will return
|
977
|
-
<a href="../glib
|
977
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This includes the situation where the D-Bus backend would
|
978
978
|
normally be in use but we were unable to connect to the bus.</p>
|
979
979
|
<p>This function must not be called before the application has been
|
980
980
|
registered. See <a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.</p>
|
981
981
|
<div class="refsect3">
|
982
|
-
<a name="
|
982
|
+
<a name="g-application-get-dbus-object-path.parameters"></a><h4>Parameters</h4>
|
983
983
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
984
984
|
<colgroup>
|
985
985
|
<col width="150px" class="parameters_name">
|
@@ -994,8 +994,8 @@ registered. See <a class="link" href="GApplication.html#g-application-get-is-re
|
|
994
994
|
</table></div>
|
995
995
|
</div>
|
996
996
|
<div class="refsect3">
|
997
|
-
<a name="
|
998
|
-
<p> the object path, or <a href="../glib
|
997
|
+
<a name="g-application-get-dbus-object-path.returns"></a><h4>Returns</h4>
|
998
|
+
<p> the object path, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
|
999
999
|
</div>
|
1000
1000
|
<p class="since">Since: <a class="link" href="api-index-2-34.html#api-index-2.34">2.34</a></p>
|
1001
1001
|
</div>
|
@@ -1017,7 +1017,7 @@ action group), so you should really use <a class="link" href="GActionMap.html" t
|
|
1017
1017
|
<p>This used to be how actions were associated with a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.
|
1018
1018
|
Now there is <a class="link" href="GActionMap.html" title="GActionMap"><span class="type">GActionMap</span></a> for that.</p>
|
1019
1019
|
<div class="refsect3">
|
1020
|
-
<a name="
|
1020
|
+
<a name="g-application-set-action-group.parameters"></a><h4>Parameters</h4>
|
1021
1021
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1022
1022
|
<colgroup>
|
1023
1023
|
<col width="150px" class="parameters_name">
|
@@ -1032,7 +1032,7 @@ Now there is <a class="link" href="GActionMap.html" title="GActionMap"><span cla
|
|
1032
1032
|
</tr>
|
1033
1033
|
<tr>
|
1034
1034
|
<td class="parameter_name"><p>action_group</p></td>
|
1035
|
-
<td class="parameter_description"><p> a <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a>, or <a href="../glib
|
1035
|
+
<td class="parameter_description"><p> a <a class="link" href="GActionGroup.html" title="GActionGroup"><span class="type">GActionGroup</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1036
1036
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1037
1037
|
</tr>
|
1038
1038
|
</tbody>
|
@@ -1043,14 +1043,14 @@ Now there is <a class="link" href="GActionMap.html" title="GActionMap"><span cla
|
|
1043
1043
|
<hr>
|
1044
1044
|
<div class="refsect2">
|
1045
1045
|
<a name="g-application-get-is-registered"></a><h3>g_application_get_is_registered ()</h3>
|
1046
|
-
<pre class="programlisting"><a href="../glib
|
1046
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1047
1047
|
g_application_get_is_registered (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1048
1048
|
<p>Checks if <em class="parameter"><code>application</code></em>
|
1049
1049
|
is registered.</p>
|
1050
1050
|
<p>An application is registered if <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a> has been
|
1051
1051
|
successfully called.</p>
|
1052
1052
|
<div class="refsect3">
|
1053
|
-
<a name="
|
1053
|
+
<a name="g-application-get-is-registered.parameters"></a><h4>Parameters</h4>
|
1054
1054
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1055
1055
|
<colgroup>
|
1056
1056
|
<col width="150px" class="parameters_name">
|
@@ -1065,8 +1065,8 @@ successfully called.</p>
|
|
1065
1065
|
</table></div>
|
1066
1066
|
</div>
|
1067
1067
|
<div class="refsect3">
|
1068
|
-
<a name="
|
1069
|
-
<p> <a href="../glib
|
1068
|
+
<a name="g-application-get-is-registered.returns"></a><h4>Returns</h4>
|
1069
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application</code></em>
|
1070
1070
|
is registered</p>
|
1071
1071
|
</div>
|
1072
1072
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
@@ -1074,7 +1074,7 @@ is registered</p>
|
|
1074
1074
|
<hr>
|
1075
1075
|
<div class="refsect2">
|
1076
1076
|
<a name="g-application-get-is-remote"></a><h3>g_application_get_is_remote ()</h3>
|
1077
|
-
<pre class="programlisting"><a href="../glib
|
1077
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1078
1078
|
g_application_get_is_remote (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1079
1079
|
<p>Checks if <em class="parameter"><code>application</code></em>
|
1080
1080
|
is remote.</p>
|
@@ -1088,7 +1088,7 @@ performed by the primary instance.</p>
|
|
1088
1088
|
<a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a> has been called. See
|
1089
1089
|
<a class="link" href="GApplication.html#g-application-get-is-registered" title="g_application_get_is_registered ()"><code class="function">g_application_get_is_registered()</code></a>.</p>
|
1090
1090
|
<div class="refsect3">
|
1091
|
-
<a name="
|
1091
|
+
<a name="g-application-get-is-remote.parameters"></a><h4>Parameters</h4>
|
1092
1092
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1093
1093
|
<colgroup>
|
1094
1094
|
<col width="150px" class="parameters_name">
|
@@ -1103,8 +1103,8 @@ performed by the primary instance.</p>
|
|
1103
1103
|
</table></div>
|
1104
1104
|
</div>
|
1105
1105
|
<div class="refsect3">
|
1106
|
-
<a name="
|
1107
|
-
<p> <a href="../glib
|
1106
|
+
<a name="g-application-get-is-remote.returns"></a><h4>Returns</h4>
|
1107
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application</code></em>
|
1108
1108
|
is remote</p>
|
1109
1109
|
</div>
|
1110
1110
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
@@ -1112,10 +1112,10 @@ is remote</p>
|
|
1112
1112
|
<hr>
|
1113
1113
|
<div class="refsect2">
|
1114
1114
|
<a name="g-application-register"></a><h3>g_application_register ()</h3>
|
1115
|
-
<pre class="programlisting"><a href="../glib
|
1115
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1116
1116
|
g_application_register (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1117
1117
|
<em class="parameter"><code><a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
1118
|
-
<em class="parameter"><code><a href="../glib
|
1118
|
+
<em class="parameter"><code><a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
1119
1119
|
<p>Attempts registration of the application.</p>
|
1120
1120
|
<p>This is the point at which the application discovers if it is the
|
1121
1121
|
primary instance or merely acting as a remote for an already-existing
|
@@ -1128,7 +1128,7 @@ given, then this process will always become the primary instance.</p>
|
|
1128
1128
|
dispatched at any time (even if a main loop is not running). For
|
1129
1129
|
this reason, you must ensure that any object paths that you wish to
|
1130
1130
|
register are registered before calling this function.</p>
|
1131
|
-
<p>If the application has already been registered then <a href="../glib
|
1131
|
+
<p>If the application has already been registered then <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is
|
1132
1132
|
returned with no work performed.</p>
|
1133
1133
|
<p>The <a class="link" href="GApplication.html#GApplication-startup" title="The “startup” signal"><span class="type">“startup”</span></a> signal is emitted if registration succeeds
|
1134
1134
|
and <em class="parameter"><code>application</code></em>
|
@@ -1136,14 +1136,14 @@ and <em class="parameter"><code>application</code></em>
|
|
1136
1136
|
case).</p>
|
1137
1137
|
<p>In the event of an error (such as <em class="parameter"><code>cancellable</code></em>
|
1138
1138
|
being cancelled, or a
|
1139
|
-
failure to connect to the session bus), <a href="../glib
|
1139
|
+
failure to connect to the session bus), <a href="../glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
|
1140
1140
|
|
1141
1141
|
is set appropriately.</p>
|
1142
1142
|
<p>Note: the return value of this function is not an indicator that this
|
1143
1143
|
instance is or is not the primary instance of the application. See
|
1144
1144
|
<a class="link" href="GApplication.html#g-application-get-is-remote" title="g_application_get_is_remote ()"><code class="function">g_application_get_is_remote()</code></a> for that.</p>
|
1145
1145
|
<div class="refsect3">
|
1146
|
-
<a name="
|
1146
|
+
<a name="g-application-register.parameters"></a><h4>Parameters</h4>
|
1147
1147
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1148
1148
|
<colgroup>
|
1149
1149
|
<col width="150px" class="parameters_name">
|
@@ -1158,20 +1158,20 @@ instance is or is not the primary instance of the application. See
|
|
1158
1158
|
</tr>
|
1159
1159
|
<tr>
|
1160
1160
|
<td class="parameter_name"><p>cancellable</p></td>
|
1161
|
-
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib
|
1161
|
+
<td class="parameter_description"><p> a <a class="link" href="GCancellable.html" title="GCancellable"><span class="type">GCancellable</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1162
1162
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1163
1163
|
</tr>
|
1164
1164
|
<tr>
|
1165
1165
|
<td class="parameter_name"><p>error</p></td>
|
1166
|
-
<td class="parameter_description"><p>a pointer to a NULL <a href="../glib
|
1166
|
+
<td class="parameter_description"><p>a pointer to a NULL <a href="../glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1167
1167
|
<td class="parameter_annotations"> </td>
|
1168
1168
|
</tr>
|
1169
1169
|
</tbody>
|
1170
1170
|
</table></div>
|
1171
1171
|
</div>
|
1172
1172
|
<div class="refsect3">
|
1173
|
-
<a name="
|
1174
|
-
<p> <a href="../glib
|
1173
|
+
<a name="g-application-register.returns"></a><h4>Returns</h4>
|
1174
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if registration succeeded</p>
|
1175
1175
|
</div>
|
1176
1176
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
1177
1177
|
</div>
|
@@ -1187,7 +1187,7 @@ continue to run. For example, <a class="link" href="GApplication.html#g-applica
|
|
1187
1187
|
when a toplevel window is on the screen.</p>
|
1188
1188
|
<p>To cancel the hold, call <a class="link" href="GApplication.html#g-application-release" title="g_application_release ()"><code class="function">g_application_release()</code></a>.</p>
|
1189
1189
|
<div class="refsect3">
|
1190
|
-
<a name="
|
1190
|
+
<a name="g-application-hold.parameters"></a><h4>Parameters</h4>
|
1191
1191
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1192
1192
|
<colgroup>
|
1193
1193
|
<col width="150px" class="parameters_name">
|
@@ -1213,7 +1213,7 @@ g_application_release (<em class="parameter"><code><a class="link" href="GApplic
|
|
1213
1213
|
<p>Never call this function except to cancel the effect of a previous
|
1214
1214
|
call to <a class="link" href="GApplication.html#g-application-hold" title="g_application_hold ()"><code class="function">g_application_hold()</code></a>.</p>
|
1215
1215
|
<div class="refsect3">
|
1216
|
-
<a name="
|
1216
|
+
<a name="g-application-release.parameters"></a><h4>Parameters</h4>
|
1217
1217
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1218
1218
|
<colgroup>
|
1219
1219
|
<col width="150px" class="parameters_name">
|
@@ -1240,7 +1240,7 @@ calling only the 'shutdown' function before doing so.</p>
|
|
1240
1240
|
<p>The result of calling <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> again after it returns is
|
1241
1241
|
unspecified.</p>
|
1242
1242
|
<div class="refsect3">
|
1243
|
-
<a name="
|
1243
|
+
<a name="g-application-quit.parameters"></a><h4>Parameters</h4>
|
1244
1244
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1245
1245
|
<colgroup>
|
1246
1246
|
<col width="150px" class="parameters_name">
|
@@ -1266,7 +1266,7 @@ g_application_activate (<em class="parameter"><code><a class="link" href="GAppli
|
|
1266
1266
|
emitted in the primary instance.</p>
|
1267
1267
|
<p>The application must be registered before calling this function.</p>
|
1268
1268
|
<div class="refsect3">
|
1269
|
-
<a name="
|
1269
|
+
<a name="g-application-activate.parameters"></a><h4>Parameters</h4>
|
1270
1270
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1271
1271
|
<colgroup>
|
1272
1272
|
<col width="150px" class="parameters_name">
|
@@ -1288,8 +1288,8 @@ emitted in the primary instance.</p>
|
|
1288
1288
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1289
1289
|
g_application_open (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1290
1290
|
<em class="parameter"><code><a class="link" href="GFile.html" title="GFile"><span class="type">GFile</span></a> **files</code></em>,
|
1291
|
-
<em class="parameter"><code><a href="../glib
|
1292
|
-
<em class="parameter"><code>const <a href="../glib
|
1291
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_files</code></em>,
|
1292
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hint</code></em>);</pre>
|
1293
1293
|
<p>Opens the given files.</p>
|
1294
1294
|
<p>In essence, this results in the <a class="link" href="GApplication.html#GApplication-open" title="The “open” signal"><span class="type">“open”</span></a> signal being emitted
|
1295
1295
|
in the primary instance.</p>
|
@@ -1303,7 +1303,7 @@ for this functionality, you should use "".</p>
|
|
1303
1303
|
<p>The application must be registered before calling this function
|
1304
1304
|
and it must have the <a class="link" href="GApplication.html#G-APPLICATION-HANDLES-OPEN:CAPS"><code class="literal">G_APPLICATION_HANDLES_OPEN</code></a> flag set.</p>
|
1305
1305
|
<div class="refsect3">
|
1306
|
-
<a name="
|
1306
|
+
<a name="g-application-open.parameters"></a><h4>Parameters</h4>
|
1307
1307
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1308
1308
|
<colgroup>
|
1309
1309
|
<col width="150px" class="parameters_name">
|
@@ -1318,7 +1318,7 @@ and it must have the <a class="link" href="GApplication.html#G-APPLICATION-HANDL
|
|
1318
1318
|
</tr>
|
1319
1319
|
<tr>
|
1320
1320
|
<td class="parameter_name"><p>files</p></td>
|
1321
|
-
<td class="parameter_description"><p> an array of <a href="GFile.html"><span class="type">GFiles</span></a> to open. </p></td>
|
1321
|
+
<td class="parameter_description"><p> an array of <a href="GFile.html#GFile-struct"><span class="type">GFiles</span></a> to open. </p></td>
|
1322
1322
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_files]</span></td>
|
1323
1323
|
</tr>
|
1324
1324
|
<tr>
|
@@ -1329,7 +1329,7 @@ array</p></td>
|
|
1329
1329
|
</tr>
|
1330
1330
|
<tr>
|
1331
1331
|
<td class="parameter_name"><p>hint</p></td>
|
1332
|
-
<td class="parameter_description"><p>a hint (or ""), but never <a href="../glib
|
1332
|
+
<td class="parameter_description"><p>a hint (or ""), but never <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
1333
1333
|
<td class="parameter_annotations"> </td>
|
1334
1334
|
</tr>
|
1335
1335
|
</tbody>
|
@@ -1342,7 +1342,7 @@ array</p></td>
|
|
1342
1342
|
<a name="g-application-send-notification"></a><h3>g_application_send_notification ()</h3>
|
1343
1343
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1344
1344
|
g_application_send_notification (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1345
|
-
<em class="parameter"><code>const <a href="../glib
|
1345
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>,
|
1346
1346
|
<em class="parameter"><code><a class="link" href="GNotification.html" title="GNotification"><span class="type">GNotification</span></a> *notification</code></em>);</pre>
|
1347
1347
|
<p>Sends a notification on behalf of <em class="parameter"><code>application</code></em>
|
1348
1348
|
to the desktop shell.
|
@@ -1367,13 +1367,13 @@ notification. This works even for notifications sent from a previous
|
|
1367
1367
|
execution of the application, as long as <em class="parameter"><code>id</code></em>
|
1368
1368
|
is the same string.</p>
|
1369
1369
|
<p><em class="parameter"><code>id</code></em>
|
1370
|
-
may be <a href="../glib
|
1370
|
+
may be <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, but it is impossible to replace or withdraw
|
1371
1371
|
notifications without an id.</p>
|
1372
1372
|
<p>If <em class="parameter"><code>notification</code></em>
|
1373
1373
|
is no longer relevant, it can be withdrawn with
|
1374
1374
|
<a class="link" href="GApplication.html#g-application-withdraw-notification" title="g_application_withdraw_notification ()"><code class="function">g_application_withdraw_notification()</code></a>.</p>
|
1375
1375
|
<div class="refsect3">
|
1376
|
-
<a name="
|
1376
|
+
<a name="g-application-send-notification.parameters"></a><h4>Parameters</h4>
|
1377
1377
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1378
1378
|
<colgroup>
|
1379
1379
|
<col width="150px" class="parameters_name">
|
@@ -1388,7 +1388,7 @@ notifications without an id.</p>
|
|
1388
1388
|
</tr>
|
1389
1389
|
<tr>
|
1390
1390
|
<td class="parameter_name"><p>id</p></td>
|
1391
|
-
<td class="parameter_description"><p> id of the notification, or <a href="../glib
|
1391
|
+
<td class="parameter_description"><p> id of the notification, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1392
1392
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1393
1393
|
</tr>
|
1394
1394
|
<tr>
|
@@ -1406,7 +1406,7 @@ notifications without an id.</p>
|
|
1406
1406
|
<a name="g-application-withdraw-notification"></a><h3>g_application_withdraw_notification ()</h3>
|
1407
1407
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1408
1408
|
g_application_withdraw_notification (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1409
|
-
<em class="parameter"><code>const <a href="../glib
|
1409
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
|
1410
1410
|
<p>Withdraws a notification that was sent with
|
1411
1411
|
<a class="link" href="GApplication.html#g-application-send-notification" title="g_application_send_notification ()"><code class="function">g_application_send_notification()</code></a>.</p>
|
1412
1412
|
<p>This call does nothing if a notification with <em class="parameter"><code>id</code></em>
|
@@ -1420,7 +1420,7 @@ the sent notification.</p>
|
|
1420
1420
|
of the buttons in a notification or triggers its default action, so
|
1421
1421
|
there is no need to explicitly withdraw the notification in that case.</p>
|
1422
1422
|
<div class="refsect3">
|
1423
|
-
<a name="
|
1423
|
+
<a name="g-application-withdraw-notification.parameters"></a><h4>Parameters</h4>
|
1424
1424
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1425
1425
|
<colgroup>
|
1426
1426
|
<col width="150px" class="parameters_name">
|
@@ -1456,18 +1456,18 @@ is intended to be returned by <code class="function">main()</code>. Although you
|
|
1456
1456
|
the <em class="parameter"><code>argc</code></em>
|
1457
1457
|
, <em class="parameter"><code>argv</code></em>
|
1458
1458
|
parameters from <code class="function">main()</code> to this function, it is possible
|
1459
|
-
to pass <a href="../glib
|
1459
|
+
to pass <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>argv</code></em>
|
1460
1460
|
is not available or commandline handling is not
|
1461
1461
|
required. Note that on Windows, <em class="parameter"><code>argc</code></em>
|
1462
1462
|
and <em class="parameter"><code>argv</code></em>
|
1463
1463
|
are ignored, and
|
1464
|
-
<a href="../glib
|
1464
|
+
<a href="../glib-Windows-Compatibility-Functions.html#g-win32-get-command-line"><code class="function">g_win32_get_command_line()</code></a> is called internally (for proper support
|
1465
1465
|
of Unicode commandline arguments).</p>
|
1466
1466
|
<p><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> will attempt to parse the commandline arguments. You
|
1467
1467
|
can add commandline flags to the list of recognised options by way of
|
1468
1468
|
<a class="link" href="GApplication.html#g-application-add-main-option-entries" title="g_application_add_main_option_entries ()"><code class="function">g_application_add_main_option_entries()</code></a>. After this, the
|
1469
1469
|
<a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a> signal is emitted, from which the
|
1470
|
-
application can inspect the values of its <a href="../glib
|
1470
|
+
application can inspect the values of its <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntrys</span></a>.</p>
|
1471
1471
|
<p><a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a> is a good place to handle options
|
1472
1472
|
such as <code class="literal">--version</code>, where an immediate reply from the local process is
|
1473
1473
|
desired (instead of communicating with an already-running instance).
|
@@ -1486,7 +1486,7 @@ via the <a class="link" href="GApplication.html#GApplication-open" title="The
|
|
1486
1486
|
<p>If you are interested in doing more complicated local handling of the
|
1487
1487
|
commandline then you should implement your own <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> subclass
|
1488
1488
|
and override <code class="function">local_command_line()</code>. In this case, you most likely want
|
1489
|
-
to return <a href="../glib
|
1489
|
+
to return <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> from your <code class="function">local_command_line()</code> implementation to
|
1490
1490
|
suppress the default handling. See
|
1491
1491
|
gapplication-example-cmdline2.c
|
1492
1492
|
for an example.</p>
|
@@ -1500,9 +1500,9 @@ for the message that caused the activation to arrive. After that,
|
|
1500
1500
|
if the use count falls to zero the application will exit immediately,
|
1501
1501
|
except in the case that <a class="link" href="GApplication.html#g-application-set-inactivity-timeout" title="g_application_set_inactivity_timeout ()"><code class="function">g_application_set_inactivity_timeout()</code></a> is in
|
1502
1502
|
use.</p>
|
1503
|
-
<p>This function sets the prgname (<a href="../glib
|
1503
|
+
<p>This function sets the prgname (<a href="../glib-Miscellaneous-Utility-Functions.html#g-set-prgname"><code class="function">g_set_prgname()</code></a>), if not already set,
|
1504
1504
|
to the basename of argv[0].</p>
|
1505
|
-
<p>Much like <a href="../glib
|
1505
|
+
<p>Much like <a href="../glib-The-Main-Event-Loop.html#g-main-loop-run"><code class="function">g_main_loop_run()</code></a>, this function will acquire the main context
|
1506
1506
|
for the duration that the application is running.</p>
|
1507
1507
|
<p>Since 2.40, applications that are not explicitly flagged as services
|
1508
1508
|
or launchers (ie: neither <a class="link" href="GApplication.html#G-APPLICATION-IS-SERVICE:CAPS"><code class="literal">G_APPLICATION_IS_SERVICE</code></a> or
|
@@ -1521,7 +1521,7 @@ should not be used from applications like editors that need precise
|
|
1521
1521
|
control over when processes invoked via the commandline will exit and
|
1522
1522
|
what their exit status will be.</p>
|
1523
1523
|
<div class="refsect3">
|
1524
|
-
<a name="
|
1524
|
+
<a name="g-application-run.parameters"></a><h4>Parameters</h4>
|
1525
1525
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1526
1526
|
<colgroup>
|
1527
1527
|
<col width="150px" class="parameters_name">
|
@@ -1537,19 +1537,19 @@ what their exit status will be.</p>
|
|
1537
1537
|
<tr>
|
1538
1538
|
<td class="parameter_name"><p>argc</p></td>
|
1539
1539
|
<td class="parameter_description"><p>the argc from <code class="function">main()</code> (or 0 if <em class="parameter"><code>argv</code></em>
|
1540
|
-
is <a href="../glib
|
1540
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td>
|
1541
1541
|
<td class="parameter_annotations"> </td>
|
1542
1542
|
</tr>
|
1543
1543
|
<tr>
|
1544
1544
|
<td class="parameter_name"><p>argv</p></td>
|
1545
|
-
<td class="parameter_description"><p> the argv from <code class="function">main()</code>, or <a href="../glib
|
1545
|
+
<td class="parameter_description"><p> the argv from <code class="function">main()</code>, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1546
1546
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=argc][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1547
1547
|
</tr>
|
1548
1548
|
</tbody>
|
1549
1549
|
</table></div>
|
1550
1550
|
</div>
|
1551
1551
|
<div class="refsect3">
|
1552
|
-
<a name="
|
1552
|
+
<a name="g-application-run.returns"></a><h4>Returns</h4>
|
1553
1553
|
<p> the exit status</p>
|
1554
1554
|
</div>
|
1555
1555
|
<p class="since">Since: <a class="link" href="api-index-2-28.html#api-index-2.28">2.28</a></p>
|
@@ -1559,19 +1559,19 @@ is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
|
1559
1559
|
<a name="g-application-add-main-option-entries"></a><h3>g_application_add_main_option_entries ()</h3>
|
1560
1560
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1561
1561
|
g_application_add_main_option_entries (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1562
|
-
<em class="parameter"><code>const <a href="../glib
|
1562
|
+
<em class="parameter"><code>const <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> *entries</code></em>);</pre>
|
1563
1563
|
<p>Adds main option entries to be handled by <em class="parameter"><code>application</code></em>
|
1564
1564
|
.</p>
|
1565
|
-
<p>This function is comparable to <a href="../glib
|
1565
|
+
<p>This function is comparable to <a href="../glib-Commandline-option-parser.html#g-option-context-add-main-entries"><code class="function">g_option_context_add_main_entries()</code></a>.</p>
|
1566
1566
|
<p>After the commandline arguments are parsed, the
|
1567
1567
|
<a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a> signal will be emitted. At this
|
1568
1568
|
point, the application can inspect the values pointed to by <em class="parameter"><code>arg_data</code></em>
|
1569
1569
|
|
1570
|
-
in the given <a href="../glib
|
1571
|
-
<p>Unlike <a href="../glib
|
1570
|
+
in the given <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntrys</span></a>.</p>
|
1571
|
+
<p>Unlike <a href="../glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a>, <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> supports giving a <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1572
1572
|
<em class="parameter"><code>arg_data</code></em>
|
1573
|
-
for a non-callback <a href="../glib
|
1574
|
-
argument in question being packed into a <a href="../glib
|
1573
|
+
for a non-callback <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>. This results in the
|
1574
|
+
argument in question being packed into a <a href="../glib-GVariant.html#GVariantDict"><span class="type">GVariantDict</span></a> which is also
|
1575
1575
|
passed to <a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a>, where it can be
|
1576
1576
|
inspected and modified. If <a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a> is
|
1577
1577
|
set, then the resulting dictionary is sent to the primary instance,
|
@@ -1579,11 +1579,11 @@ where <a class="link" href="GApplicationCommandLine.html#g-application-command-l
|
|
1579
1579
|
This "packing" is done according to the type of the argument --
|
1580
1580
|
booleans for normal flags, strings for strings, bytestrings for
|
1581
1581
|
filenames, etc. The packing only occurs if the flag is given (ie: we
|
1582
|
-
do not pack a "false" <a href="../glib
|
1582
|
+
do not pack a "false" <a href="../glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> in the case that a flag is missing).</p>
|
1583
1583
|
<p>In general, it is recommended that all commandline arguments are
|
1584
1584
|
parsed locally. The options dictionary should then be used to
|
1585
1585
|
transmit the result of the parsing to the primary instance, where
|
1586
|
-
<a href="../glib
|
1586
|
+
<a href="../glib-GVariant.html#g-variant-dict-lookup"><code class="function">g_variant_dict_lookup()</code></a> can be used. For local options, it is
|
1587
1587
|
possible to either use <em class="parameter"><code>arg_data</code></em>
|
1588
1588
|
in the usual way, or to consult (and
|
1589
1589
|
potentially remove) the option from the options dictionary.</p>
|
@@ -1595,27 +1595,27 @@ behaviour, and in particular, means that unrecognised options will be
|
|
1595
1595
|
treated as errors. Unrecognised options have never been ignored when
|
1596
1596
|
<a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a> is unset.</p>
|
1597
1597
|
<p>If <a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a> needs to see the list of
|
1598
|
-
filenames, then the use of <a href="../glib
|
1598
|
+
filenames, then the use of <a href="../glib-Commandline-option-parser.html#G-OPTION-REMAINING:CAPS"><code class="literal">G_OPTION_REMAINING</code></a> is recommended. If
|
1599
1599
|
<em class="parameter"><code>arg_data</code></em>
|
1600
|
-
is <a href="../glib
|
1601
|
-
the options dictionary. If you do use <a href="../glib
|
1600
|
+
is <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <a href="../glib-Commandline-option-parser.html#G-OPTION-REMAINING:CAPS"><code class="literal">G_OPTION_REMAINING</code></a> can be used as a key into
|
1601
|
+
the options dictionary. If you do use <a href="../glib-Commandline-option-parser.html#G-OPTION-REMAINING:CAPS"><code class="literal">G_OPTION_REMAINING</code></a> then you
|
1602
1602
|
need to handle these arguments for yourself because once they are
|
1603
1603
|
consumed, they will no longer be visible to the default handling
|
1604
1604
|
(which treats them as filenames to be opened).</p>
|
1605
1605
|
<p>It is important to use the proper GVariant format when retrieving
|
1606
|
-
the options with <a href="../glib
|
1606
|
+
the options with <a href="../glib-GVariant.html#g-variant-dict-lookup"><code class="function">g_variant_dict_lookup()</code></a>:</p>
|
1607
1607
|
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
1608
|
-
<li class="listitem"><p>for <a href="../glib
|
1609
|
-
<li class="listitem"><p>for <a href="../glib
|
1610
|
-
<li class="listitem"><p>for <a href="../glib
|
1611
|
-
<li class="listitem"><p>for <a href="../glib
|
1612
|
-
<li class="listitem"><p>for <a href="../glib
|
1613
|
-
<li class="listitem"><p>for <a href="../glib
|
1614
|
-
<li class="listitem"><p>for <a href="../glib
|
1615
|
-
<li class="listitem"><p>for <a href="../glib
|
1608
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-NONE:CAPS"><code class="literal">G_OPTION_ARG_NONE</code></a>, use b</p></li>
|
1609
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-STRING:CAPS"><code class="literal">G_OPTION_ARG_STRING</code></a>, use &s</p></li>
|
1610
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-INT:CAPS"><code class="literal">G_OPTION_ARG_INT</code></a>, use i</p></li>
|
1611
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-INT64:CAPS"><code class="literal">G_OPTION_ARG_INT64</code></a>, use x</p></li>
|
1612
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-DOUBLE:CAPS"><code class="literal">G_OPTION_ARG_DOUBLE</code></a>, use d</p></li>
|
1613
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-FILENAME:CAPS"><code class="literal">G_OPTION_ARG_FILENAME</code></a>, use ^ay</p></li>
|
1614
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-STRING-ARRAY:CAPS"><code class="literal">G_OPTION_ARG_STRING_ARRAY</code></a>, use &as</p></li>
|
1615
|
+
<li class="listitem"><p>for <a href="../glib-Commandline-option-parser.html#G-OPTION-ARG-FILENAME-ARRAY:CAPS"><code class="literal">G_OPTION_ARG_FILENAME_ARRAY</code></a>, use ^aay</p></li>
|
1616
1616
|
</ul></div>
|
1617
1617
|
<div class="refsect3">
|
1618
|
-
<a name="
|
1618
|
+
<a name="g-application-add-main-option-entries.parameters"></a><h4>Parameters</h4>
|
1619
1619
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1620
1620
|
<colgroup>
|
1621
1621
|
<col width="150px" class="parameters_name">
|
@@ -1631,7 +1631,7 @@ the options with <a href="../glib/glib-GVariant.html#g-variant-dict-lookup"><cod
|
|
1631
1631
|
<tr>
|
1632
1632
|
<td class="parameter_name"><p>entries</p></td>
|
1633
1633
|
<td class="parameter_description"><p>(array zero-terminated=1) (element-type GOptionEntry) a
|
1634
|
-
<a href="../glib
|
1634
|
+
<a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntrys</span></a></p></td>
|
1635
1635
|
<td class="parameter_annotations"> </td>
|
1636
1636
|
</tr>
|
1637
1637
|
</tbody>
|
@@ -1646,23 +1646,23 @@ the options with <a href="../glib/glib-GVariant.html#g-variant-dict-lookup"><cod
|
|
1646
1646
|
g_application_add_main_option (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1647
1647
|
<em class="parameter"><code>const <span class="type">char</span> *long_name</code></em>,
|
1648
1648
|
<em class="parameter"><code><span class="type">char</span> short_name</code></em>,
|
1649
|
-
<em class="parameter"><code><a href="../glib
|
1650
|
-
<em class="parameter"><code><a href="../glib
|
1649
|
+
<em class="parameter"><code><a href="../glib-Commandline-option-parser.html#GOptionFlags"><span class="type">GOptionFlags</span></a> flags</code></em>,
|
1650
|
+
<em class="parameter"><code><a href="../glib-Commandline-option-parser.html#GOptionArg"><span class="type">GOptionArg</span></a> arg</code></em>,
|
1651
1651
|
<em class="parameter"><code>const <span class="type">char</span> *description</code></em>,
|
1652
1652
|
<em class="parameter"><code>const <span class="type">char</span> *arg_description</code></em>);</pre>
|
1653
1653
|
<p>Add an option to be handled by <em class="parameter"><code>application</code></em>
|
1654
1654
|
.</p>
|
1655
1655
|
<p>Calling this function is the equivalent of calling
|
1656
|
-
<a class="link" href="GApplication.html#g-application-add-main-option-entries" title="g_application_add_main_option_entries ()"><code class="function">g_application_add_main_option_entries()</code></a> with a single <a href="../glib
|
1657
|
-
that has its arg_data member set to <a href="../glib
|
1658
|
-
<p>The parsed arguments will be packed into a <a href="../glib
|
1656
|
+
<a class="link" href="GApplication.html#g-application-add-main-option-entries" title="g_application_add_main_option_entries ()"><code class="function">g_application_add_main_option_entries()</code></a> with a single <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a>
|
1657
|
+
that has its arg_data member set to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1658
|
+
<p>The parsed arguments will be packed into a <a href="../glib-GVariant.html#GVariantDict"><span class="type">GVariantDict</span></a> which
|
1659
1659
|
is passed to <a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a>. If
|
1660
1660
|
<a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a> is set, then it will also
|
1661
1661
|
be sent to the primary instance. See
|
1662
1662
|
<a class="link" href="GApplication.html#g-application-add-main-option-entries" title="g_application_add_main_option_entries ()"><code class="function">g_application_add_main_option_entries()</code></a> for more details.</p>
|
1663
|
-
<p>See <a href="../glib
|
1663
|
+
<p>See <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntry</span></a> for more documentation of the arguments.</p>
|
1664
1664
|
<div class="refsect3">
|
1665
|
-
<a name="
|
1665
|
+
<a name="g-application-add-main-option.parameters"></a><h4>Parameters</h4>
|
1666
1666
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1667
1667
|
<colgroup>
|
1668
1668
|
<col width="150px" class="parameters_name">
|
@@ -1687,12 +1687,12 @@ be sent to the primary instance. See
|
|
1687
1687
|
</tr>
|
1688
1688
|
<tr>
|
1689
1689
|
<td class="parameter_name"><p>flags</p></td>
|
1690
|
-
<td class="parameter_description"><p>flags from <a href="../glib
|
1690
|
+
<td class="parameter_description"><p>flags from <a href="../glib-Commandline-option-parser.html#GOptionFlags"><span class="type">GOptionFlags</span></a></p></td>
|
1691
1691
|
<td class="parameter_annotations"> </td>
|
1692
1692
|
</tr>
|
1693
1693
|
<tr>
|
1694
1694
|
<td class="parameter_name"><p>arg</p></td>
|
1695
|
-
<td class="parameter_description"><p>the type of the option, as a <a href="../glib
|
1695
|
+
<td class="parameter_description"><p>the type of the option, as a <a href="../glib-Commandline-option-parser.html#GOptionArg"><span class="type">GOptionArg</span></a></p></td>
|
1696
1696
|
<td class="parameter_annotations"> </td>
|
1697
1697
|
</tr>
|
1698
1698
|
<tr>
|
@@ -1716,12 +1716,12 @@ parsed by the option in <code class="literal">--help</code> output. </p></td>
|
|
1716
1716
|
<a name="g-application-add-option-group"></a><h3>g_application_add_option_group ()</h3>
|
1717
1717
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1718
1718
|
g_application_add_option_group (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1719
|
-
<em class="parameter"><code><a href="../glib
|
1720
|
-
<p>Adds a <a href="../glib
|
1719
|
+
<em class="parameter"><code><a href="../glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> *group</code></em>);</pre>
|
1720
|
+
<p>Adds a <a href="../glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> to the commandline handling of <em class="parameter"><code>application</code></em>
|
1721
1721
|
.</p>
|
1722
|
-
<p>This function is comparable to <a href="../glib
|
1722
|
+
<p>This function is comparable to <a href="../glib-Commandline-option-parser.html#g-option-context-add-group"><code class="function">g_option_context_add_group()</code></a>.</p>
|
1723
1723
|
<p>Unlike <a class="link" href="GApplication.html#g-application-add-main-option-entries" title="g_application_add_main_option_entries ()"><code class="function">g_application_add_main_option_entries()</code></a>, this function does
|
1724
|
-
not deal with <a href="../glib
|
1724
|
+
not deal with <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>arg_data</code></em>
|
1725
1725
|
and never transmits options to the
|
1726
1726
|
primary instance.</p>
|
1727
1727
|
<p>The reason for that is because, by the time the options arrive at the
|
@@ -1731,7 +1731,7 @@ initialised by the time the <a class="link" href="GApplication.html#GApplication
|
|
1731
1731
|
In the case that this is not the first-running instance of the
|
1732
1732
|
application, the existing instance may already have been running for
|
1733
1733
|
a very long time.</p>
|
1734
|
-
<p>This means that the options from <a href="../glib
|
1734
|
+
<p>This means that the options from <a href="../glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> are only really usable
|
1735
1735
|
in the case that the instance of the application being run is the
|
1736
1736
|
first instance. Passing options like <code class="literal">--display=</code> or <code class="literal">--gdk-debug=</code>
|
1737
1737
|
on future runs will have no effect on the existing primary instance.</p>
|
@@ -1740,7 +1740,7 @@ group to be parsed, but it does not cause you to be "opted in" to the
|
|
1740
1740
|
new functionality whereby unrecognised options are rejected even if
|
1741
1741
|
<a class="link" href="GApplication.html#G-APPLICATION-HANDLES-COMMAND-LINE:CAPS"><code class="literal">G_APPLICATION_HANDLES_COMMAND_LINE</code></a> was given.</p>
|
1742
1742
|
<div class="refsect3">
|
1743
|
-
<a name="
|
1743
|
+
<a name="g-application-add-option-group.parameters"></a><h4>Parameters</h4>
|
1744
1744
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1745
1745
|
<colgroup>
|
1746
1746
|
<col width="150px" class="parameters_name">
|
@@ -1755,7 +1755,7 @@ new functionality whereby unrecognised options are rejected even if
|
|
1755
1755
|
</tr>
|
1756
1756
|
<tr>
|
1757
1757
|
<td class="parameter_name"><p>group</p></td>
|
1758
|
-
<td class="parameter_description"><p> a <a href="../glib
|
1758
|
+
<td class="parameter_description"><p> a <a href="../glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a>. </p></td>
|
1759
1759
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1760
1760
|
</tr>
|
1761
1761
|
</tbody>
|
@@ -1774,9 +1774,9 @@ by <a class="link" href="GApplication.html#g-application-get-default" title="g_a
|
|
1774
1774
|
. If
|
1775
1775
|
<em class="parameter"><code>application</code></em>
|
1776
1776
|
is destroyed then the default application will revert
|
1777
|
-
back to <a href="../glib
|
1777
|
+
back to <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
1778
1778
|
<div class="refsect3">
|
1779
|
-
<a name="
|
1779
|
+
<a name="g-application-set-default.parameters"></a><h4>Parameters</h4>
|
1780
1780
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1781
1781
|
<colgroup>
|
1782
1782
|
<col width="150px" class="parameters_name">
|
@@ -1785,7 +1785,7 @@ back to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="liter
|
|
1785
1785
|
</colgroup>
|
1786
1786
|
<tbody><tr>
|
1787
1787
|
<td class="parameter_name"><p>application</p></td>
|
1788
|
-
<td class="parameter_description"><p> the application to set as default, or <a href="../glib
|
1788
|
+
<td class="parameter_description"><p> the application to set as default, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
1789
1789
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
1790
1790
|
</tr></tbody>
|
1791
1791
|
</table></div>
|
@@ -1801,10 +1801,10 @@ g_application_get_default (<em class="parameter"><code><span class="type">void</
|
|
1801
1801
|
<p>Normally there is only one <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> per process and it becomes
|
1802
1802
|
the default when it is created. You can exercise more control over
|
1803
1803
|
this by using <a class="link" href="GApplication.html#g-application-set-default" title="g_application_set_default ()"><code class="function">g_application_set_default()</code></a>.</p>
|
1804
|
-
<p>If there is no default application then <a href="../glib
|
1804
|
+
<p>If there is no default application then <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
|
1805
1805
|
<div class="refsect3">
|
1806
|
-
<a name="
|
1807
|
-
<p> the default application for this process, or <a href="../glib
|
1806
|
+
<a name="g-application-get-default.returns"></a><h4>Returns</h4>
|
1807
|
+
<p> the default application for this process, or <a href="../glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1808
1808
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1809
1809
|
</div>
|
1810
1810
|
<p class="since">Since: <a class="link" href="api-index-2-32.html#api-index-2.32">2.32</a></p>
|
@@ -1823,7 +1823,7 @@ use that information to indicate the state to the user (e.g. with a
|
|
1823
1823
|
spinner).</p>
|
1824
1824
|
<p>To cancel the busy indication, use <a class="link" href="GApplication.html#g-application-unmark-busy" title="g_application_unmark_busy ()"><code class="function">g_application_unmark_busy()</code></a>.</p>
|
1825
1825
|
<div class="refsect3">
|
1826
|
-
<a name="
|
1826
|
+
<a name="g-application-mark-busy.parameters"></a><h4>Parameters</h4>
|
1827
1827
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1828
1828
|
<colgroup>
|
1829
1829
|
<col width="150px" class="parameters_name">
|
@@ -1851,7 +1851,7 @@ to other processes.</p>
|
|
1851
1851
|
<p>This function must only be called to cancel the effect of a previous
|
1852
1852
|
call to <a class="link" href="GApplication.html#g-application-mark-busy" title="g_application_mark_busy ()"><code class="function">g_application_mark_busy()</code></a>.</p>
|
1853
1853
|
<div class="refsect3">
|
1854
|
-
<a name="
|
1854
|
+
<a name="g-application-unmark-busy.parameters"></a><h4>Parameters</h4>
|
1855
1855
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1856
1856
|
<colgroup>
|
1857
1857
|
<col width="150px" class="parameters_name">
|
@@ -1870,12 +1870,12 @@ call to <a class="link" href="GApplication.html#g-application-mark-busy" title="
|
|
1870
1870
|
<hr>
|
1871
1871
|
<div class="refsect2">
|
1872
1872
|
<a name="g-application-get-is-busy"></a><h3>g_application_get_is_busy ()</h3>
|
1873
|
-
<pre class="programlisting"><a href="../glib
|
1873
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1874
1874
|
g_application_get_is_busy (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>);</pre>
|
1875
1875
|
<p>Gets the application's current busy state, as set through
|
1876
1876
|
<a class="link" href="GApplication.html#g-application-mark-busy" title="g_application_mark_busy ()"><code class="function">g_application_mark_busy()</code></a> or <a class="link" href="GApplication.html#g-application-bind-busy-property" title="g_application_bind_busy_property ()"><code class="function">g_application_bind_busy_property()</code></a>.</p>
|
1877
1877
|
<div class="refsect3">
|
1878
|
-
<a name="
|
1878
|
+
<a name="g-application-get-is-busy.parameters"></a><h4>Parameters</h4>
|
1879
1879
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1880
1880
|
<colgroup>
|
1881
1881
|
<col width="150px" class="parameters_name">
|
@@ -1890,8 +1890,8 @@ g_application_get_is_busy (<em class="parameter"><code><a class="link" href="GAp
|
|
1890
1890
|
</table></div>
|
1891
1891
|
</div>
|
1892
1892
|
<div class="refsect3">
|
1893
|
-
<a name="
|
1894
|
-
<p> <a href="../glib
|
1893
|
+
<a name="g-application-get-is-busy.returns"></a><h4>Returns</h4>
|
1894
|
+
<p> <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>application</code></em>
|
1895
1895
|
is currenty marked as busy</p>
|
1896
1896
|
</div>
|
1897
1897
|
<p class="since">Since: <a class="link" href="api-index-2-44.html#api-index-2.44">2.44</a></p>
|
@@ -1901,13 +1901,13 @@ is currenty marked as busy</p>
|
|
1901
1901
|
<a name="g-application-bind-busy-property"></a><h3>g_application_bind_busy_property ()</h3>
|
1902
1902
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1903
1903
|
g_application_bind_busy_property (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1904
|
-
<em class="parameter"><code><a href="../glib
|
1905
|
-
<em class="parameter"><code>const <a href="../glib
|
1904
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1905
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property</code></em>);</pre>
|
1906
1906
|
<p>Marks <em class="parameter"><code>application</code></em>
|
1907
1907
|
as busy (see <a class="link" href="GApplication.html#g-application-mark-busy" title="g_application_mark_busy ()"><code class="function">g_application_mark_busy()</code></a>) while
|
1908
1908
|
<em class="parameter"><code>property</code></em>
|
1909
1909
|
on <em class="parameter"><code>object</code></em>
|
1910
|
-
is <a href="../glib
|
1910
|
+
is <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
1911
1911
|
<p>The binding holds a reference to <em class="parameter"><code>application</code></em>
|
1912
1912
|
while it is active, but
|
1913
1913
|
not to <em class="parameter"><code>object</code></em>
|
@@ -1915,7 +1915,7 @@ not to <em class="parameter"><code>object</code></em>
|
|
1915
1915
|
is
|
1916
1916
|
finalized.</p>
|
1917
1917
|
<div class="refsect3">
|
1918
|
-
<a name="
|
1918
|
+
<a name="g-application-bind-busy-property.parameters"></a><h4>Parameters</h4>
|
1919
1919
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1920
1920
|
<colgroup>
|
1921
1921
|
<col width="150px" class="parameters_name">
|
@@ -1930,7 +1930,7 @@ finalized.</p>
|
|
1930
1930
|
</tr>
|
1931
1931
|
<tr>
|
1932
1932
|
<td class="parameter_name"><p>object</p></td>
|
1933
|
-
<td class="parameter_description"><p> a <a href="../gobject
|
1933
|
+
<td class="parameter_description"><p> a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>. </p></td>
|
1934
1934
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object]</span></td>
|
1935
1935
|
</tr>
|
1936
1936
|
<tr>
|
@@ -1949,15 +1949,15 @@ finalized.</p>
|
|
1949
1949
|
<a name="g-application-unbind-busy-property"></a><h3>g_application_unbind_busy_property ()</h3>
|
1950
1950
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1951
1951
|
g_application_unbind_busy_property (<em class="parameter"><code><a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application</code></em>,
|
1952
|
-
<em class="parameter"><code><a href="../glib
|
1953
|
-
<em class="parameter"><code>const <a href="../glib
|
1952
|
+
<em class="parameter"><code><a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>,
|
1953
|
+
<em class="parameter"><code>const <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property</code></em>);</pre>
|
1954
1954
|
<p>Destroys a binding between <em class="parameter"><code>property</code></em>
|
1955
1955
|
and the busy state of
|
1956
1956
|
<em class="parameter"><code>application</code></em>
|
1957
1957
|
that was previously created with
|
1958
1958
|
<a class="link" href="GApplication.html#g-application-bind-busy-property" title="g_application_bind_busy_property ()"><code class="function">g_application_bind_busy_property()</code></a>.</p>
|
1959
1959
|
<div class="refsect3">
|
1960
|
-
<a name="
|
1960
|
+
<a name="g-application-unbind-busy-property.parameters"></a><h4>Parameters</h4>
|
1961
1961
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1962
1962
|
<colgroup>
|
1963
1963
|
<col width="150px" class="parameters_name">
|
@@ -1972,7 +1972,7 @@ g_application_unbind_busy_property (<em class="parameter"><code><a class="link"
|
|
1972
1972
|
</tr>
|
1973
1973
|
<tr>
|
1974
1974
|
<td class="parameter_name"><p>object</p></td>
|
1975
|
-
<td class="parameter_description"><p> a <a href="../gobject
|
1975
|
+
<td class="parameter_description"><p> a <a href="../gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>. </p></td>
|
1976
1976
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GObject.Object]</span></td>
|
1977
1977
|
</tr>
|
1978
1978
|
<tr>
|
@@ -2061,7 +2061,7 @@ using the following functions.</p>
|
|
2061
2061
|
</pre>
|
2062
2062
|
<p>Virtual function table for <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.</p>
|
2063
2063
|
<div class="refsect3">
|
2064
|
-
<a name="
|
2064
|
+
<a name="GApplicationClass.members"></a><h4>Members</h4>
|
2065
2065
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2066
2066
|
<colgroup>
|
2067
2067
|
<col width="300px" class="struct_members_name">
|
@@ -2092,11 +2092,11 @@ not handled locally</p></td>
|
|
2092
2092
|
</tr>
|
2093
2093
|
<tr>
|
2094
2094
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GApplicationClass.local-command-line"></a>local_command_line</code></em> ()</p></td>
|
2095
|
-
<td class="struct_member_description"><p>invoked (locally)
|
2096
|
-
|
2097
|
-
|
2098
|
-
|
2099
|
-
|
2095
|
+
<td class="struct_member_description"><p>invoked (locally). The virtual function has the chance
|
2096
|
+
to inspect (and possibly replace) command line arguments. See
|
2097
|
+
<a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> for more information. Also see the
|
2098
|
+
<a class="link" href="GApplication.html#GApplication-handle-local-options" title="The “handle-local-options” signal"><span class="type">“handle-local-options”</span></a> signal, which is a simpler
|
2099
|
+
alternative to handling some commandline options locally</p></td>
|
2100
2100
|
<td class="struct_member_annotations"> </td>
|
2101
2101
|
</tr>
|
2102
2102
|
<tr>
|
@@ -2148,22 +2148,20 @@ using its D-Bus backend. You can use this to export extra objects on the
|
|
2148
2148
|
bus, that need to exist before the application tries to own the bus name.
|
2149
2149
|
The function is passed the <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> to to session bus, and the
|
2150
2150
|
object path that <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> will use to export is D-Bus API.
|
2151
|
-
If this function returns <a href="../glib
|
2151
|
+
If this function returns <a href="../glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, registration will proceed; otherwise
|
2152
2152
|
registration will abort. Since: 2.34</p></td>
|
2153
2153
|
<td class="struct_member_annotations"> </td>
|
2154
2154
|
</tr>
|
2155
2155
|
<tr>
|
2156
2156
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GApplicationClass.dbus-unregister"></a>dbus_unregister</code></em> ()</p></td>
|
2157
2157
|
<td class="struct_member_description"><p>invoked locally during unregistration, if the application
|
2158
|
-
is using its D-Bus backend. Use this to undo anything done by the
|
2159
|
-
<em class="parameter"><code>dbus_register</code></em>
|
2160
|
-
vfunc. Since: 2.34</p></td>
|
2158
|
+
is using its D-Bus backend. Use this to undo anything done by the</p></td>
|
2161
2159
|
<td class="struct_member_annotations"> </td>
|
2162
2160
|
</tr>
|
2163
2161
|
<tr>
|
2164
2162
|
<td class="struct_member_name"><p><em class="structfield"><code><a name="GApplicationClass.handle-local-options"></a>handle_local_options</code></em> ()</p></td>
|
2165
2163
|
<td class="struct_member_description"><p>invoked locally after the parsing of the commandline
|
2166
|
-
options has occurred
|
2164
|
+
options has occurred. Since: 2.40</p></td>
|
2167
2165
|
<td class="struct_member_annotations"> </td>
|
2168
2166
|
</tr>
|
2169
2167
|
</tbody>
|
@@ -2176,7 +2174,7 @@ options has occurred.</p></td>
|
|
2176
2174
|
<a name="GApplicationFlags"></a><h3>enum GApplicationFlags</h3>
|
2177
2175
|
<p>Flags used to define the behaviour of a <a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a>.</p>
|
2178
2176
|
<div class="refsect3">
|
2179
|
-
<a name="
|
2177
|
+
<a name="GApplicationFlags.members"></a><h4>Members</h4>
|
2180
2178
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2181
2179
|
<colgroup>
|
2182
2180
|
<col width="300px" class="enum_members_name">
|
@@ -2281,7 +2279,7 @@ options has occurred.</p></td>
|
|
2281
2279
|
<hr>
|
2282
2280
|
<div class="refsect2">
|
2283
2281
|
<a name="GApplication--application-id"></a><h3>The <code class="literal">“application-id”</code> property</h3>
|
2284
|
-
<pre class="programlisting"> “application-id” <a href="../glib
|
2282
|
+
<pre class="programlisting"> “application-id” <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2285
2283
|
<p>The unique identifier for the application.</p>
|
2286
2284
|
<p>Flags: Read / Write / Construct</p>
|
2287
2285
|
<p>Default value: NULL</p>
|
@@ -2296,7 +2294,7 @@ options has occurred.</p></td>
|
|
2296
2294
|
<hr>
|
2297
2295
|
<div class="refsect2">
|
2298
2296
|
<a name="GApplication--inactivity-timeout"></a><h3>The <code class="literal">“inactivity-timeout”</code> property</h3>
|
2299
|
-
<pre class="programlisting"> “inactivity-timeout” <a href="../glib
|
2297
|
+
<pre class="programlisting"> “inactivity-timeout” <a href="../glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
2300
2298
|
<p>Time (ms) to stay alive after becoming idle.</p>
|
2301
2299
|
<p>Flags: Read / Write</p>
|
2302
2300
|
<p>Default value: 0</p>
|
@@ -2304,7 +2302,7 @@ options has occurred.</p></td>
|
|
2304
2302
|
<hr>
|
2305
2303
|
<div class="refsect2">
|
2306
2304
|
<a name="GApplication--is-busy"></a><h3>The <code class="literal">“is-busy”</code> property</h3>
|
2307
|
-
<pre class="programlisting"> “is-busy” <a href="../glib
|
2305
|
+
<pre class="programlisting"> “is-busy” <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2308
2306
|
<p>Whether the application is currently marked as busy through
|
2309
2307
|
<a class="link" href="GApplication.html#g-application-mark-busy" title="g_application_mark_busy ()"><code class="function">g_application_mark_busy()</code></a> or <a class="link" href="GApplication.html#g-application-bind-busy-property" title="g_application_bind_busy_property ()"><code class="function">g_application_bind_busy_property()</code></a>.</p>
|
2310
2308
|
<p>Flags: Read</p>
|
@@ -2314,7 +2312,7 @@ options has occurred.</p></td>
|
|
2314
2312
|
<hr>
|
2315
2313
|
<div class="refsect2">
|
2316
2314
|
<a name="GApplication--is-registered"></a><h3>The <code class="literal">“is-registered”</code> property</h3>
|
2317
|
-
<pre class="programlisting"> “is-registered” <a href="../glib
|
2315
|
+
<pre class="programlisting"> “is-registered” <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2318
2316
|
<p>If g_application_register() has been called.</p>
|
2319
2317
|
<p>Flags: Read</p>
|
2320
2318
|
<p>Default value: FALSE</p>
|
@@ -2322,7 +2320,7 @@ options has occurred.</p></td>
|
|
2322
2320
|
<hr>
|
2323
2321
|
<div class="refsect2">
|
2324
2322
|
<a name="GApplication--is-remote"></a><h3>The <code class="literal">“is-remote”</code> property</h3>
|
2325
|
-
<pre class="programlisting"> “is-remote” <a href="../glib
|
2323
|
+
<pre class="programlisting"> “is-remote” <a href="../glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
2326
2324
|
<p>If this application instance is remote.</p>
|
2327
2325
|
<p>Flags: Read</p>
|
2328
2326
|
<p>Default value: FALSE</p>
|
@@ -2330,7 +2328,7 @@ options has occurred.</p></td>
|
|
2330
2328
|
<hr>
|
2331
2329
|
<div class="refsect2">
|
2332
2330
|
<a name="GApplication--resource-base-path"></a><h3>The <code class="literal">“resource-base-path”</code> property</h3>
|
2333
|
-
<pre class="programlisting"> “resource-base-path” <a href="../glib
|
2331
|
+
<pre class="programlisting"> “resource-base-path” <a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
2334
2332
|
<p>The base resource path for the application.</p>
|
2335
2333
|
<p>Flags: Read / Write</p>
|
2336
2334
|
<p>Default value: NULL</p>
|
@@ -2342,11 +2340,11 @@ options has occurred.</p></td>
|
|
2342
2340
|
<a name="GApplication-activate"></a><h3>The <code class="literal">“activate”</code> signal</h3>
|
2343
2341
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2344
2342
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2345
|
-
<a href="../glib
|
2343
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2346
2344
|
<p>The ::activate signal is emitted on the primary instance when an
|
2347
2345
|
activation occurs. See <a class="link" href="GApplication.html#g-application-activate" title="g_application_activate ()"><code class="function">g_application_activate()</code></a>.</p>
|
2348
2346
|
<div class="refsect3">
|
2349
|
-
<a name="
|
2347
|
+
<a name="GApplication-activate.parameters"></a><h4>Parameters</h4>
|
2350
2348
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2351
2349
|
<colgroup>
|
2352
2350
|
<col width="150px" class="parameters_name">
|
@@ -2367,20 +2365,20 @@ activation occurs. See <a class="link" href="GApplication.html#g-application-act
|
|
2367
2365
|
</tbody>
|
2368
2366
|
</table></div>
|
2369
2367
|
</div>
|
2370
|
-
<p>Flags: <a href="../gobject
|
2368
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2371
2369
|
</div>
|
2372
2370
|
<hr>
|
2373
2371
|
<div class="refsect2">
|
2374
2372
|
<a name="GApplication-command-line"></a><h3>The <code class="literal">“command-line”</code> signal</h3>
|
2375
|
-
<pre class="programlisting"><a href="../glib
|
2373
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
2376
2374
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2377
2375
|
<a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> *command_line,
|
2378
|
-
<a href="../glib
|
2376
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2379
2377
|
<p>The ::command-line signal is emitted on the primary instance when
|
2380
2378
|
a commandline is not handled locally. See <a class="link" href="GApplication.html#g-application-run" title="g_application_run ()"><code class="function">g_application_run()</code></a> and
|
2381
2379
|
the <a class="link" href="GApplicationCommandLine.html" title="GApplicationCommandLine"><span class="type">GApplicationCommandLine</span></a> documentation for more information.</p>
|
2382
2380
|
<div class="refsect3">
|
2383
|
-
<a name="
|
2381
|
+
<a name="GApplication-command-line.parameters"></a><h4>Parameters</h4>
|
2384
2382
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2385
2383
|
<colgroup>
|
2386
2384
|
<col width="150px" class="parameters_name">
|
@@ -2408,19 +2406,19 @@ passed commandline</p></td>
|
|
2408
2406
|
</table></div>
|
2409
2407
|
</div>
|
2410
2408
|
<div class="refsect3">
|
2411
|
-
<a name="
|
2409
|
+
<a name="GApplication-command-line.returns"></a><h4>Returns</h4>
|
2412
2410
|
<p> An integer that is set as the exit status for the calling
|
2413
2411
|
process. See <a class="link" href="GApplicationCommandLine.html#g-application-command-line-set-exit-status" title="g_application_command_line_set_exit_status ()"><code class="function">g_application_command_line_set_exit_status()</code></a>.</p>
|
2414
2412
|
</div>
|
2415
|
-
<p>Flags: <a href="../gobject
|
2413
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2416
2414
|
</div>
|
2417
2415
|
<hr>
|
2418
2416
|
<div class="refsect2">
|
2419
2417
|
<a name="GApplication-handle-local-options"></a><h3>The <code class="literal">“handle-local-options”</code> signal</h3>
|
2420
|
-
<pre class="programlisting"><a href="../glib
|
2418
|
+
<pre class="programlisting"><a href="../glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
2421
2419
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2422
|
-
<a href="../glib
|
2423
|
-
<a href="../glib
|
2420
|
+
<a href="../glib-GVariant.html#GVariantDict"><span class="type">GVariantDict</span></a> *options,
|
2421
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2424
2422
|
<p>The ::handle-local-options signal is emitted on the local instance
|
2425
2423
|
after the parsing of the commandline options has occurred.</p>
|
2426
2424
|
<p>You can add options to be recognised during commandline option
|
@@ -2429,7 +2427,7 @@ parsing using <a class="link" href="GApplication.html#g-application-add-main-opt
|
|
2429
2427
|
<p>Signal handlers can inspect <em class="parameter"><code>options</code></em>
|
2430
2428
|
(along with values pointed to
|
2431
2429
|
from the <em class="parameter"><code>arg_data</code></em>
|
2432
|
-
of an installed <a href="../glib
|
2430
|
+
of an installed <a href="../glib-Commandline-option-parser.html#GOptionEntry"><span class="type">GOptionEntrys</span></a>) in order to
|
2433
2431
|
decide to perform certain actions, including direct local handling
|
2434
2432
|
(which may be useful for options like --version).</p>
|
2435
2433
|
<p>In the event that the application is marked
|
@@ -2459,7 +2457,7 @@ chain up then this signal will never be emitted.</p>
|
|
2459
2457
|
capabilities than what is provided here, but this should not
|
2460
2458
|
normally be required.</p>
|
2461
2459
|
<div class="refsect3">
|
2462
|
-
<a name="
|
2460
|
+
<a name="GApplication-handle-local-options.parameters"></a><h4>Parameters</h4>
|
2463
2461
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2464
2462
|
<colgroup>
|
2465
2463
|
<col width="150px" class="parameters_name">
|
@@ -2486,13 +2484,13 @@ normally be required.</p>
|
|
2486
2484
|
</table></div>
|
2487
2485
|
</div>
|
2488
2486
|
<div class="refsect3">
|
2489
|
-
<a name="
|
2487
|
+
<a name="GApplication-handle-local-options.returns"></a><h4>Returns</h4>
|
2490
2488
|
<p> an exit code. If you have handled your options and want
|
2491
2489
|
to exit the process, return a non-negative option, 0 for success,
|
2492
2490
|
and a positive value for failure. To continue, return -1 to let
|
2493
2491
|
the default option processing continue.</p>
|
2494
2492
|
</div>
|
2495
|
-
<p>Flags: <a href="../gobject
|
2493
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2496
2494
|
<p class="since">Since: <a class="link" href="api-index-2-40.html#api-index-2.40">2.40</a></p>
|
2497
2495
|
</div>
|
2498
2496
|
<hr>
|
@@ -2500,14 +2498,14 @@ the default option processing continue.</p>
|
|
2500
2498
|
<a name="GApplication-open"></a><h3>The <code class="literal">“open”</code> signal</h3>
|
2501
2499
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2502
2500
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2503
|
-
<a href="../glib
|
2504
|
-
<a href="../glib
|
2505
|
-
<a href="../glib
|
2506
|
-
<a href="../glib
|
2501
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> files,
|
2502
|
+
<a href="../glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_files,
|
2503
|
+
<a href="../glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *hint,
|
2504
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2507
2505
|
<p>The ::open signal is emitted on the primary instance when there are
|
2508
2506
|
files to open. See <a class="link" href="GApplication.html#g-application-open" title="g_application_open ()"><code class="function">g_application_open()</code></a> for more information.</p>
|
2509
2507
|
<div class="refsect3">
|
2510
|
-
<a name="
|
2508
|
+
<a name="GApplication-open.parameters"></a><h4>Parameters</h4>
|
2511
2509
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2512
2510
|
<colgroup>
|
2513
2511
|
<col width="150px" class="parameters_name">
|
@@ -2522,7 +2520,7 @@ files to open. See <a class="link" href="GApplication.html#g-application-open" t
|
|
2522
2520
|
</tr>
|
2523
2521
|
<tr>
|
2524
2522
|
<td class="parameter_name"><p>files</p></td>
|
2525
|
-
<td class="parameter_description"><p> an array of <a href="GFile.html"><span class="type">GFiles</span></a>. </p></td>
|
2523
|
+
<td class="parameter_description"><p> an array of <a href="GFile.html#GFile-struct"><span class="type">GFiles</span></a>. </p></td>
|
2526
2524
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_files][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GFile]</span></td>
|
2527
2525
|
</tr>
|
2528
2526
|
<tr>
|
@@ -2544,18 +2542,18 @@ files to open. See <a class="link" href="GApplication.html#g-application-open" t
|
|
2544
2542
|
</tbody>
|
2545
2543
|
</table></div>
|
2546
2544
|
</div>
|
2547
|
-
<p>Flags: <a href="../gobject
|
2545
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2548
2546
|
</div>
|
2549
2547
|
<hr>
|
2550
2548
|
<div class="refsect2">
|
2551
2549
|
<a name="GApplication-shutdown"></a><h3>The <code class="literal">“shutdown”</code> signal</h3>
|
2552
2550
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2553
2551
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2554
|
-
<a href="../glib
|
2552
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2555
2553
|
<p>The ::shutdown signal is emitted only on the registered primary instance
|
2556
2554
|
immediately after the main loop terminates.</p>
|
2557
2555
|
<div class="refsect3">
|
2558
|
-
<a name="
|
2556
|
+
<a name="GApplication-shutdown.parameters"></a><h4>Parameters</h4>
|
2559
2557
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2560
2558
|
<colgroup>
|
2561
2559
|
<col width="150px" class="parameters_name">
|
@@ -2576,18 +2574,18 @@ immediately after the main loop terminates.</p>
|
|
2576
2574
|
</tbody>
|
2577
2575
|
</table></div>
|
2578
2576
|
</div>
|
2579
|
-
<p>Flags: <a href="../gobject
|
2577
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
2580
2578
|
</div>
|
2581
2579
|
<hr>
|
2582
2580
|
<div class="refsect2">
|
2583
2581
|
<a name="GApplication-startup"></a><h3>The <code class="literal">“startup”</code> signal</h3>
|
2584
2582
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
2585
2583
|
user_function (<a class="link" href="GApplication.html" title="GApplication"><span class="type">GApplication</span></a> *application,
|
2586
|
-
<a href="../glib
|
2584
|
+
<a href="../glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
2587
2585
|
<p>The ::startup signal is emitted on the primary instance immediately
|
2588
2586
|
after registration. See <a class="link" href="GApplication.html#g-application-register" title="g_application_register ()"><code class="function">g_application_register()</code></a>.</p>
|
2589
2587
|
<div class="refsect3">
|
2590
|
-
<a name="
|
2588
|
+
<a name="GApplication-startup.parameters"></a><h4>Parameters</h4>
|
2591
2589
|
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
2592
2590
|
<colgroup>
|
2593
2591
|
<col width="150px" class="parameters_name">
|
@@ -2608,11 +2606,11 @@ after registration. See <a class="link" href="GApplication.html#g-application-re
|
|
2608
2606
|
</tbody>
|
2609
2607
|
</table></div>
|
2610
2608
|
</div>
|
2611
|
-
<p>Flags: <a href="../gobject
|
2609
|
+
<p>Flags: <a href="../gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
2612
2610
|
</div>
|
2613
2611
|
</div>
|
2614
2612
|
</div>
|
2615
2613
|
<div class="footer">
|
2616
|
-
<hr>Generated by GTK-Doc V1.
|
2614
|
+
<hr>Generated by GTK-Doc V1.25.1</div>
|
2617
2615
|
</body>
|
2618
2616
|
</html>
|